From cfe5d0fea9e2a371927f297433adc4820cee4912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AE=9D=E8=BF=AA?= Date: Tue, 24 Dec 2024 15:20:55 +0800 Subject: [PATCH] Menu cases 12-24 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈宝迪 --- .../uicompare/entry/build-profile.json5 | 3 +- .../main/resources/base/element/string.json | 8 + .../src/main/resources/dark/element/dark.json | 8 + .../src/ohosTest/ets/test/Ability.test.ets | 30 +- .../AnalyseUIComponentUIContext.test.ets | 61 + ...ionSpecialComponentsMenuInterface.test.ets | 262 ++ .../entry/src/ohosTest/ets/test/Demo.test.ets | 95 + .../entry/src/ohosTest/ets/test/List.test.ets | 126 +- .../UIComponentButtonCommonButton.test.ets | 117 +- .../UIComponentButtonSliderAction.test.ets | 95 + .../UIComponentButtonSliderLayout.test.ets | 57 + .../UIComponentButtonSliderRange.test.ets | 1208 ++++++ ...tButtonSliderSelectedborderradius.test.ets | 173 + .../UIComponentButtonSliderShun.test.ets | 213 + ...ButtonSliderSliderInteractionMode.test.ets | 465 +++ ...UIComponentButtonSliderTrackcolor.test.ets | 403 ++ .../UIComponentButtonSliderUx.test.ets | 200 + .../UIComponentButtonStyle.test.ets | 241 +- .../UIComponentMediaImageFocusable.test.ets | 64 + .../UIComponentOtherPanelAnalysis.test.ets | 60 + .../UIComponentOtherPanelInteraction.test.ets | 163 + .../UIComponentOtherPanelInterface.test.ets | 804 ++++ .../UIComponentPopupboxBindMenu.test.ets | 163 + ...ComponentPopupboxConsistencyScene.test.ets | 181 + .../UIComponentPopupboxMenuAnalysis.test.ets | 124 + ...boxMenuBindContextMenuIsShownTest.test.ets | 456 +++ ...ponentPopupboxMenuBindContextMenu.test.ets | 455 +++ .../UIComponentPopupboxMenuCorner.test.ets | 1149 ++++++ .../UIComponentPopupboxMenuDirect.test.ets | 619 +++ ...IComponentPopupboxMenuEnhancement.test.ets | 284 ++ .../UIComponentPopupboxMenuHmsymbol.test.ets | 1204 ++++++ .../UIComponentPopupboxMenuInterface.test.ets | 535 +++ .../UIComponentPopupboxMenuLocation.test.ets | 159 + .../UIComponentPopupboxMenuPcheight.test.ets | 150 + .../UIComponentPopupboxMenuScenarios.test.ets | 3532 +++++++++++++++++ ...onentPopupboxMenuSegmentedDisplay.test.ets | 145 + ...onentPopupboxMenuStyleEnhancement.test.ets | 2477 ++++++++++++ .../UIComponentPopupboxMenuTouch.test.ets | 661 +++ ...omponentPopupboxMenuUxconsistency.test.ets | 503 +++ ...boxMenuWidthAndPlacementConformux.test.ets | 1932 +++++++++ ...onentPopupboxSpecificationsShadow.test.ets | 468 +++ ...nentPopupwantUIExtensionComponent.test.ets | 183 + .../UIComponentSliderSliderInterface.test.ets | 71 + ...lComponentsEmbeddComponentMinsize.test.ets | 377 ++ ...ntsEmbeddComponentRestrictnesTing.test.ets | 171 + ...tSpecialComponentsEmbeddComponent.test.ets | 61 + ...nsionComponentAccessibilityReport.test.ets | 101 + ...entsUIExtensionComponentInterface.test.ets | 128 + ...UIExtensionComponentStyleLanguage.test.ets | 61 + ...sUIextensionComponentUinformFocus.test.ets | 231 ++ ...mponentsUIextensionComponentWheel.test.ets | 60 + .../UIComponentUISupportColor.test.ets | 466 ++- ...entsUIExtensionComponentAvoidArea.test.ets | 190 + ...entsUIExtensionComponentSubwindow.test.ets | 135 + ...ponentsUiExtensionComponentAbexit.test.ets | 100 + .../src/ohosTest/ets/test/model/Settings.ets | 12 +- .../ohosTest/ets/testability/TestAbility.ets | 28 +- .../AnalyseUIComponentUIContext0010.ets | 45 + ...ionAnalyseUIComponentUIContextPage0010.ets | 32 + ...tionSpecialComponentsMenuInterface0010.ets | 49 + ...tionSpecialComponentsMenuInterface0020.ets | 41 + ...tionSpecialComponentsMenuInterface0030.ets | 41 + ...tionSpecialComponentsMenuInterface0040.ets | 41 + ...tionSpecialComponentsMenuInterface0060.ets | 41 + ...tionSpecialComponentsMenuInterface0080.ets | 42 + ...tionSpecialComponentsMenuInterface0090.ets | 42 + ...tionSpecialComponentsMenuInterface0120.ets | 48 + ...tionSpecialComponentsMenuInterface0130.ets | 52 + ...nalyseUIComponentUIContextProvider0010.ets | 48 + ...mponentAccessibilityReportProvider0080.ets | 47 + ...mponentAccessibilityReportProvider0090.ets | 47 + ...xtensionComponentAvoidAreaProvider0040.ets | 47 + ...sionComponentStyleLanguageProvider0210.ets | 48 + .../UIComponentButtonCommonButton0420.ets | 48 + .../UIComponentButtonCommonButton0430.ets | 48 + .../UIComponentButtonCommonButton0440.ets | 48 + .../UIComponentButtonCommonButton0450.ets | 48 + .../UIComponentButtonSliderAction0010.ets | 37 + .../UIComponentButtonSliderAction0020.ets | 48 + .../UIComponentButtonSliderAction0030.ets | 31 + .../UIComponentButtonSliderLayout0020.ets | 32 + .../UIComponentButtonSliderRange0020.ets | 35 + .../UIComponentButtonSliderRange0030.ets | 35 + .../UIComponentButtonSliderRange0050.ets | 35 + .../UIComponentButtonSliderRange0060.ets | 35 + .../UIComponentButtonSliderRange0070.ets | 35 + .../UIComponentButtonSliderRange0080.ets | 35 + .../UIComponentButtonSliderRange0090.ets | 34 + .../UIComponentButtonSliderRange0100.ets | 35 + .../UIComponentButtonSliderRange0110.ets | 35 + .../UIComponentButtonSliderRange0120.ets | 35 + .../UIComponentButtonSliderRange0130.ets | 35 + .../UIComponentButtonSliderRange0140.ets | 35 + .../UIComponentButtonSliderRange0150.ets | 35 + .../UIComponentButtonSliderRange0160.ets | 35 + .../UIComponentButtonSliderRange0170.ets | 35 + .../UIComponentButtonSliderRange0180.ets | 35 + .../UIComponentButtonSliderRange0190.ets | 35 + .../UIComponentButtonSliderRange0200.ets | 32 + .../UIComponentButtonSliderRange0210.ets | 43 + .../UIComponentButtonSliderRange0220.ets | 36 + .../UIComponentButtonSliderRange0230.ets | 37 + .../UIComponentButtonSliderRange0240.ets | 48 + .../UIComponentButtonSliderRange0250.ets | 37 + .../UIComponentButtonSliderRange0260.ets | 47 + .../UIComponentButtonSliderRange0280.ets | 36 + .../UIComponentButtonSliderRange0290.ets | 51 + ...ntButtonSliderSelectedborderradius0010.ets | 44 + ...ntButtonSliderSelectedborderradius0020.ets | 54 + ...ntButtonSliderSelectedborderradius0030.ets | 52 + ...ntButtonSliderSelectedborderradius0170.ets | 41 + ...ntButtonSliderSelectedborderradius0200.ets | 54 + ...ntButtonSliderSelectedborderradius0210.ets | 54 + .../UIComponentButtonSliderShun0120.ets | 46 + .../UIComponentButtonSliderShun0130.ets | 59 + .../UIComponentButtonSliderShun0190.ets | 59 + .../UIComponentButtonSliderShun0200.ets | 41 + ...tButtonSliderSliderInteractionMode0010.ets | 35 + ...tButtonSliderSliderInteractionMode0020.ets | 36 + ...tButtonSliderSliderInteractionMode0030.ets | 35 + ...tButtonSliderSliderInteractionMode0040.ets | 41 + ...tButtonSliderSliderInteractionMode0050.ets | 34 + ...tButtonSliderSliderInteractionMode0060.ets | 36 + ...tButtonSliderSliderInteractionMode0080.ets | 36 + ...tButtonSliderSliderInteractionMode0090.ets | 36 + ...tButtonSliderSliderInteractionMode0100.ets | 36 + ...tButtonSliderSliderInteractionMode0110.ets | 36 + ...tButtonSliderSliderInteractionMode0120.ets | 36 + ...tButtonSliderSliderInteractionMode0130.ets | 36 + ...tButtonSliderSliderInteractionMode0150.ets | 36 + ...tButtonSliderSliderInteractionMode0170.ets | 51 + .../UIComponentButtonSliderTrackcolor0010.ets | 32 + .../UIComponentButtonSliderTrackcolor0030.ets | 48 + .../UIComponentButtonSliderTrackcolor0040.ets | 52 + .../UIComponentButtonSliderTrackcolor0050.ets | 42 + .../UIComponentButtonSliderTrackcolor0060.ets | 40 + .../UIComponentButtonSliderTrackcolor0070.ets | 41 + .../UIComponentButtonSliderTrackcolor0080.ets | 40 + .../UIComponentButtonSliderTrackcolor0090.ets | 41 + .../UIComponentButtonSliderTrackcolor0100.ets | 52 + .../UIComponentButtonSliderTrackcolor0110.ets | 41 + .../UIComponentButtonSliderTrackcolor0120.ets | 33 + .../UIComponentButtonSliderTrackcolor0130.ets | 45 + .../UIComponentButtonSliderTrackcolor0140.ets | 45 + .../UIComponentButtonSliderTrackcolor0150.ets | 45 + .../UIComponentButtonSliderTrackcolor0160.ets | 45 + .../UIComponentButtonSliderTrackcolor0170.ets | 36 + .../UIComponentButtonSliderTrackcolor0180.ets | 35 + .../UIComponentButtonSliderTrackcolor0190.ets | 35 + .../UIComponentButtonSliderTrackcolor0200.ets | 36 + .../UIComponentButtonSliderTrackcolor0220.ets | 44 + .../UIComponentButtonSliderTrackcolor0230.ets | 42 + .../UIComponentButtonSliderUx0010.ets | 23 + .../UIComponentButtonSliderUx0020.ets | 24 + .../UIComponentButtonSliderUx0030.ets | 23 + .../UIComponentButtonSliderUx0040.ets | 23 + .../UIComponentButtonSliderUx0050.ets | 23 + .../UIComponentButtonSliderUx0060.ets | 23 + .../UIComponentButtonSliderUx0070.ets | 21 + .../UIComponentButtonSliderUx0080.ets | 24 + .../UIComponentButtonStyle0230.ets | 48 + .../UIComponentButtonStyle0240.ets | 52 + .../UIComponentButtonStyle0250.ets | 56 + .../UIComponentButtonStyle0260.ets | 52 + .../UIComponentButtonStyle0270.ets | 52 + .../UIComponentButtonStyle0290.ets | 53 + .../UIComponentButtonStyle0300.ets | 53 + .../UIComponentButtonStyle0310.ets | 52 + .../UIComponentButtonStyle0320.ets | 52 + .../UIComponentButtonStyle0330.ets | 52 + .../UIComponentButtonStyle0340.ets | 52 + .../UIComponentButtonStyle0350.ets | 50 + .../UIComponentButtonStyle0360.ets | 52 + .../UIComponentMediaImageFocusable0012.ets | 58 + .../UIComponentOtherPanelAnalysis0010.ets | 37 + .../UIComponentOtherPanelInteraction0010.ets | 56 + .../UIComponentOtherPanelInteraction0020.ets | 46 + .../UIComponentOtherPanelInteraction0030.ets | 46 + .../UIComponentOtherPanelInterface0010.ets | 39 + .../UIComponentOtherPanelInterface0020.ets | 37 + .../UIComponentOtherPanelInterface0030.ets | 37 + .../UIComponentOtherPanelInterface0040.ets | 37 + .../UIComponentOtherPanelInterface0050.ets | 37 + .../UIComponentOtherPanelInterface0060.ets | 37 + .../UIComponentOtherPanelInterface0070.ets | 44 + .../UIComponentOtherPanelInterface0080.ets | 38 + .../UIComponentOtherPanelInterface0090.ets | 44 + .../UIComponentOtherPanelInterface0100.ets | 38 + .../UIComponentOtherPanelInterface0110.ets | 40 + .../UIComponentOtherPanelInterface0120.ets | 39 + .../UIComponentOtherPanelInterface0130.ets | 40 + .../UIComponentOtherPanelInterface0140.ets | 39 + .../UIComponentOtherPanelInterface0150.ets | 39 + .../UIComponentOtherPanelInterface0160.ets | 40 + .../UIComponentOtherPanelInterface0170.ets | 40 + .../UIComponentOtherPanelInterface0180.ets | 39 + .../UIComponentOtherPanelInterface0190.ets | 40 + .../UIComponentOtherPanelInterface0200.ets | 40 + .../UIComponentOtherPanelInterface0210.ets | 40 + .../UIComponentOtherPanelInterface0220.ets | 38 + .../UIComponentOtherPanelInterface0230.ets | 40 + .../UIComponentOtherPanelInterface0240.ets | 39 + .../UIComponentOtherPanelInterface0250.ets | 40 + .../UIComponentOtherPanelInterface0260.ets | 39 + .../UIComponentOtherPanelInterface0270.ets | 40 + .../UIComponentOtherPanelInterface0280.ets | 36 + .../UIComponentOtherPanelInterface0290.ets | 36 + .../UIComponentOtherPanelInterface0300.ets | 39 + .../UIComponentOtherPanelInterface0310.ets | 38 + .../UIComponentOtherPanelInterface0320.ets | 38 + .../UIComponentOtherPanelInterface0330.ets | 39 + .../UIComponentOtherPanelInterface0340.ets | 38 + .../UIComponentOtherPanelInterface0350.ets | 39 + .../UIComponentOtherPanelInterface0360.ets | 39 + .../UIComponentOtherPanelInterface0370.ets | 38 + .../UIComponentOtherPanelInterface0380.ets | 38 + .../UIComponentOtherPanelInterface0390.ets | 39 + .../UIComponentOtherPanelInterface0400.ets | 39 + .../EmbeddedAbility0030.ets | 31 + .../EmbeddedAbility0040.ets | 31 + .../EmbeddedPage0030.ets | 33 + .../EmbeddedPage0040.ets | 34 + .../UIComponentPopupboxBindMenu0010.ets | 50 + .../UIComponentPopupboxBindMenu0020.ets | 50 + .../UIComponentPopupboxBindMenu0030.ets | 46 + .../UIComponentPopupboxBindMenu0040.ets | 46 + ...IComponentPopupboxConsistencyScene0010.ets | 61 + ...IComponentPopupboxConsistencyScene0050.ets | 77 + ...IComponentPopupboxConsistencyScene0060.ets | 61 + ...IComponentPopupboxConsistencyScene0080.ets | 55 + .../UIComponentPopupboxMenuAnalysis0020.ets | 45 + .../UIComponentPopupboxMenuAnalysis0040.ets | 66 + ...mponentPopupboxMenuBindContextMenu0010.ets | 42 + ...mponentPopupboxMenuBindContextMenu0020.ets | 50 + ...mponentPopupboxMenuBindContextMenu0030.ets | 53 + ...mponentPopupboxMenuBindContextMenu0570.ets | 46 + ...mponentPopupboxMenuBindContextMenu0580.ets | 40 + ...mponentPopupboxMenuBindContextMenu0590.ets | 50 + ...mponentPopupboxMenuBindContextMenu0600.ets | 57 + ...mponentPopupboxMenuBindContextMenu0660.ets | 46 + ...mponentPopupboxMenuBindContextMenu0670.ets | 46 + ...mponentPopupboxMenuBindContextMenu0680.ets | 46 + ...mponentPopupboxMenuBindContextMenu0690.ets | 46 + ...mponentPopupboxMenuBindContextMenu0700.ets | 43 + ...mponentPopupboxMenuBindContextMenu0710.ets | 46 + ...mponentPopupboxMenuBindContextMenu0720.ets | 45 + ...mponentPopupboxMenuBindContextMenu0730.ets | 43 + ...PopupboxMenuBindContextMenuIsShown0030.ets | 50 + ...PopupboxMenuBindContextMenuIsShown0040.ets | 75 + ...PopupboxMenuBindContextMenuIsShown0050.ets | 51 + ...PopupboxMenuBindContextMenuIsShown0080.ets | 53 + ...PopupboxMenuBindContextMenuIsShown0090.ets | 34 + ...PopupboxMenuBindContextMenuIsShown0100.ets | 52 + ...PopupboxMenuBindContextMenuIsShown0110.ets | 52 + ...PopupboxMenuBindContextMenuIsShown0120.ets | 52 + ...PopupboxMenuBindContextMenuIsShown0130.ets | 51 + ...PopupboxMenuBindContextMenuIsShown0140.ets | 52 + ...PopupboxMenuBindContextMenuIsShown0150.ets | 52 + ...PopupboxMenuBindContextMenuIsShown0160.ets | 60 + ...PopupboxMenuBindContextMenuIsShown0170.ets | 52 + ...PopupboxMenuBindContextMenuIsShown0180.ets | 52 + .../UIComponentPopupboxMenuCorner0010.ets | 48 + .../UIComponentPopupboxMenuCorner0020.ets | 42 + .../UIComponentPopupboxMenuCorner0030.ets | 42 + .../UIComponentPopupboxMenuCorner0040.ets | 42 + .../UIComponentPopupboxMenuCorner0050.ets | 42 + .../UIComponentPopupboxMenuCorner0060.ets | 69 + .../UIComponentPopupboxMenuCorner0070.ets | 56 + .../UIComponentPopupboxMenuCorner0080.ets | 42 + .../UIComponentPopupboxMenuCorner0090.ets | 58 + .../UIComponentPopupboxMenuCorner0100.ets | 43 + .../UIComponentPopupboxMenuCorner0110.ets | 43 + .../UIComponentPopupboxMenuCorner0120.ets | 42 + .../UIComponentPopupboxMenuCorner0130.ets | 50 + .../UIComponentPopupboxMenuCorner0140.ets | 42 + .../UIComponentPopupboxMenuCorner0150.ets | 43 + .../UIComponentPopupboxMenuCorner0160.ets | 42 + .../UIComponentPopupboxMenuCorner0170.ets | 42 + .../UIComponentPopupboxMenuCorner0180.ets | 43 + .../UIComponentPopupboxMenuCorner0190.ets | 42 + .../UIComponentPopupboxMenuCorner0200.ets | 43 + .../UIComponentPopupboxMenuCorner0210.ets | 42 + .../UIComponentPopupboxMenuCorner0220.ets | 42 + .../UIComponentPopupboxMenuCorner0230.ets | 44 + .../UIComponentPopupboxMenuCorner0240.ets | 48 + .../UIComponentPopupboxMenuCorner0250.ets | 48 + .../UIComponentPopupboxMenuCorner0260.ets | 42 + .../UIComponentPopupboxMenuCorner0270.ets | 42 + .../UIComponentPopupboxMenuCorner0280.ets | 48 + .../UIComponentPopupboxMenuCorner0290.ets | 69 + .../UIComponentPopupboxMenuCorner0300.ets | 57 + .../UIComponentPopupboxMenuCorner0310.ets | 42 + .../UIComponentPopupboxMenuCorner0320.ets | 60 + .../UIComponentPopupboxMenuCorner0330.ets | 43 + .../UIComponentPopupboxMenuCorner0340.ets | 43 + .../UIComponentPopupboxMenuCorner0350.ets | 42 + .../UIComponentPopupboxMenuCorner0360.ets | 48 + .../UIComponentPopupboxMenuCorner0370.ets | 42 + .../UIComponentPopupboxMenuCorner0380.ets | 42 + .../UIComponentPopupboxMenuCorner0390.ets | 42 + .../UIComponentPopupboxMenuCorner0400.ets | 42 + .../UIComponentPopupboxMenuCorner0410.ets | 42 + .../UIComponentPopupboxMenuCorner0420.ets | 43 + .../UIComponentPopupboxMenuCorner0430.ets | 42 + .../UIComponentPopupboxMenuCorner0440.ets | 42 + .../UIComponentPopupboxMenuCorner0450.ets | 42 + .../UIComponentPopupboxMenuCorner0460.ets | 44 + .../UIComponentPopupboxMenuDirect0010.ets | 43 + .../UIComponentPopupboxMenuDirect0030.ets | 43 + .../UIComponentPopupboxMenuDirect0040.ets | 43 + .../UIComponentPopupboxMenuDirect0050.ets | 43 + .../UIComponentPopupboxMenuDirect0060.ets | 43 + .../UIComponentPopupboxMenuDirect0070.ets | 43 + .../UIComponentPopupboxMenuDirect0080.ets | 43 + .../UIComponentPopupboxMenuDirect0090.ets | 43 + .../UIComponentPopupboxMenuDirect0100.ets | 43 + .../UIComponentPopupboxMenuDirect0110.ets | 43 + .../UIComponentPopupboxMenuDirect0120.ets | 41 + .../UIComponentPopupboxMenuDirect0140.ets | 42 + .../UIComponentPopupboxMenuDirect0150.ets | 43 + .../UIComponentPopupboxMenuDirect0160.ets | 43 + .../UIComponentPopupboxMenuDirect0170.ets | 43 + .../UIComponentPopupboxMenuDirect0180.ets | 44 + .../UIComponentPopupboxMenuDirect0190.ets | 43 + .../UIComponentPopupboxMenuDirect0200.ets | 43 + .../UIComponentPopupboxMenuDirect0210.ets | 43 + .../UIComponentPopupboxMenuDirect0220.ets | 44 + .../UIComponentPopupboxMenuDirect0230.ets | 43 + .../UIComponentPopupboxMenuDirect0240.ets | 43 + .../UIComponentPopupboxMenuDirect0250.ets | 43 + .../UIComponentPopupboxMenuDirect0260.ets | 43 + .../UIComponentPopupboxMenuDirect0270.ets | 43 + .../UIComponentPopupboxMenuEnhancement001.ets | 54 + ...UIComponentPopupboxMenuEnhancement0020.ets | 67 + ...UIComponentPopupboxMenuEnhancement0030.ets | 68 + ...UIComponentPopupboxMenuEnhancement0040.ets | 49 + ...UIComponentPopupboxMenuEnhancement0050.ets | 50 + ...UIComponentPopupboxMenuEnhancement0060.ets | 50 + ...UIComponentPopupboxMenuEnhancement0070.ets | 68 + .../UIComponentPopupboxMenuEnhancement008.ets | 173 + .../UIComponentPopupboxMenuEnhancement009.ets | 46 + .../UIComponentPopupboxMenuEnhancement010.ets | 46 + .../UIComponentPopupboxMenuEnhancement017.ets | 68 + .../UIComponentPopupboxMenuHmsymbol0010.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0020.ets | 42 + .../UIComponentPopupboxMenuHmsymbol0030.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0040.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0050.ets | 42 + .../UIComponentPopupboxMenuHmsymbol0060.ets | 43 + .../UIComponentPopupboxMenuHmsymbol0070.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0080.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0090.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0100.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0110.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0120.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0130.ets | 46 + .../UIComponentPopupboxMenuHmsymbol0140.ets | 47 + .../UIComponentPopupboxMenuHmsymbol0150.ets | 45 + .../UIComponentPopupboxMenuHmsymbol0160.ets | 48 + .../UIComponentPopupboxMenuHmsymbol0190.ets | 46 + .../UIComponentPopupboxMenuHmsymbol0200.ets | 47 + .../UIComponentPopupboxMenuHmsymbol0210.ets | 42 + .../UIComponentPopupboxMenuHmsymbol0220.ets | 43 + .../UIComponentPopupboxMenuHmsymbol0240.ets | 42 + .../UIComponentPopupboxMenuHmsymbol0250.ets | 43 + .../UIComponentPopupboxMenuHmsymbol0260.ets | 43 + .../UIComponentPopupboxMenuHmsymbol0270.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0280.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0310.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0320.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0330.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0340.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0350.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0360.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0390.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0400.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0410.ets | 64 + .../UIComponentPopupboxMenuHmsymbol0420.ets | 59 + .../UIComponentPopupboxMenuHmsymbol0430.ets | 62 + .../UIComponentPopupboxMenuHmsymbol0440.ets | 64 + .../UIComponentPopupboxMenuHmsymbol0450.ets | 62 + .../UIComponentPopupboxMenuHmsymbol0460.ets | 64 + .../UIComponentPopupboxMenuHmsymbol0470.ets | 44 + .../UIComponentPopupboxMenuHmsymbol0480.ets | 57 + .../UIComponentPopupboxMenuHmsymbol0490.ets | 46 + .../UIComponentPopupboxMenuHmsymbol0500.ets | 51 + .../UIComponentPopupboxMenuHmsymbol0510.ets | 58 + .../UIComponentPopupboxMenuHmsymbol0520.ets | 59 + .../UIComponentPopupboxMenuHmsymbol0530.ets | 68 + .../UIComponentPopupboxMenuHmsymbol0540.ets | 54 + .../UIComponentPopupboxMenuInterface0010.ets | 48 + .../UIComponentPopupboxMenuInterface0020.ets | 42 + .../UIComponentPopupboxMenuInterface0030.ets | 46 + .../UIComponentPopupboxMenuInterface0040.ets | 59 + .../UIComponentPopupboxMenuInterface0060.ets | 43 + .../UIComponentPopupboxMenuInterface0070.ets | 44 + .../UIComponentPopupboxMenuInterface0080.ets | 43 + .../UIComponentPopupboxMenuInterface0100.ets | 49 + .../UIComponentPopupboxMenuInterface0110.ets | 47 + .../UIComponentPopupboxMenuInterface0120.ets | 42 + .../UIComponentPopupboxMenuInterface0130.ets | 42 + .../UIComponentPopupboxMenuInterface0140.ets | 43 + .../UIComponentPopupboxMenuInterface0150.ets | 42 + .../UIComponentPopupboxMenuInterface0170.ets | 43 + .../UIComponentPopupboxMenuInterface0180.ets | 42 + .../UIComponentPopupboxMenuInterface0190.ets | 45 + .../UIComponentPopupboxMenuInterface0200.ets | 42 + .../UIComponentPopupboxMenuInterface0210.ets | 42 + .../UIComponentPopupboxMenuInterface0220.ets | 43 + .../UIComponentPopupboxMenuInterface0230.ets | 43 + .../UIComponentPopupboxMenuInterface0240.ets | 42 + .../UIComponentPopupboxMenuInterface0250.ets | 43 + .../UIComponentPopupboxMenuInterface0260.ets | 43 + .../UIComponentPopupboxMenuInterface0270.ets | 43 + .../UIComponentPopupboxMenuInterface0280.ets | 43 + .../UIComponentPopupboxMenuInterface0290.ets | 42 + .../UIComponentPopupboxMenuLocation0160.ets | 99 + .../UIComponentPopupboxMenuLocation0190.ets | 99 + .../UIComponentPopupboxMenuPcheight0010.ets | 135 + .../UIComponentPopupboxMenuPcheight0020.ets | 54 + .../UIComponentPopupboxMenuPcheight0070.ets | 175 + .../UIComponentPopupboxMenuPcheight0080.ets | 69 + .../UIComponentPopupboxMenuPcheight0220.ets | 55 + .../UIComponentPopupboxMenuScenarios0370.ets | 41 + .../UIComponentPopupboxMenuScenarios0380.ets | 49 + .../UIComponentPopupboxMenuScenarios0390.ets | 49 + .../UIComponentPopupboxMenuScenarios0400.ets | 50 + .../UIComponentPopupboxMenuScenarios0410.ets | 49 + .../UIComponentPopupboxMenuScenarios0420.ets | 48 + .../UIComponentPopupboxMenuScenarios0430.ets | 49 + .../UIComponentPopupboxMenuScenarios0440.ets | 53 + .../UIComponentPopupboxMenuScenarios0450.ets | 48 + .../UIComponentPopupboxMenuScenarios0460.ets | 49 + .../UIComponentPopupboxMenuScenarios0470.ets | 49 + .../UIComponentPopupboxMenuScenarios0480.ets | 49 + .../UIComponentPopupboxMenuScenarios0490.ets | 49 + .../UIComponentPopupboxMenuScenarios0500.ets | 48 + .../UIComponentPopupboxMenuScenarios0510.ets | 49 + .../UIComponentPopupboxMenuScenarios0520.ets | 49 + .../UIComponentPopupboxMenuScenarios0530.ets | 48 + .../UIComponentPopupboxMenuScenarios0540.ets | 49 + .../UIComponentPopupboxMenuScenarios0550.ets | 49 + .../UIComponentPopupboxMenuScenarios0560.ets | 48 + .../UIComponentPopupboxMenuScenarios0570.ets | 48 + .../UIComponentPopupboxMenuScenarios0580.ets | 48 + .../UIComponentPopupboxMenuScenarios0590.ets | 48 + .../UIComponentPopupboxMenuScenarios0600.ets | 49 + .../UIComponentPopupboxMenuScenarios0610.ets | 48 + .../UIComponentPopupboxMenuScenarios0620.ets | 48 + .../UIComponentPopupboxMenuScenarios0630.ets | 47 + .../UIComponentPopupboxMenuScenarios0640.ets | 48 + .../UIComponentPopupboxMenuScenarios0650.ets | 48 + .../UIComponentPopupboxMenuScenarios0660.ets | 48 + .../UIComponentPopupboxMenuScenarios0670.ets | 48 + .../UIComponentPopupboxMenuScenarios0680.ets | 48 + .../UIComponentPopupboxMenuScenarios0690.ets | 48 + .../UIComponentPopupboxMenuScenarios0700.ets | 48 + .../UIComponentPopupboxMenuScenarios0710.ets | 47 + .../UIComponentPopupboxMenuScenarios0720.ets | 47 + .../UIComponentPopupboxMenuScenarios0730.ets | 47 + .../UIComponentPopupboxMenuScenarios0740.ets | 48 + .../UIComponentPopupboxMenuScenarios0750.ets | 47 + .../UIComponentPopupboxMenuScenarios0760.ets | 48 + .../UIComponentPopupboxMenuScenarios0770.ets | 48 + .../UIComponentPopupboxMenuScenarios0780.ets | 48 + .../UIComponentPopupboxMenuScenarios0790.ets | 48 + .../UIComponentPopupboxMenuScenarios0800.ets | 48 + .../UIComponentPopupboxMenuScenarios0810.ets | 47 + .../UIComponentPopupboxMenuScenarios0820.ets | 48 + .../UIComponentPopupboxMenuScenarios0830.ets | 48 + .../UIComponentPopupboxMenuScenarios0840.ets | 47 + .../UIComponentPopupboxMenuScenarios0850.ets | 48 + .../UIComponentPopupboxMenuScenarios0860.ets | 47 + .../UIComponentPopupboxMenuScenarios0870.ets | 48 + .../UIComponentPopupboxMenuScenarios0880.ets | 48 + .../UIComponentPopupboxMenuScenarios0890.ets | 48 + .../UIComponentPopupboxMenuScenarios0900.ets | 48 + .../UIComponentPopupboxMenuScenarios0910.ets | 48 + .../UIComponentPopupboxMenuScenarios0920.ets | 47 + .../UIComponentPopupboxMenuScenarios0930.ets | 47 + .../UIComponentPopupboxMenuScenarios0940.ets | 48 + .../UIComponentPopupboxMenuScenarios0950.ets | 48 + .../UIComponentPopupboxMenuScenarios0960.ets | 48 + .../UIComponentPopupboxMenuScenarios0970.ets | 47 + .../UIComponentPopupboxMenuScenarios0980.ets | 48 + .../UIComponentPopupboxMenuScenarios0990.ets | 48 + .../UIComponentPopupboxMenuScenarios1000.ets | 48 + .../UIComponentPopupboxMenuScenarios1010.ets | 48 + .../UIComponentPopupboxMenuScenarios1020.ets | 47 + .../UIComponentPopupboxMenuScenarios1030.ets | 49 + .../UIComponentPopupboxMenuScenarios1040.ets | 49 + .../UIComponentPopupboxMenuScenarios1050.ets | 48 + .../UIComponentPopupboxMenuScenarios1060.ets | 48 + .../UIComponentPopupboxMenuScenarios1070.ets | 48 + .../UIComponentPopupboxMenuScenarios1080.ets | 48 + .../UIComponentPopupboxMenuScenarios1090.ets | 48 + .../UIComponentPopupboxMenuScenarios1100.ets | 48 + .../UIComponentPopupboxMenuScenarios1110.ets | 48 + .../UIComponentPopupboxMenuScenarios1120.ets | 48 + .../UIComponentPopupboxMenuScenarios1130.ets | 48 + .../UIComponentPopupboxMenuScenarios1140.ets | 49 + .../UIComponentPopupboxMenuScenarios1150.ets | 48 + .../UIComponentPopupboxMenuScenarios1160.ets | 48 + .../UIComponentPopupboxMenuScenarios1170.ets | 48 + .../UIComponentPopupboxMenuScenarios1180.ets | 50 + .../UIComponentPopupboxMenuScenarios1190.ets | 49 + .../UIComponentPopupboxMenuScenarios1200.ets | 48 + .../UIComponentPopupboxMenuScenarios1210.ets | 48 + .../UIComponentPopupboxMenuScenarios1220.ets | 48 + .../UIComponentPopupboxMenuScenarios1230.ets | 48 + .../UIComponentPopupboxMenuScenarios1240.ets | 48 + .../UIComponentPopupboxMenuScenarios1250.ets | 48 + .../UIComponentPopupboxMenuScenarios1260.ets | 48 + .../UIComponentPopupboxMenuScenarios1270.ets | 49 + .../UIComponentPopupboxMenuScenarios1280.ets | 49 + .../UIComponentPopupboxMenuScenarios1290.ets | 49 + .../UIComponentPopupboxMenuScenarios1300.ets | 47 + .../UIComponentPopupboxMenuScenarios1310.ets | 49 + .../UIComponentPopupboxMenuScenarios1320.ets | 49 + .../UIComponentPopupboxMenuScenarios1330.ets | 49 + .../UIComponentPopupboxMenuScenarios1340.ets | 49 + .../UIComponentPopupboxMenuScenarios1350.ets | 49 + .../UIComponentPopupboxMenuScenarios1360.ets | 49 + .../UIComponentPopupboxMenuScenarios1370.ets | 49 + .../UIComponentPopupboxMenuScenarios1380.ets | 50 + .../UIComponentPopupboxMenuScenarios1390.ets | 50 + .../UIComponentPopupboxMenuScenarios1400.ets | 47 + .../UIComponentPopupboxMenuScenarios1410.ets | 49 + .../UIComponentPopupboxMenuScenarios1420.ets | 49 + .../UIComponentPopupboxMenuScenarios1430.ets | 49 + .../UIComponentPopupboxMenuScenarios1440.ets | 49 + .../UIComponentPopupboxMenuScenarios1450.ets | 47 + .../UIComponentPopupboxMenuScenarios1460.ets | 48 + .../UIComponentPopupboxMenuScenarios1470.ets | 47 + .../UIComponentPopupboxMenuScenarios1480.ets | 48 + .../UIComponentPopupboxMenuScenarios1490.ets | 45 + .../UIComponentPopupboxMenuScenarios1500.ets | 45 + .../UIComponentPopupboxMenuScenarios1540.ets | 29 + .../UIComponentPopupboxMenuScenarios1550.ets | 46 + .../UIComponentPopupboxMenuScenarios1560.ets | 47 + .../UIComponentPopupboxMenuScenarios1570.ets | 46 + .../UIComponentPopupboxMenuScenarios1580.ets | 47 + .../UIComponentPopupboxMenuScenarios1590.ets | 47 + .../UIComponentPopupboxMenuScenarios1600.ets | 47 + .../UIComponentPopupboxMenuScenarios1610.ets | 48 + .../UIComponentPopupboxMenuScenarios1620.ets | 46 + .../UIComponentPopupboxMenuScenarios1630.ets | 46 + .../UIComponentPopupboxMenuScenarios1640.ets | 47 + .../UIComponentPopupboxMenuScenarios1650.ets | 49 + .../UIComponentPopupboxMenuScenarios1660.ets | 45 + .../UIComponentPopupboxMenuScenarios1670.ets | 46 + .../UIComponentPopupboxMenuScenarios1680.ets | 46 + .../UIComponentPopupboxMenuScenarios1690.ets | 46 + .../UIComponentPopupboxMenuScenarios1700.ets | 48 + .../UIComponentPopupboxMenuScenarios1710.ets | 48 + .../UIComponentPopupboxMenuScenarios1720.ets | 48 + .../UIComponentPopupboxMenuScenarios1730.ets | 48 + .../UIComponentPopupboxMenuScenarios1740.ets | 48 + .../UIComponentPopupboxMenuScenarios1750.ets | 48 + .../UIComponentPopupboxMenuScenarios1760.ets | 49 + .../UIComponentPopupboxMenuScenarios1770.ets | 48 + .../UIComponentPopupboxMenuScenarios1780.ets | 48 + .../UIComponentPopupboxMenuScenarios1790.ets | 49 + .../UIComponentPopupboxMenuScenarios1800.ets | 49 + .../UIComponentPopupboxMenuScenarios1810.ets | 48 + .../UIComponentPopupboxMenuScenarios1820.ets | 48 + .../UIComponentPopupboxMenuScenarios1830.ets | 48 + .../UIComponentPopupboxMenuScenarios1840.ets | 48 + .../UIComponentPopupboxMenuScenarios1850.ets | 48 + .../UIComponentPopupboxMenuScenarios1860.ets | 48 + .../UIComponentPopupboxMenuScenarios1870.ets | 48 + .../UIComponentPopupboxMenuScenarios1880.ets | 48 + .../UIComponentPopupboxMenuScenarios1890.ets | 48 + .../UIComponentPopupboxMenuScenarios1900.ets | 48 + .../UIComponentPopupboxMenuScenarios1910.ets | 49 + .../UIComponentPopupboxMenuScenarios1920.ets | 48 + ...ponentPopupboxMenuSegmentedDisplay0010.ets | 55 + ...ponentPopupboxMenuSegmentedDisplay0030.ets | 93 + ...ponentPopupboxMenuSegmentedDisplay0040.ets | 52 + ...ponentPopupboxMenuSegmentedDisplay0050.ets | 58 + ...ponentPopupboxMenuStyleEnhancement0060.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0080.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0090.ets | 47 + ...ponentPopupboxMenuStyleEnhancement0100.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0110.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0120.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0130.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0140.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0150.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0160.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0170.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0180.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0190.ets | 47 + ...ponentPopupboxMenuStyleEnhancement0200.ets | 48 + ...ponentPopupboxMenuStyleEnhancement0210.ets | 44 + ...ponentPopupboxMenuStyleEnhancement0220.ets | 46 + ...ponentPopupboxMenuStyleEnhancement0230.ets | 44 + ...ponentPopupboxMenuStyleEnhancement0240.ets | 58 + ...ponentPopupboxMenuStyleEnhancement0250.ets | 66 + ...ponentPopupboxMenuStyleEnhancement0260.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0270.ets | 65 + ...ponentPopupboxMenuStyleEnhancement0280.ets | 47 + ...ponentPopupboxMenuStyleEnhancement0290.ets | 59 + ...ponentPopupboxMenuStyleEnhancement0310.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0320.ets | 61 + ...ponentPopupboxMenuStyleEnhancement0330.ets | 35 + ...ponentPopupboxMenuStyleEnhancement0340.ets | 50 + ...ponentPopupboxMenuStyleEnhancement0350.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0360.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0370.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0380.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0390.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0400.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0410.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0420.ets | 46 + ...ponentPopupboxMenuStyleEnhancement0430.ets | 48 + ...ponentPopupboxMenuStyleEnhancement0440.ets | 59 + ...ponentPopupboxMenuStyleEnhancement0450.ets | 46 + ...ponentPopupboxMenuStyleEnhancement0460.ets | 61 + ...ponentPopupboxMenuStyleEnhancement0470.ets | 58 + ...ponentPopupboxMenuStyleEnhancement0480.ets | 66 + ...ponentPopupboxMenuStyleEnhancement0490.ets | 65 + ...ponentPopupboxMenuStyleEnhancement0500.ets | 81 + ...ponentPopupboxMenuStyleEnhancement0510.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0520.ets | 64 + ...ponentPopupboxMenuStyleEnhancement0540.ets | 94 + ...ponentPopupboxMenuStyleEnhancement0550.ets | 46 + ...ponentPopupboxMenuStyleEnhancement0560.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0570.ets | 79 + ...ponentPopupboxMenuStyleEnhancement0580.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0590.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0600.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0610.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0620.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0630.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0640.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0650.ets | 46 + ...ponentPopupboxMenuStyleEnhancement0660.ets | 48 + ...ponentPopupboxMenuStyleEnhancement0670.ets | 42 + ...ponentPopupboxMenuStyleEnhancement0680.ets | 45 + ...ponentPopupboxMenuStyleEnhancement0690.ets | 44 + ...ponentPopupboxMenuStyleEnhancement0700.ets | 58 + ...ponentPopupboxMenuStyleEnhancement0710.ets | 66 + ...ponentPopupboxMenuStyleEnhancement0720.ets | 66 + ...ponentPopupboxMenuStyleEnhancement0730.ets | 65 + ...ponentPopupboxMenuStyleEnhancement0740.ets | 78 + ...ponentPopupboxMenuStyleEnhancement0750.ets | 89 + ...ponentPopupboxMenuStyleEnhancement0770.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0780.ets | 46 + ...ponentPopupboxMenuStyleEnhancement0790.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0800.ets | 50 + ...ponentPopupboxMenuStyleEnhancement0810.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0820.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0830.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0840.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0850.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0860.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0870.ets | 49 + ...ponentPopupboxMenuStyleEnhancement0880.ets | 46 + ...ponentPopupboxMenuStyleEnhancement0890.ets | 48 + ...ponentPopupboxMenuStyleEnhancement0900.ets | 59 + ...ponentPopupboxMenuStyleEnhancement0910.ets | 46 + ...ponentPopupboxMenuStyleEnhancement0920.ets | 46 + ...ponentPopupboxMenuStyleEnhancement0930.ets | 54 + ...ponentPopupboxMenuStyleEnhancement0940.ets | 53 + ...ponentPopupboxMenuStyleEnhancement0950.ets | 52 + ...ponentPopupboxMenuStyleEnhancement0960.ets | 67 + ...ponentPopupboxMenuStyleEnhancement0970.ets | 67 + ...ponentPopupboxMenuStyleEnhancement0980.ets | 82 + ...ponentPopupboxMenuStyleEnhancement0990.ets | 52 + ...ponentPopupboxMenuStyleEnhancement1000.ets | 65 + ...ponentPopupboxMenuStyleEnhancement1030.ets | 53 + ...ponentPopupboxMenuStyleEnhancement1060.ets | 58 + .../UIComponentPopupboxMenuTouch0010.ets | 38 + .../UIComponentPopupboxMenuTouch0020.ets | 46 + .../UIComponentPopupboxMenuTouch0030.ets | 45 + .../UIComponentPopupboxMenuTouch0040.ets | 38 + .../UIComponentPopupboxMenuTouch0060.ets | 40 + .../UIComponentPopupboxMenuTouch0070.ets | 48 + .../UIComponentPopupboxMenuTouch0090.ets | 50 + .../UIComponentPopupboxMenuTouch0100.ets | 58 + .../UIComponentPopupboxMenuTouch0110.ets | 40 + .../UIComponentPopupboxMenuTouch0120.ets | 40 + .../UIComponentPopupboxMenuTouch0130.ets | 48 + .../UIComponentPopupboxMenuTouch0140.ets | 49 + .../UIComponentPopupboxMenuTouch0150.ets | 40 + .../UIComponentPopupboxMenuTouch0160.ets | 40 + .../UIComponentPopupboxMenuTouch0170.ets | 40 + .../UIComponentPopupboxMenuTouch0180.ets | 49 + .../UIComponentPopupboxMenuTouch0190.ets | 47 + ...ComponentPopupboxMenuUxconsistency0010.ets | 40 + ...ComponentPopupboxMenuUxconsistency0020.ets | 43 + ...ComponentPopupboxMenuUxconsistency0030.ets | 38 + ...ComponentPopupboxMenuUxconsistency0040.ets | 44 + ...ComponentPopupboxMenuUxconsistency0050.ets | 43 + ...ComponentPopupboxMenuUxconsistency0070.ets | 44 + ...ComponentPopupboxMenuUxconsistency0080.ets | 41 + ...ComponentPopupboxMenuUxconsistency0090.ets | 54 + ...ComponentPopupboxMenuUxconsistency0100.ets | 52 + ...ComponentPopupboxMenuUxconsistency0110.ets | 70 + ...ComponentPopupboxMenuUxconsistency0120.ets | 64 + ...ComponentPopupboxMenuUxconsistency0130.ets | 129 + ...ComponentPopupboxMenuUxconsistency0140.ets | 54 + ...ComponentPopupboxMenuUxconsistency0150.ets | 60 + ...ComponentPopupboxMenuUxconsistency0160.ets | 56 + ...ComponentPopupboxMenuUxconsistency0170.ets | 59 + ...ComponentPopupboxMenuUxconsistency0180.ets | 74 + ...pboxMenuWidthAndPlacementConformux0900.ets | 44 + ...pboxMenuWidthAndPlacementConformux0910.ets | 44 + ...pboxMenuWidthAndPlacementConformux0920.ets | 44 + ...pboxMenuWidthAndPlacementConformux0930.ets | 44 + ...pboxMenuWidthAndPlacementConformux0940.ets | 44 + ...pboxMenuWidthAndPlacementConformux0950.ets | 44 + ...pboxMenuWidthAndPlacementConformux0960.ets | 44 + ...pboxMenuWidthAndPlacementConformux0970.ets | 44 + ...pboxMenuWidthAndPlacementConformux0980.ets | 44 + ...pboxMenuWidthAndPlacementConformux0990.ets | 44 + ...pboxMenuWidthAndPlacementConformux1000.ets | 44 + ...pboxMenuWidthAndPlacementConformux1010.ets | 44 + ...pboxMenuWidthAndPlacementConformux1020.ets | 44 + ...pboxMenuWidthAndPlacementConformux1030.ets | 44 + ...pboxMenuWidthAndPlacementConformux1040.ets | 44 + ...pboxMenuWidthAndPlacementConformux1050.ets | 44 + ...pboxMenuWidthAndPlacementConformux1060.ets | 44 + ...pboxMenuWidthAndPlacementConformux1070.ets | 44 + ...pboxMenuWidthAndPlacementConformux1080.ets | 44 + ...pboxMenuWidthAndPlacementConformux1090.ets | 44 + ...pboxMenuWidthAndPlacementConformux1100.ets | 44 + ...pboxMenuWidthAndPlacementConformux1110.ets | 44 + ...pboxMenuWidthAndPlacementConformux1120.ets | 44 + ...pboxMenuWidthAndPlacementConformux1130.ets | 44 + ...pboxMenuWidthAndPlacementConformux1140.ets | 44 + ...pboxMenuWidthAndPlacementConformux1150.ets | 44 + ...pboxMenuWidthAndPlacementConformux1160.ets | 44 + ...pboxMenuWidthAndPlacementConformux1170.ets | 44 + ...pboxMenuWidthAndPlacementConformux1180.ets | 44 + ...pboxMenuWidthAndPlacementConformux1190.ets | 44 + ...pboxMenuWidthAndPlacementConformux1200.ets | 44 + ...pboxMenuWidthAndPlacementConformux1210.ets | 44 + ...pboxMenuWidthAndPlacementConformux1220.ets | 44 + ...pboxMenuWidthAndPlacementConformux1230.ets | 44 + ...pboxMenuWidthAndPlacementConformux1240.ets | 44 + ...pboxMenuWidthAndPlacementConformux1250.ets | 44 + ...pboxMenuWidthAndPlacementConformux1260.ets | 43 + ...pboxMenuWidthAndPlacementConformux1270.ets | 44 + ...pboxMenuWidthAndPlacementConformux1280.ets | 43 + ...pboxMenuWidthAndPlacementConformux1290.ets | 43 + ...pboxMenuWidthAndPlacementConformux1300.ets | 44 + ...pboxMenuWidthAndPlacementConformux1310.ets | 44 + ...pboxMenuWidthAndPlacementConformux1320.ets | 44 + ...pboxMenuWidthAndPlacementConformux1330.ets | 44 + ...pboxMenuWidthAndPlacementConformux1340.ets | 44 + ...pboxMenuWidthAndPlacementConformux1350.ets | 44 + ...pboxMenuWidthAndPlacementConformux1360.ets | 44 + ...pboxMenuWidthAndPlacementConformux1370.ets | 44 + ...pboxMenuWidthAndPlacementConformux1380.ets | 44 + ...pboxMenuWidthAndPlacementConformux1390.ets | 44 + ...pboxMenuWidthAndPlacementConformux1400.ets | 44 + ...pboxMenuWidthAndPlacementConformux1410.ets | 44 + ...pboxMenuWidthAndPlacementConformux1420.ets | 44 + ...pboxMenuWidthAndPlacementConformux1430.ets | 44 + ...pboxMenuWidthAndPlacementConformux1440.ets | 44 + ...pboxMenuWidthAndPlacementConformux1450.ets | 44 + ...pboxMenuWidthAndPlacementConformux1460.ets | 44 + ...pboxMenuWidthAndPlacementConformux1470.ets | 44 + ...pboxMenuWidthAndPlacementConformux1480.ets | 44 + ...pboxMenuWidthAndPlacementConformux1490.ets | 44 + ...pboxMenuWidthAndPlacementConformux1500.ets | 44 + ...pboxMenuWidthAndPlacementConformux1510.ets | 44 + ...pboxMenuWidthAndPlacementConformux1520.ets | 44 + ...pboxMenuWidthAndPlacementConformux1530.ets | 44 + ...pboxMenuWidthAndPlacementConformux1540.ets | 44 + ...pboxMenuWidthAndPlacementConformux1550.ets | 44 + ...pboxMenuWidthAndPlacementConformux1560.ets | 44 + ...pboxMenuWidthAndPlacementConformux1570.ets | 44 + ...pboxMenuWidthAndPlacementConformux1580.ets | 44 + ...pboxMenuWidthAndPlacementConformux1590.ets | 44 + ...pboxMenuWidthAndPlacementConformux1600.ets | 44 + ...pboxMenuWidthAndPlacementConformux1610.ets | 44 + ...pboxMenuWidthAndPlacementConformux1620.ets | 44 + ...pboxMenuWidthAndPlacementConformux1630.ets | 44 + ...pboxMenuWidthAndPlacementConformux1640.ets | 44 + ...pboxMenuWidthAndPlacementConformux1650.ets | 45 + ...pboxMenuWidthAndPlacementConformux1660.ets | 43 + ...pboxMenuWidthAndPlacementConformux1670.ets | 43 + ...pboxMenuWidthAndPlacementConformux1680.ets | 43 + ...pboxMenuWidthAndPlacementConformux1690.ets | 43 + ...pboxMenuWidthAndPlacementConformux1700.ets | 45 + ...pboxMenuWidthAndPlacementConformux1710.ets | 44 + ...ponentPopupboxSpecificationsShadow0030.ets | 45 + ...ponentPopupboxSpecificationsShadow0040.ets | 45 + ...ponentPopupboxSpecificationsShadow0050.ets | 45 + ...ponentPopupboxSpecificationsShadow0060.ets | 52 + ...ponentPopupboxSpecificationsShadow0070.ets | 52 + ...ponentPopupboxSpecificationsShadow0080.ets | 52 + ...ponentPopupboxSpecificationsShadow0090.ets | 52 + ...ponentPopupboxSpecificationsShadow0110.ets | 52 + ...ponentPopupboxSpecificationsShadow0820.ets | 39 + ...ponentPopupboxSpecificationsShadow0890.ets | 39 + ...ponentPopupboxSpecificationsShadow0960.ets | 40 + ...onentPopupwantUIExtensionComponent0030.ets | 46 + ...onentPopupwantUIExtensionComponent0040.ets | 47 + ...onentPopupwantUIExtensionComponent0050.ets | 47 + ...onentPopupwantUIExtensionComponent0060.ets | 47 + ...onentPopupwantUIExtensionComponent0070.ets | 47 + ...onentPopupwantUIExtensionComponent0080.ets | 47 + ...onentPopupwantUIExtensionComponent0090.ets | 47 + .../UIExtensionComponentAbility0030.ets | 31 + .../UIExtensionComponentAbility0040.ets | 31 + .../UIExtensionComponentAbility0050.ets | 31 + .../UIExtensionComponentAbility0060.ets | 31 + .../UIExtensionComponentAbility0070.ets | 31 + .../UIExtensionComponentAbility0080.ets | 31 + .../UIExtensionComponentAbility0090.ets | 31 + .../UIExtensionComponentPage0030.ets | 103 + .../UIExtensionComponentPage0040.ets | 103 + .../UIExtensionComponentPage0050.ets | 73 + .../UIExtensionComponentPage0060.ets | 73 + .../UIExtensionComponentPage0070.ets | 73 + .../UIExtensionComponentPage0080.ets | 74 + .../UIExtensionComponentPage0090.ets | 74 + .../UIComponentSliderSliderInterface002.ets | 40 + .../EmbeddedAbilityEmbeddComponent0060.ets | 31 + .../EmbeddedPageEmbeddComponent0060.ets | 37 + ...ntSpecialComponentsEmbeddComponent0060.ets | 45 + ...alComponentsEmbeddComponentMinsize0010.ets | 53 + ...alComponentsEmbeddComponentMinsize0030.ets | 55 + ...alComponentsEmbeddComponentMinsize0050.ets | 55 + ...alComponentsEmbeddComponentMinsize0060.ets | 55 + ...alComponentsEmbeddComponentMinsize0070.ets | 55 + ...alComponentsEmbeddComponentMinsize0080.ets | 56 + ...alComponentsEmbeddComponentMinsize0090.ets | 55 + ...alComponentsEmbeddComponentMinsize0100.ets | 55 + ...alComponentsEmbeddComponentMinsize0110.ets | 61 + ...alComponentsEmbeddComponentMinsize0120.ets | 55 + ...alComponentsEmbeddComponentMinsize0130.ets | 55 + ...alComponentsEmbeddComponentMinsize0140.ets | 55 + ...alComponentsEmbeddComponentMinsize0150.ets | 55 + ...alComponentsEmbeddComponentMinsize0160.ets | 63 + ...alComponentsEmbeddComponentMinsize0180.ets | 61 + ...alComponentsEmbeddComponentMinsize0190.ets | 61 + .../EmbeddedAbility0020.ets | 46 + .../EmbeddedAbility0040.ets | 47 + .../EmbeddedAbility0040_2.ets | 47 + .../EmbeddedAbility0060.ets | 46 + .../EmbeddedAbility0080.ets | 46 + .../EmbeddedAbilityRestrictnesTing0070.ets | 46 + .../EmbeddedPage0040.ets | 73 + .../EmbeddedPage0040_2.ets | 27 + .../EmbeddedPage0060.ets | 27 + .../EmbeddedPage0080.ets | 27 + .../EmbeddedPageRestrictnesTing0070.ets | 89 + ...entsEmbeddComponentRestrictnesTing0020.ets | 46 + ...entsEmbeddComponentRestrictnesTing0030.ets | 90 + ...entsEmbeddComponentRestrictnesTing0040.ets | 80 + ...entsEmbeddComponentRestrictnesTing0050.ets | 46 + ...entsEmbeddComponentRestrictnesTing0060.ets | 46 + ...entsEmbeddComponentRestrictnesTing0070.ets | 46 + ...entsEmbeddComponentRestrictnesTing0080.ets | 46 + ...ensionComponentAccessibilityReport0080.ets | 46 + ...ensionComponentAccessibilityReport0090.ets | 46 + ...onComponentAccessibilityReportPage0080.ets | 45 + ...onComponentAccessibilityReportPage0090.ets | 45 + .../AvoidaderAbility0010.ets | 45 + .../AvoidaderAbility0020.ets | 45 + .../AvoidaderAbility0030.ets | 45 + .../AvoidaderAbility0140.ets | 45 + .../AvoidaderPage0010.ets | 92 + .../AvoidaderPage0020.ets | 92 + .../AvoidaderPage0030.ets | 119 + .../AvoidaderPage0140.ets | 131 + ...nentsUIExtensionComponentAvoidader0010.ets | 50 + ...nentsUIExtensionComponentAvoidader0020.ets | 46 + ...nentsUIExtensionComponentAvoidader0030.ets | 45 + ...nentsUIExtensionComponentAvoidader0140.ets | 46 + .../UIExtensionComponentAvoidArea0040.ets | 46 + .../UIExtensionComponentAvoidAreaPage0040.ets | 102 + .../EmbeddedAbilityComponentInterface0010.ets | 46 + .../EmbeddedAbilityComponentInterface0020.ets | 46 + .../EmbeddedAbilityComponentInterface0050.ets | 46 + .../EmbeddedAbilityComponentInterface0060.ets | 46 + .../EmbeddedAbilityComponentInterface0070.ets | 46 + .../EmbeddedPageComponentInterface0010.ets | 32 + .../EmbeddedPageComponentInterface0020.ets | 32 + .../EmbeddedPageComponentInterface0050.ets | 32 + .../EmbeddedPageComponentInterface0060.ets | 31 + .../EmbeddedPageComponentInterface0070.ets | 32 + ...nentsUIExtensionComponentInterface0010.ets | 45 + ...nentsUIExtensionComponentInterface0020.ets | 45 + ...nentsUIExtensionComponentInterface0050.ets | 46 + ...nentsUIExtensionComponentInterface0060.ets | 47 + ...nentsUIExtensionComponentInterface0070.ets | 47 + ...sUIExtensionComponentStyleLanguage0210.ets | 46 + ...xtensionComponentStyleLanguagePage0210.ets | 34 + .../EmbeddedAbility0010_331.ets | 45 + .../EmbeddedAbility0020_404.ets | 45 + .../EmbeddedAbility0030_273.ets | 45 + .../EmbeddedAbility0060_227.ets | 45 + .../EmbeddedAbility0070_755.ets | 45 + .../EmbeddedPage0010_331.ets | 26 + .../EmbeddedPage0020_404.ets | 33 + .../EmbeddedPage0030_273.ets | 32 + .../EmbeddedPage0060_227.ets | 105 + .../EmbeddedPage0070_755.ets | 32 + ...extensionComponentUinformFocus0010_331.ets | 46 + ...extensionComponentUinformFocus0020_404.ets | 46 + ...extensionComponentUinformFocus0030_273.ets | 46 + ...extensionComponentUinformFocus0060_227.ets | 45 + ...extensionComponentUinformFocus0070_755.ets | 46 + .../EmbeddedAbilityWheel0110.ets | 45 + .../EmbeddedPageWheel0110.ets | 46 + ...omponentsUIextensionComponentWheel0110.ets | 46 + .../UIComponentUISupportColor0570.ets | 52 + .../UIComponentUISupportColor0580.ets | 52 + .../UIComponentUISupportColor0590.ets | 52 + .../UIComponentUISupportColor0600.ets | 52 + .../UIComponentUISupportColor0610.ets | 43 + .../UIComponentUISupportColor0620.ets | 43 + .../UIComponentUISupportColor0630.ets | 43 + .../UIComponentUISupportColor0780.ets | 45 + .../UIComponentUISupportColor0790.ets | 45 + .../UIComponentUISupportColor0800.ets | 45 + .../UIComponentUISupportColor0810.ets | 45 + .../UIComponentUISupportColor0820.ets | 40 + .../UIComponentUISupportColor0830.ets | 40 + .../UIComponentUISupportColor0840.ets | 40 + .../UIComponentUISupportColor1480.ets | 40 + .../UIComponentUISupportColor1490.ets | 40 + .../UIComponentUISupportColor1500.ets | 40 + .../UIComponentUISupportColor1510.ets | 40 + .../UIComponentUISupportColor1520.ets | 35 + .../UIComponentUISupportColor1530.ets | 35 + .../UIComponentUISupportColor1540.ets | 35 + .../ComponentSubwindowHost.ets | 20 + .../EmbeddedAbilityComponentSubwindow0010.ets | 48 + .../EmbeddedAbilityComponentSubwindow0020.ets | 48 + .../EmbeddedAbilityComponentSubwindow0030.ets | 48 + .../EmbeddedAbilityComponentSubwindow0040.ets | 48 + .../EmbeddedPageComponentSubwindow0010.ets | 106 + .../EmbeddedPageComponentSubwindow0020.ets | 106 + .../EmbeddedPageComponentSubwindow0030.ets | 106 + .../EmbeddedPageComponentSubwindow0040.ets | 106 + ...nentsUIExtensionComponentSubwindow0010.ets | 46 + ...nentsUIExtensionComponentSubwindow0020.ets | 46 + ...nentsUIExtensionComponentSubwindow0030.ets | 46 + ...nentsUIExtensionComponentSubwindow0040.ets | 46 + ...nentsUiExtensionComponentPopupPage0010.ets | 26 + ...entsUiExtensionComponentAbexitPage0020.ets | 41 + ...entsUiExtensionComponentAbexitPage0030.ets | 51 + ...entsUiExtensionComponentAbexitPage0040.ets | 41 + .../UiPopupProvider0010.ets | 52 + .../UlAbexitProvider0020.ets | 53 + .../UlAbexitProvider0030.ets | 53 + .../UlAbexitProvider0040.ets | 53 + ...omponentsUiExtensionComponentPopup0010.ets | 49 + ...mponentsUiExtensionComponentAbexit0020.ets | 48 + ...mponentsUiExtensionComponentAbexit0030.ets | 48 + ...mponentsUiExtensionComponentAbexit0040.ets | 49 + .../ohosTest/ets/testability/pages/demo.ets | 55 + .../uicompare/entry/src/ohosTest/module.json5 | 358 +- .../resources/base/element/float.json | 8 + .../resources/base/element/string.json | 20 + .../src/ohosTest/resources/base/media/4.png | Bin 0 -> 320574 bytes .../resources/base/media/bear_128_128.jpeg | Bin 0 -> 24886 bytes .../ohosTest/resources/base/media/flower1.jpg | Bin 0 -> 21001 bytes .../ohosTest/resources/base/media/img_gif.gif | Bin 0 -> 32876 bytes .../ohosTest/resources/base/media/svg0160.svg | 9 + .../resources/base/profile/test_pages.json | 859 +++- function/ui_compare_rh/uicompare/hvigorw | 48 - function/ui_compare_rh/uicompare/hvigorw.bat | 64 - .../ui_compare_rh/uicompare/oh-package.json5 | 2 +- 971 files changed, 66835 insertions(+), 148 deletions(-) create mode 100644 function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/AnalyseUIComponentUIContextTest/AnalyseUIComponentUIContext.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUIComponentFunctionSpecialComponentsMenuInterfaceTest/ArkUIComponentFunctionSpecialComponentsMenuInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Demo.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderActionTest/UIComponentButtonSliderAction.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderLayoutTest/UIComponentButtonSliderLayout.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderRangeTest/UIComponentButtonSliderRange.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderSelectedborderradiusTest/UIComponentButtonSliderSelectedborderradius.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderShunTest/UIComponentButtonSliderShun.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderSliderInteractionModeTest/UIComponentButtonSliderSliderInteractionMode.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderTrackcolorTest/UIComponentButtonSliderTrackcolor.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderUxTest/UIComponentButtonSliderUx.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentMediaImageFocusableTest/UIComponentMediaImageFocusable.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelAnalysisTest/UIComponentOtherPanelAnalysis.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelInteractionTest/UIComponentOtherPanelInteraction.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelInterfaceTest/UIComponentOtherPanelInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxBindMenuTest/UIComponentPopupboxBindMenu.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxConsistencySceneTest/UIComponentPopupboxConsistencyScene.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuAnalysisTest/UIComponentPopupboxMenuAnalysis.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuBindContextMenuIsShownTest/UIComponentPopupboxMenuBindContextMenuIsShownTest.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuBindContextMenuTest/UIComponentPopupboxMenuBindContextMenu.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuCornerTest/UIComponentPopupboxMenuCorner.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuDirectTest/UIComponentPopupboxMenuDirect.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuEnhancementTest/UIComponentPopupboxMenuEnhancement.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuHmsymbolTest/UIComponentPopupboxMenuHmsymbol.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuInterfaceTest/UIComponentPopupboxMenuInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuLocationTest/UIComponentPopupboxMenuLocation.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuPcheightTest/UIComponentPopupboxMenuPcheight.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuScenariosTest/UIComponentPopupboxMenuScenarios.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuSegmentedDisplayTest/UIComponentPopupboxMenuSegmentedDisplay.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuStyleEnhancementTest/UIComponentPopupboxMenuStyleEnhancement.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuTouchTest/UIComponentPopupboxMenuTouch.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuUxconsistencyTest/UIComponentPopupboxMenuUxconsistency.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuWidthAndPlacementConformuxTest/UIComponentPopupboxMenuWidthAndPlacementConformux.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxSpecificationsShadowTest/UIComponentPopupboxSpecificationsShadow.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupwantUIExtensionComponentTest/UIComponentPopupwantUIExtensionComponent.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSliderSliderInterfaceTest/UIComponentSliderSliderInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentMinsizeTest/UIComponentSpecialComponentsEmbeddComponentMinsize.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentRestrictnesTingTest/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentTest/UIComponentSpecialComponentsEmbeddComponent.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReportTest/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentInterfaceTest/UIComponentSpecialComponentsUIExtensionComponentInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentStyleLanguageTest/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIextensionComponentUinformFocusTest/UIComponentSpecialComponentsUIextensionComponentUinformFocus.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIextensionComponentWheelTest/UIComponentSpecialComponentsUIextensionComponentWheel.test.ets create mode 100755 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentsUIExtensionComponentAvoidAreaTest/UIComponentsUIExtensionComponentAvoidArea.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIdComponentSpecialComponentsUIExtensionComponentSubwindowTest/UIdComponentSpecialComponentsUIExtensionComponentSubwindow.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/AnalyseUIComponentUIContext/AnalyseUIComponentUIContext0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/AnalyseUIComponentUIContext/UIExtensionAnalyseUIComponentUIContextPage0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionAnalyseUIComponentUIContextProvider0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAccessibilityReportProvider0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAccessibilityReportProvider0090.ets create mode 100755 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAvoidAreaProvider0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentStyleLanguageProvider0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderLayout/UIComponentButtonSliderLayout0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentMediaImageFocusable/UIComponentMediaImageFocusable0012.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelAnalysis/UIComponentOtherPanelAnalysis0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedAbility0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedAbility0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement001.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement008.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement009.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement017.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0760.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0840.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0850.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0860.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0870.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0880.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0920.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0930.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0940.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0950.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1760.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1840.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1850.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1860.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1870.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1880.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1920.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0840.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0850.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0860.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0870.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0880.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0920.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0930.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0940.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0950.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0920.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0930.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0940.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0950.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSliderSliderInterface/UIComponentSliderSliderInterface002.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedAbilityEmbeddComponent0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedPageEmbeddComponent0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/UIComponentSpecialComponentsEmbeddComponent0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0040_2.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbilityRestrictnesTing0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040_2.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPageRestrictnesTing0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0140.ets create mode 100755 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidArea0040.ets create mode 100755 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidAreaPage0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIExtensionComponentStyleLanguagePage0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0010_331.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0020_404.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0030_273.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0060_227.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0070_755.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0010_331.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0020_404.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0030_273.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0060_227.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0070_755.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0010_331.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0020_404.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0030_273.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0060_227.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0070_755.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedAbilityWheel0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedPageWheel0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/UIComponentSpecialComponentsUIextensionComponentWheel0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0840.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/ComponentSubwindowHost.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UiComponentSpecialComponentsUiExtensionComponentPopupPage0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UiPopupProvider0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UiComponentSpecialComponentsUiExtensionComponentPopup0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/demo.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/4.png create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/bear_128_128.jpeg create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/flower1.jpg create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/img_gif.gif create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/svg0160.svg delete mode 100644 function/ui_compare_rh/uicompare/hvigorw delete mode 100644 function/ui_compare_rh/uicompare/hvigorw.bat diff --git a/function/ui_compare_rh/uicompare/entry/build-profile.json5 b/function/ui_compare_rh/uicompare/entry/build-profile.json5 index f8f03407..2c53bb59 100644 --- a/function/ui_compare_rh/uicompare/entry/build-profile.json5 +++ b/function/ui_compare_rh/uicompare/entry/build-profile.json5 @@ -4,7 +4,8 @@ }, "targets": [ { - "name": "default" + "name": "default", + "runtimeOS": "OpenHarmony" }, { "name": "ohosTest", diff --git a/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/string.json b/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/string.json index f9459551..eef0c75f 100644 --- a/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/string.json +++ b/function/ui_compare_rh/uicompare/entry/src/main/resources/base/element/string.json @@ -11,6 +11,14 @@ { "name": "EntryAbility_label", "value": "label" + }, + { + "name": "Azure", + "value": "#00ff00" + }, + { + "name": "selectedBorderRadius", + "value": "5vp" } ] } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json b/function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json new file mode 100644 index 00000000..d66f9a7d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json @@ -0,0 +1,8 @@ +{ + "color": [ + { + "name": "start_window_background", + "value": "#FFFFFF" + } + ] +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Ability.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Ability.test.ets index 76e140bc..c8a83541 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Ability.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Ability.test.ets @@ -17,34 +17,34 @@ import hilog from '@ohos.hilog'; import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' export default function abilityTest() { - describe('ActsAbilityTest', () => { + describe('ActsAbilityTest', function () { // Defines a test suite. Two parameters are supported: test suite name and test suite function. - beforeAll(() => { + beforeAll(function () { // Presets an action, which is performed only once before all test cases of the test suite start. // This API supports only one parameter: preset action function. - }); - beforeEach(() => { + }) + beforeEach(function () { // Presets an action, which is performed before each unit test case starts. // The number of execution times is the same as the number of test cases defined by **it**. // This API supports only one parameter: preset action function. - }); - afterEach(() => { + }) + afterEach(function () { // Presets a clear action, which is performed after each unit test case ends. // The number of execution times is the same as the number of test cases defined by **it**. // This API supports only one parameter: clear action function. - }); - afterAll(() => { + }) + afterAll(function () { // Presets a clear action, which is performed after all test cases of the test suite end. // This API supports only one parameter: clear action function. - }); - it('assertContain', 0, () => { + }) + it('assertContain',0, function () { // Defines a test case. This API supports three parameters: test case name, filter parameter, and test case function. hilog.info(0x0000, 'testTag', '%{public}s', 'it begin'); - let a = 'abc'; - let b = 'b'; + let a = 'abc' + let b = 'b' // Defines a variety of assertion methods, which are used to declare expected boolean conditions. - expect(a).assertContain(b); - expect(a).assertEqual(a); - }); + expect(a).assertContain(b) + expect(a).assertEqual(a) + }) }) } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/AnalyseUIComponentUIContextTest/AnalyseUIComponentUIContext.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/AnalyseUIComponentUIContextTest/AnalyseUIComponentUIContext.test.ets new file mode 100644 index 00000000..579d770a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/AnalyseUIComponentUIContextTest/AnalyseUIComponentUIContext.test.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 { 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' +import { Rect } from '@ohos.graphics.scene' + +export default function AnalyseUIComponentUIContext() { + + describe('AnalyseUIComponentUIContext', () => { + 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_ANALYSE_UI_COMPONENT_UICONTEXT_0010 + * @tc.name UI Context test + * @tc.desc UI Context test + * @tc.level Level 3 + */ + it('SUB_ACE_ANALYSE_UI_COMPONENT_UICONTEXT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_ANALYSE_UI_COMPONENT_UICONTEXT_0010 start.`); + Settings.createWindow("testability/pages/AnalyseUIComponentUIContext/AnalyseUIComponentUIContext0010"); + await Utils.sleep(3000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_ANALYSE_UI_COMPONENT_UICONTEXT_0010 finish.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUIComponentFunctionSpecialComponentsMenuInterfaceTest/ArkUIComponentFunctionSpecialComponentsMenuInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUIComponentFunctionSpecialComponentsMenuInterfaceTest/ArkUIComponentFunctionSpecialComponentsMenuInterface.test.ets new file mode 100644 index 00000000..7cccf46f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/ArkUIComponentFunctionSpecialComponentsMenuInterfaceTest/ArkUIComponentFunctionSpecialComponentsMenuInterface.test.ets @@ -0,0 +1,262 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function ArkUIComponentFunctionSpecialComponentsMenuInterface() { + + describe('ArkUIComponentFunctionSpecialComponentsMenuInterface', () => { + 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 ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0130 + * @tc.name bindMenu width/placement test + * @tc.desc bindMenu width/placement test + * @tc.level Level 3 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0130', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0130 start.`); + Settings.createWindow("testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0130"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0130_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0130_02')); + menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0130 finish.`); + done(); + }) + + /** + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0010 + * @tc.name bindMenu width/placement test + * @tc.desc bindMenu width/placement test + * @tc.level Level 3 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0010', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0010 start.`); + Settings.createWindow("testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0010"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0010_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.click(); + await Utils.sleep(2000); + + await driver.drag(buttonCenterPos.x, buttonCenterPos.y , buttonCenterPos.x+100, buttonCenterPos.y+100); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0010 finish.`); + done(); + }) + + /** + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0020 + * @tc.name bindMenu width/placement test + * @tc.desc bindMenu width/placement test + * @tc.level Level 3 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0020', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0020 start.`); + Settings.createWindow("testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0020"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0020_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0020 finish.`); + done(); + }) + + /** + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0030 + * @tc.name bindMenu width/placement test + * @tc.desc bindMenu width/placement test + * @tc.level Level 3 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0030', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0030 start.`); + Settings.createWindow("testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0030"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0030_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0030 finish.`); + done(); + }) + + /** + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0040 + * @tc.name bindMenu width/placement test + * @tc.desc bindMenu width/placement test + * @tc.level Level 3 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0040', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0040 start.`); + Settings.createWindow("testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0040"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0040_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0040 finish.`); + done(); + }) + + /** + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0060 + * @tc.name bindMenu width/placement test + * @tc.desc bindMenu width/placement test + * @tc.level Level 3 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0060', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0060 start.`); + Settings.createWindow("testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0060"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0060_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0060 finish.`); + done(); + }) + + /** + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0080 + * @tc.name bindMenu width/placement test + * @tc.desc bindMenu width/placement test + * @tc.level Level 3 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0080', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0080 start.`); + Settings.createWindow("testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0080"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0080_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0080 finish.`); + done(); + }) + + /** + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0120 + * @tc.name bindMenu width/placement test + * @tc.desc bindMenu width/placement test + * @tc.level Level 3 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0120', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0120 start.`); + Settings.createWindow("testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0120"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0120_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0120_02')); + menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0120 finish.`); + done(); + }) + + /** + * @tc.number ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0090 + * @tc.name bindMenu width/placement test + * @tc.desc bindMenu width/placement test + * @tc.level Level 3 + */ + it('ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0090', 0, async (done: Function) => { + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0090 start.`); + Settings.createWindow("testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0090"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('ArkUIComponentFunctionSpecialComponentsMenuInterface0090_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `ARKUI_COMPONENTFUNCTION_SPECIALCOMPONENTS_MENU_INTERFACE_0090 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Demo.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Demo.test.ets new file mode 100644 index 00000000..da346777 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/Demo.test.ets @@ -0,0 +1,95 @@ +/* + * 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, + UiDriver, + Component, + Driver, + UiWindow, + ON, + BY, + MatchPattern, + DisplayRotation, + ResizeDirection, + WindowMode, + PointerMatrix +} from '@ohos.UiTest'; + +/* + * demoTest_001:更改page路由 + * demoTest_002:更改page路由,像素密度 + * demoTest_003:更改page路由,窗口大小,位置,像素密度 + * demoTest_004:更改page路由,页面内元素属性 + * demoTest_005:更改page路由,注入点击事件 + * + * demoTest_004:更改属性需要配合页面路由配置globalThis.value.message + * demoTest_005:注入事件,引用'@ohos.UiTest',findComponent需要根据页面路由内组件配置情况更改 + * + * 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 demoTest() { + + + describe('demoTest', () => { + + 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('demoTest_001', 0, async (done: Function) => { + //更改page路由 + + Settings.createWindow("testability/pages/demo") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + + 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 0860e123..1270b58b 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 @@ -150,6 +150,83 @@ import UIComponentPopupBoxToastStyleInterface001 import UIComponentPopupBoxFullDialogInterface001 from './UIComponentPopupBoxFullDialogInterfaceTest/UIComponentPopupBoxFullDialogInterface001.test'; +import UIComponentPopupboxMenuInterfaceTest + from './UIComponentPopupboxMenuInterfaceTest/UIComponentPopupboxMenuInterface.test' +import UIComponentPopupboxMenuBindContextMenuIsShownTest + from './UIComponentPopupboxMenuBindContextMenuIsShownTest/UIComponentPopupboxMenuBindContextMenuIsShownTest.test' +import UIComponentPopupboxMenuPcheightTest + from './UIComponentPopupboxMenuPcheightTest/UIComponentPopupboxMenuPcheight.test' +import UIComponentPopupboxMenuScenariosTest + from './UIComponentPopupboxMenuScenariosTest/UIComponentPopupboxMenuScenarios.test' +import UIComponentPopupboxMenuEnhancement + from './UIComponentPopupboxMenuEnhancementTest/UIComponentPopupboxMenuEnhancement.test' +import UIComponentPopupboxMenuUxconsistency + from './UIComponentPopupboxMenuUxconsistencyTest/UIComponentPopupboxMenuUxconsistency.test' +import UIComponentButtonSliderSelectedborderradius + from './UIComponentButtonSliderSelectedborderradiusTest/UIComponentButtonSliderSelectedborderradius.test' +import UIComponentButtonSliderLayout from './UIComponentButtonSliderLayoutTest/UIComponentButtonSliderLayout.test' +import UIComponentButtonSliderShun from './UIComponentButtonSliderShunTest/UIComponentButtonSliderShun.test' +import UIComponentButtonSliderTrackcolor + from './UIComponentButtonSliderTrackcolorTest/UIComponentButtonSliderTrackcolor.test' +import UIComponentPopupboxMenuHmsymbol from './UIComponentPopupboxMenuHmsymbolTest/UIComponentPopupboxMenuHmsymbol.test' +import UIComponentPopupboxMenuCorner from './UIComponentPopupboxMenuCornerTest/UIComponentPopupboxMenuCorner.test' +import UIComponentPopupboxMenuWidthAndPlacementConformux + from './UIComponentPopupboxMenuWidthAndPlacementConformuxTest/UIComponentPopupboxMenuWidthAndPlacementConformux.test' +import UIComponentButtonSliderRange from './UIComponentButtonSliderRangeTest/UIComponentButtonSliderRange.test' +import UIComponentSliderSliderInterface + from './UIComponentSliderSliderInterfaceTest/UIComponentSliderSliderInterface.test' +import UIComponentButtonSliderSliderInteractionMode + from './UIComponentButtonSliderSliderInteractionModeTest/UIComponentButtonSliderSliderInteractionMode.test' +import UIComponentOtherPanelInteraction + from './UIComponentOtherPanelInteractionTest/UIComponentOtherPanelInteraction.test' +import UIComponentOtherPanelInterface from './UIComponentOtherPanelInterfaceTest/UIComponentOtherPanelInterface.test' +import UIComponentOtherPanelAnalysis from './UIComponentOtherPanelAnalysisTest/UIComponentOtherPanelAnalysis.test' +import UIComponentPopupboxSpecificationsShadow + from './UIComponentPopupboxSpecificationsShadowTest/UIComponentPopupboxSpecificationsShadow.test' +import UIComponentPopupboxMenuDirect from './UIComponentPopupboxMenuDirectTest/UIComponentPopupboxMenuDirect.test' +import ArkUIComponentFunctionSpecialComponentsMenuInterface + from './ArkUIComponentFunctionSpecialComponentsMenuInterfaceTest/ArkUIComponentFunctionSpecialComponentsMenuInterface.test' +import UIComponentPopupboxMenuTouch from './UIComponentPopupboxMenuTouchTest/UIComponentPopupboxMenuTouch.test' +import UIComponentPopupboxMenuStyleEnhancement + from './UIComponentPopupboxMenuStyleEnhancementTest/UIComponentPopupboxMenuStyleEnhancement.test' +import UIComponentSpecialComponentsEmbeddComponentMinsize + from './UIComponentSpecialComponentsEmbeddComponentMinsizeTest/UIComponentSpecialComponentsEmbeddComponentMinsize.test' +import UIComponentPopupboxMenuSegmentedDisplay + from './UIComponentPopupboxMenuSegmentedDisplayTest/UIComponentPopupboxMenuSegmentedDisplay.test' +import UIComponentPopupboxMenuBindContextMenu + from './UIComponentPopupboxMenuBindContextMenuTest/UIComponentPopupboxMenuBindContextMenu.test' +import UIComponentPopupboxBindMenu from './UIComponentPopupboxBindMenuTest/UIComponentPopupboxBindMenu.test' +import UIComponentPopupboxConsistencyScene + from './UIComponentPopupboxConsistencySceneTest/UIComponentPopupboxConsistencyScene.test' +import UIComponentSpecialComponentsEmbeddComponentRestrictnesTing + from './UIComponentSpecialComponentsEmbeddComponentRestrictnesTingTest/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing.test' +import UIComponentPopupboxMenuAnalysis from './UIComponentPopupboxMenuAnalysisTest/UIComponentPopupboxMenuAnalysis.test' +import UIComponentPopupboxMenuLocation from './UIComponentPopupboxMenuLocationTest/UIComponentPopupboxMenuLocation.test' +import UIComponentMediaImageFocusable from './UIComponentMediaImageFocusableTest/UIComponentMediaImageFocusable.test' +import UIComponentSpecialComponentsUIextensionComponentUinformFocus + from './UIComponentSpecialComponentsUIextensionComponentUinformFocusTest/UIComponentSpecialComponentsUIextensionComponentUinformFocus.test' +import UIComponentSpecialComponentsUIextensionComponentWheel + from './UIComponentSpecialComponentsUIextensionComponentWheelTest/UIComponentSpecialComponentsUIextensionComponentWheel.test' +import UIComponentSpecialComponentsEmbeddComponent + from './UIComponentSpecialComponentsEmbeddComponentTest/UIComponentSpecialComponentsEmbeddComponent.test' +import UIdComponentSpecialComponentsUIExtensionComponentSubwindow + from './UIdComponentSpecialComponentsUIExtensionComponentSubwindowTest/UIdComponentSpecialComponentsUIExtensionComponentSubwindow.test' +import UIComponentSpecialComponentsUIExtensionComponentInterface + from './UIComponentSpecialComponentsUIExtensionComponentInterfaceTest/UIComponentSpecialComponentsUIExtensionComponentInterface.test' +import UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport + from './UIComponentSpecialComponentsUIExtensionComponentAccessibilityReportTest/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport.test' +import UlComponentSpecialComponentsUiExtensionComponentAbexit + from './UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit.test' +import UIComponentPopupwantUIExtensionComponent from './UIComponentPopupwantUIExtensionComponentTest/UIComponentPopupwantUIExtensionComponent.test' +import UIComponentsUIExtensionComponentAvoidAreaTest + from './UIComponentsUIExtensionComponentAvoidAreaTest/UIComponentsUIExtensionComponentAvoidArea.test' +import UIComponentButtonSliderUx + from './UIComponentButtonSliderUxTest/UIComponentButtonSliderUx.test' +import UIComponentButtonSliderAction from './UIComponentButtonSliderActionTest/UIComponentButtonSliderAction.test' +import AnalyseUIComponentUIContext from './AnalyseUIComponentUIContextTest/AnalyseUIComponentUIContext.test' +import UIComponentSpecialComponentsUIExtensionComponentStyleLanguage + from './UIComponentSpecialComponentsUIExtensionComponentStyleLanguageTest/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage.test' + export default function testsuite() { ComponentTextRicheditorFontfeatures(); ComponentTextRicheditorCustomColors(); @@ -239,6 +316,51 @@ export default function testsuite() { UIComponentPopupBoxAttribute(); UIComponentPopupBoxPromptToastSequence(); UIComponentPopupBoxSpecificationsPopup(); -} - + UIComponentPopupboxMenuInterfaceTest(); + UIComponentPopupboxMenuBindContextMenuIsShownTest(); + UIComponentPopupboxMenuPcheightTest(); + UIComponentPopupboxMenuScenariosTest(); + UIComponentPopupboxMenuEnhancement(); + UIComponentPopupboxMenuUxconsistency(); + UIComponentButtonSliderSelectedborderradius() + UIComponentButtonSliderLayout() + UIComponentButtonSliderShun() + UIComponentButtonSliderTrackcolor() + UIComponentPopupboxMenuHmsymbol(); + UIComponentPopupboxMenuCorner(); + UIComponentPopupboxMenuWidthAndPlacementConformux(); + UIComponentButtonSliderRange(); + UIComponentSliderSliderInterface(); + UIComponentButtonSliderSliderInteractionMode(); + UIComponentOtherPanelInteraction(); + UIComponentOtherPanelInterface(); + UIComponentOtherPanelAnalysis(); + UIComponentPopupboxSpecificationsShadow(); + UIComponentPopupboxMenuDirect(); + ArkUIComponentFunctionSpecialComponentsMenuInterface(); + UIComponentPopupboxMenuTouch(); + UIComponentPopupboxMenuStyleEnhancement(); + UIComponentSpecialComponentsEmbeddComponentMinsize(); + UIComponentPopupboxMenuSegmentedDisplay(); + UIComponentPopupboxMenuBindContextMenu(); + UIComponentPopupboxBindMenu(); + UIComponentPopupboxConsistencyScene(); + UIComponentSpecialComponentsEmbeddComponentRestrictnesTing(); + UIComponentPopupboxMenuAnalysis(); + UIComponentPopupboxMenuLocation(); + UIComponentSpecialComponentsUIextensionComponentUinformFocus(); + UIComponentSpecialComponentsUIextensionComponentWheel(); + UIComponentSpecialComponentsEmbeddComponent(); + UIdComponentSpecialComponentsUIExtensionComponentSubwindow(); + UIComponentSpecialComponentsUIExtensionComponentInterface(); + UIComponentMediaImageFocusable(); + UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport(); + UlComponentSpecialComponentsUiExtensionComponentAbexit(); + UIComponentPopupwantUIExtensionComponent(); + UIComponentsUIExtensionComponentAvoidAreaTest(); + UIComponentButtonSliderUx(); + UIComponentButtonSliderAction(); + AnalyseUIComponentUIContext(); + UIComponentSpecialComponentsUIExtensionComponentStyleLanguage(); +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test.ets index f0efa3c9..7f3bb110 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonCommonButtonTest/UIComponentButtonCommonButton.test.ets @@ -18,7 +18,7 @@ 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 { Driver, ON, Component } from '@ohos.UiTest' /* * UIComponentButtonCommonButton @@ -39,6 +39,21 @@ import { Driver, ON } from '@ohos.UiTest' export default function UIComponentButtonCommonButton() { describe('UIComponentButtonCommonButton', () => { + 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_BUTTON_COMMON_BUTTON_0330 @@ -224,5 +239,105 @@ export default function UIComponentButtonCommonButton() { Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0410_2 finish.`); done() }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0420 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0420 start.`); + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0420"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let slider: Component = await driver.findComponent(ON.id('UIComponentButtonCommonButton0420_01')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + + await driver.drag(borderInfo.left, positionInfo.y, positionInfo.x, positionInfo.y); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0420 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0430 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0430 start.`); + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0430"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let slider: Component = await driver.findComponent(ON.id('UIComponentButtonCommonButton0430_01')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + + await driver.drag(borderInfo.left, positionInfo.y, positionInfo.x, positionInfo.y); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0430 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0450 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0450 start.`); + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0450"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let slider: Component = await driver.findComponent(ON.id('UIComponentButtonCommonButton0450_01')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + + await driver.drag(borderInfo.left, positionInfo.y, positionInfo.x, positionInfo.y); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0450 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0440 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0440 start.`); + Settings.createWindow("testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0440"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let slider: Component = await driver.findComponent(ON.id('UIComponentButtonCommonButton0440_01')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + + await driver.drag(borderInfo.left, positionInfo.y, positionInfo.x, positionInfo.y); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_COMMON_BUTTON_0440 finish.`); + done(); + }) }) } diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderActionTest/UIComponentButtonSliderAction.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderActionTest/UIComponentButtonSliderAction.test.ets new file mode 100644 index 00000000..28bb2cdb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderActionTest/UIComponentButtonSliderAction.test.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 { 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' +import window from '@ohos.window' + +export default function UIComponentButtonSliderAction() { + describe('UIComponentButtonSliderAction', () => { + 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_BUTTON_SLIDER_ACTION_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0010 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0010") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + await driver.triggerKey(2048); + await Utils.sleep(3000); + await driver.triggerKey(2048); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0010 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0020 + * @tc.desc +*/ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0020") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let Slider: Component = await driver.findComponent(ON.type('Slider')); + await Slider.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0020 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0030 + * @tc.name Safe area test + * @tc.desc Safe area test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0030"); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_ACTION_0030 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderLayoutTest/UIComponentButtonSliderLayout.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderLayoutTest/UIComponentButtonSliderLayout.test.ets new file mode 100644 index 00000000..789cda55 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderLayoutTest/UIComponentButtonSliderLayout.test.ets @@ -0,0 +1,57 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Component, Driver, ON } from '@ohos.UiTest' + +export default function UIComponentButtonSliderLayout() { + + describe('UIComponentButtonSliderLayout', () => { + 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 UI_COMPONENT_BUTTON_SLIDER_LAYOUT_0020 + * @tc.name UI_COMPONENT_BUTTON_SLIDER_LAYOUT_0020 + * @tc.desc trackThickness(60) + */ + it('UI_COMPONENT_BUTTON_SLIDER_LAYOUT_0020', 0, async (done: Function) => { + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_LAYOUT_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderLayout/UIComponentButtonSliderLayout0020") + await Utils.sleep(3000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_LAYOUT_0020 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderRangeTest/UIComponentButtonSliderRange.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderRangeTest/UIComponentButtonSliderRange.test.ets new file mode 100644 index 00000000..3d1edc09 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderRangeTest/UIComponentButtonSliderRange.test.ets @@ -0,0 +1,1208 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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' +import window from '@ohos.window' + +export default function UIComponentButtonSliderRange() { + + describe('UIComponentButtonSliderRange', () => { + 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_BUTTON_SLIDER_RANGE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0090 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0090 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0090") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot(); + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0090 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0100 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0100") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0100 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0080 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0080") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0080 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0070 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0070 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0070") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x; + let y = positionInfo.y; + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot(); + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0070 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0050 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0050") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0050 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0060 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0060") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter(); + let borderInfo = await slider.getBounds(); + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0060 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0150 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0150") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter(); + let borderInfo = await slider.getBounds(); + let x = positionInfo.x; + let y = positionInfo.y; + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot(); + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0150 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0160 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0160 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0160") + await Utils.sleep(3000) + let driver: Driver = Driver.create(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter(); + let borderInfo = await slider.getBounds(); + let x = positionInfo.x; + let y = positionInfo.y; + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0160 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0020 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0020") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter(); + let borderInfo = await slider.getBounds(); + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0020 finish.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0120 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0120") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0120 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0110 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0110 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0110") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0110 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0030 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0030") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0030 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0140 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0140 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0140") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0140 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0130 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0130") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0130 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0170 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0170 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0170") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0170 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0180 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0180 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0180") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0180 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0190 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0190 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0190") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0190 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0210_1 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0210_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0210_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0210_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0210") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0210_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0210_2 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0210_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0210_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0210_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0210") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0210_001')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0210_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_1 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0240") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_2 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0240") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0240_001')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_3 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_3 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_3 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0240") + await Utils.sleep(3000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0240_002')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0240_3 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0230_1 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0230_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0230_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0230_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0230") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0230_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0230_2 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0230_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0230_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0230_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0230") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0230_001')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0230_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_1 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0260") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_2 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0260") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0260_001')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_3 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_3 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_3 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0260") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0260_002')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_3 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_4 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_4 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_4', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_4 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0260") + await Utils.sleep(3000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0260_003')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0260_4 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0220_1 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0220_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0220_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0220_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0220") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.bottom, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.top, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0220_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0220_2 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0220_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0220_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0220_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0220") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0220_001')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0220_2 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0250_1 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0250_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0250_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0250_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0250") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0250_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0250_2 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0250_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0250_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0250_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0250") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0250_001')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0250_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0280_1 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0280_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0280_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0280_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0280") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0280_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0280_2 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0280_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0280_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0280_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0280") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0280_001')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: borderInfo.left , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0280_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0200 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0200 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0200 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0200") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0200 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0290_1 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0290_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0290_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0290_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0290") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.left, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0290_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0290_2 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0290_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0290_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0290_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0290") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderRange0290_001')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 3); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.bottom, y: y + }); + pointers.setPoint(0, 2, { + x: borderInfo.top, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_RANGE_0290_2 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderSelectedborderradiusTest/UIComponentButtonSliderSelectedborderradius.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderSelectedborderradiusTest/UIComponentButtonSliderSelectedborderradius.test.ets new file mode 100644 index 00000000..7a50e08f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderSelectedborderradiusTest/UIComponentButtonSliderSelectedborderradius.test.ets @@ -0,0 +1,173 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 UIComponentButtonSliderSelectedborderradius() { + + describe('UIComponentButtonSliderSelectedborderradius', () => { + 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_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0200 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0200 + * @tc.desc SliderStyle.OutSet + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0200 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0200") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0200_001')) + await button1.click() + await Utils.sleep(1000) + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0200_002')) + await button2.click() + await Utils.sleep(1000) + let button3: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0200_003')) + await button3.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0200 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0020 + * @tc.desc SliderStyle.InSet + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0020") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0020_001')) + await button1.click() + await Utils.sleep(1000) + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0020_002')) + await button2.click() + await Utils.sleep(1000) + let button3: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0020_003')) + await button3.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0020 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0210 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0210 + * @tc.desc SliderStyle.OutSet + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0210 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0210") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0210_001')) + await button1.click() + await Utils.sleep(1000) + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0210_002')) + await button2.click() + await Utils.sleep(1000) + let button3: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0210_003')) + await button3.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0210 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0010 + * @tc.desc SliderStyle.InSet + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0010") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0010_001')) + await button1.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0010 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0170 + * @tc.desc SliderStyle.InSet + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0170 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0170") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0170_001')) + await button1.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0170 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0030 + * @tc.desc SliderStyle.InSet + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0030") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0030_001')) + await button1.click() + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0030_002')) + await button2.click() + let button3: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSelectedborderradius0030_003')) + await button3.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SELECTEDBORDERRADIUS_0030 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderShunTest/UIComponentButtonSliderShun.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderShunTest/UIComponentButtonSliderShun.test.ets new file mode 100644 index 00000000..52129ec3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderShunTest/UIComponentButtonSliderShun.test.ets @@ -0,0 +1,213 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 window from '@ohos.window' + +export default function UIComponentButtonSliderShun() { + + describe('UIComponentButtonSliderShun', () => { + 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 UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_1 + * @tc.name UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_1 + * @tc.desc + */ + it('UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_1', 0, async (done: Function) => { + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0130") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderShun0130_001')) + await button1.click() + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderShun0130_002')) + await button2.click() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let pointer = await slider.getBoundsCenter() + let x = pointer.x + let y = pointer.y + await driver.click(x, y) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_1 finish.`); + done() + }) + /* + * @tc.number UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_2 + * @tc.name UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_2 + * @tc.desc + */ + it('UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_2', 0, async (done: Function) => { + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0130") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderShun0130_001')) + await button1.click() + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderShun0130_003')) + await button2.click() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let pointer = await slider.getBoundsCenter() + let x = pointer.x + let y = pointer.y + await driver.click(x, y) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_2 finish.`); + done() + }) + /* + * @tc.number UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_3 + * @tc.name UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_3 + * @tc.desc + */ + it('UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_3', 0, async (done: Function) => { + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_3 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0130") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderShun0130_001')) + await button1.click() + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderShun0130_004')) + await button2.click() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let pointer = await slider.getBoundsCenter() + let x = pointer.x + let y = pointer.y + await driver.click(x, y) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_3 finish.`); + done() + }) + /* + * @tc.number UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_4 + * @tc.name UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_4 + * @tc.desc + */ + it('UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_4', 0, async (done: Function) => { + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_4 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0130") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderShun0130_001')) + await button1.click() + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderShun0130_005')) + await button2.click() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let pointer = await slider.getBoundsCenter() + let x = pointer.x + let y = pointer.y + await driver.click(x, y) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0130_4 finish.`); + done() + }) + /* + * @tc.number UI_COMPONENT_BUTTON_SLIDER_SHUN_0120_1 + * @tc.name UI_COMPONENT_BUTTON_SLIDER_SHUN_0120_1 + * @tc.desc + */ + it('UI_COMPONENT_BUTTON_SLIDER_SHUN_0120_1', 0, async (done: Function) => { + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0120_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0120") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderShun0120_001')); + await button1.click() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let pointer = await slider.getBoundsCenter() + let x = pointer.x + let y = pointer.y + await driver.click(x, y) + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0120_1 finish.`); + done() + }) + /* + * @tc.number UI_COMPONENT_BUTTON_SLIDER_SHUN_0120_2 + * @tc.name UI_COMPONENT_BUTTON_SLIDER_SHUN_0120_2 + * @tc.desc + */ + it('UI_COMPONENT_BUTTON_SLIDER_SHUN_0120_2', 0, async (done: Function) => { + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0120_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0120") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderShun0120_002')); + await button1.click() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let pointer = await slider.getBoundsCenter() + let x = pointer.x + let y = pointer.y + await driver.click(x + 10, y) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0120_2 finish.`); + done() + }) + /* + * @tc.number UI_COMPONENT_BUTTON_SLIDER_SHUN_0190 + * @tc.name UI_COMPONENT_BUTTON_SLIDER_SHUN_0190 + * @tc.desc + */ + it('UI_COMPONENT_BUTTON_SLIDER_SHUN_0190', 0, async (done: Function) => { + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0190 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0190") + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0190 finish.`); + done() + }) + /* + * @tc.number UI_COMPONENT_BUTTON_SLIDER_SHUN_0200 + * @tc.name UI_COMPONENT_BUTTON_SLIDER_SHUN_0200 + * @tc.desc + */ + it('UI_COMPONENT_BUTTON_SLIDER_SHUN_0200', 0, async (done: Function) => { + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0200 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0200") + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `UI_COMPONENT_BUTTON_SLIDER_SHUN_0200 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderSliderInteractionModeTest/UIComponentButtonSliderSliderInteractionMode.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderSliderInteractionModeTest/UIComponentButtonSliderSliderInteractionMode.test.ets new file mode 100644 index 00000000..838c8c2f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderSliderInteractionModeTest/UIComponentButtonSliderSliderInteractionMode.test.ets @@ -0,0 +1,465 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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' +import window from '@ohos.window' + +export default function UIComponentButtonSliderSliderInteractionMode() { + describe('UIComponentButtonSliderSliderInteractionMode', () => { + 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_BUTTON_SLIDER_SLDERINTERACTIONMODE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0020 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0020") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await driver.click(x, y) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0020 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0040_1 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0040_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0040_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0040_1 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0040") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await driver.click(x, y) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0040_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0040_2 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0040_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0040_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0040_2 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0040") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSliderInteractionMode0040_001')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await driver.click(x, y) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0040_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0120 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0120") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + await driver.click(borderInfo.right, y) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0120 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0050 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0050") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: Math.round(borderInfo.right * 0.6), y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0050 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0010 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0010") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await driver.click(x, y) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0010 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0080 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0080") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: Math.round(borderInfo.right * 0.6), y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0080 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0100 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0100") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: Math.round(borderInfo.right * 0.3), y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0100 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0090 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0090 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0090") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: Math.round(borderInfo.right * 0.6), y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0090 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0170 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0170 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0170") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderSliderInteractionMode0170_001')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: Math.round(borderInfo.right * 0.9), y: y + }); + await driver.injectMultiPointerAction(pointers, 300); + await button.click(); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0170 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0060 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0060") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: Math.round(borderInfo.right * 0.6), y: y + }); + await driver.injectMultiPointerAction(pointers, 300); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0060 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0110 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0110 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0110") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: Math.round(borderInfo.right * 0.1), y: y + }); + await driver.injectMultiPointerAction(pointers, 300); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0110 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0130 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0130") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: Math.round(borderInfo.right * 0.6), y: y + }); + await driver.injectMultiPointerAction(pointers, 300); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0130 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0030 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0030") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x, y: y + }); + pointers.setPoint(0, 1, { + x: Math.round(borderInfo.right * 0.6), y: y + }); + await driver.injectMultiPointerAction(pointers, 300); + await driver.click(Math.round(borderInfo.right * 0.3), y) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0030 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0150 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0150") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: Math.round(borderInfo.right * 0.5), y: y + }); + pointers.setPoint(0, 1, { + x: Math.round(borderInfo.right * 0.6), y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_SLDERINTERACTIONMODE_0150 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderTrackcolorTest/UIComponentButtonSliderTrackcolor.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderTrackcolorTest/UIComponentButtonSliderTrackcolor.test.ets new file mode 100644 index 00000000..d6ce5c91 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderTrackcolorTest/UIComponentButtonSliderTrackcolor.test.ets @@ -0,0 +1,403 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 UIComponentButtonSliderTrackcolor() { + + describe('UIComponentButtonSliderTrackcolor', () => { + 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_BUTTON_SLIDER_TRACKCOLOR_0200 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0200 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0200 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0200") + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0200 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0230 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0230 + * @tc.desc trackColor + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0230 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0230") + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button1: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0230_001')); + await button1.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0230 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0170 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0170 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0170 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0170") + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0170 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0220 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0220 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0220 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0220") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0220_001')); + await button.click(); + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0220 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0030 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0030 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0030") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0030_001')); + await button.click(); + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0030_002')); + await button2.click(); + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0220 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0090 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0090 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0090 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0090") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0090_001')); + await button.click(); + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0090 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0180 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0180 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0180 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0180") + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0180 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0190 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0190 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0190 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0190") + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0190 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0010 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0010 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0010") + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0010 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0110 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0110 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0110 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0110") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0110_001')); + await button.click(); + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0110 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0040 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0040 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0040 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0040") + await Utils.sleep(2000); + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0040_001')); + await button.click(); + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0040_002')); + await button2.click(); + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0040 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0080 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0080 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0080 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0080") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0080_001')); + await button.click(); + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0080 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0070 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0070 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0070") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0070_001')); + await button.click(); + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0070 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0050 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0050 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0050") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0050_001')); + await button.click(); + let Slider = await driver.findComponent(ON.type("Slider")); + let pointCenter = await Slider.getBoundsCenter(); + await driver.click(pointCenter.x, pointCenter.y) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0050 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0060 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0060 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0060 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0060") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0060_001')); + await button.click(); + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0060 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0140 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0140 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0140 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0140") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0140_001')); + await button.click(); + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0140_002')); + await button2.click(); + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0140 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0120 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0120 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0120 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0120") + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0120 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0130 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0130 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0130 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0130") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0130_001')); + await button.click(); + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0130_002')); + await button2.click(); + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0130 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0100 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0100 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0100 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0100") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0100_001')); + await button.click(); + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0100 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0160 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0160 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0160 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0160") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0160_001')); + await button.click(); + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0160_002')); + await button2.click(); + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0160 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0150 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0150 + * @tc.desc trackColor null + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0150 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0150") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0150_001')); + await button.click(); + let button2: Component = await driver.findComponent(ON.id('UIComponentButtonSliderTrackcolor0150_002')); + await button2.click(); + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_SLIDER_TRACKCOLOR_0150 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderUxTest/UIComponentButtonSliderUx.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderUxTest/UIComponentButtonSliderUx.test.ets new file mode 100644 index 00000000..fb49ed9a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonSliderUxTest/UIComponentButtonSliderUx.test.ets @@ -0,0 +1,200 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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' +import window from '@ohos.window' + +export default function UIComponentButtonSliderUx() { + describe('UIComponentButtonSliderUx', () => { + 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_ULCOMPONENT_BUTTON_SLIDER_UX_0050 + * @tc.name SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0050 + * @tc.desc + */ + it('SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0050 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0050") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let slider = await driver.findComponent(ON.type('Slider')); + let center = await slider.getBoundsCenter(); + await driver.click(center.x, center.y); + await driver.click(center.x + 10, center.y); + await driver.click(center.x, center.y); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0050 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0060 + * @tc.name SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0060 + * @tc.desc + */ + it('SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0060 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0060") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let slider = await driver.findComponent(ON.type('Slider')); + let center = await slider.getBoundsCenter(); + await driver.longClick(center.x, center.y); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0060 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0030 + * @tc.name SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0030 + * @tc.desc + */ + it('SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0030 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0030") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let slider = await driver.findComponent(ON.type('Slider')); + let center = await slider.getBoundsCenter(); + await driver.click(center.x, center.y); + await driver.click(center.x + 10, center.y); + await driver.click(center.x, center.y); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0030 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0040 + * @tc.name SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0040 + * @tc.desc + */ + it('SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0040 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0040") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let slider = await driver.findComponent(ON.type('Slider')); + let center = await slider.getBoundsCenter(); + await driver.click(center.x + 50, center.y); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0040 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0070 + * @tc.name SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0070 + * @tc.desc + */ + it('SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0070 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0070") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let slider = await driver.findComponent(ON.type('Slider')); + let center = await slider.getBoundsCenter(); + await driver.click(center.x, center.y); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0070 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0010 + * @tc.name SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0010 + * @tc.desc + */ + it('SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0010 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0010") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let slider = await driver.findComponent(ON.id('Slider')); + let center = await slider.getBoundsCenter(); + await driver.longClick(center.x, center.y); + await slider.click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0010 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0020 + * @tc.name SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0020 + * @tc.desc + */ + it('SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0020 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0020") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let slider = await driver.findComponent(ON.id('Slider')); + let center = await slider.getBoundsCenter(); + await driver.click(center.x, center.y); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0020 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0080 + * @tc.name SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0080 + * @tc.desc + */ + it('SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0080 start.`); + Settings.createWindow("testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0080") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let slider = await driver.findComponent(ON.id('Slider')); + let center = await slider.getBoundsCenter(); + await driver.longClick(center.x, center.y); + await slider.click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_ULCOMPONENT_BUTTON_SLIDER_UX_0080 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonStyleTest/UIComponentButtonStyle.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonStyleTest/UIComponentButtonStyle.test.ets index 2a173564..c1cdda47 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonStyleTest/UIComponentButtonStyle.test.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentButtonStyleTest/UIComponentButtonStyle.test.ets @@ -18,7 +18,7 @@ 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 { Driver, ON, Component } from '@ohos.UiTest' /* * Settings.createWindow(config.url): @@ -37,7 +37,21 @@ import { Driver, ON } from '@ohos.UiTest' export default function UIComponentButtonStyle() { describe('UIComponentButtonStyle', () => { + 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_BUTTON_STYLE_0540 @@ -178,5 +192,230 @@ export default function UIComponentButtonStyle() { Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0560 finish.`); done(); }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0240 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0240 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0240 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0240") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0240_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0240 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0330 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0330 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0330 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0330") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0330_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0330 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0260 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0260 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0260 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0260") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0260_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0260 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0230 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0230 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0230") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0230_001')); + await button.click(); + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let x = positionInfo.x + let y = positionInfo.y + await driver.click(x, y) + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0230 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0270 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0270 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0270 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0270") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0270_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0270 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0300 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0300 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0300 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0300") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0300_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0300 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0340 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0340 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0340 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0340") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0340_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0340 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0350 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0350 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0350 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0350") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0350_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0350 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0250 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0250 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0250") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0250_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0250 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0360 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0360 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0360 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0360") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0360_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0360 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0320 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0320 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0320 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0320") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0320_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0320 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0290 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0290 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0290 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0290") + await Utils.sleep(2000) + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentButtonStyle0290_001')); + await button.click(); + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0290 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0310 + * @tc.name SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0310 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0310 start.`); + Settings.createWindow("testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0310") + await Utils.sleep(3000) + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_BUTTON_STYLE_0310 finish.`); + done() + }) + }) } diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentMediaImageFocusableTest/UIComponentMediaImageFocusable.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentMediaImageFocusableTest/UIComponentMediaImageFocusable.test.ets new file mode 100644 index 00000000..f20eeee8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentMediaImageFocusableTest/UIComponentMediaImageFocusable.test.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 { 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentMediaImageFocusable() { + + describe('UIComponentMediaImageFocusable', () => { + 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_MEDIA_IMAGE_FOCUSABLE_0012 + * @tc.name SUB_ACE_UI_COMPONENT_MEDIA_IMAGE_FOCUSABLE_0012 + * @tc.desc TextTimer component test + */ + it('SUB_ACE_UI_COMPONENT_MEDIA_IMAGE_FOCUSABLE_0012', 0, async (done: Function) => { + Logger.info('TEST', 'SUB_ACE_UI_COMPONENT_MEDIA_IMAGE_FOCUSABLE_0012 start.'); + Settings.createWindow("testability/pages/UIComponentMediaImageFocusable/UIComponentMediaImageFocusable0012"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await driver.triggerKey(2049); + await Utils.sleep(800); + await driver.triggerKey(2015); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(4000); + Logger.info('TEST', 'SUB_ACE_UI_COMPONENT_MEDIA_IMAGE_FOCUSABLE_0012 finish.'); + done(); + }) + + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelAnalysisTest/UIComponentOtherPanelAnalysis.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelAnalysisTest/UIComponentOtherPanelAnalysis.test.ets new file mode 100644 index 00000000..1fddfa56 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelAnalysisTest/UIComponentOtherPanelAnalysis.test.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 { 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 UIComponentOtherPanelAnalysis() { + describe('UIComponentOtherPanelAnalysis', () => { + 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_OTHER_PANEL_ANALYSIS_0010 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_ANALYSIS_0010 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_ANALYSIS_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_ANALYSIS_0010 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelAnalysis/UIComponentOtherPanelAnalysis0010") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelAnalysis0010_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_ANALYSIS_0010 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelInteractionTest/UIComponentOtherPanelInteraction.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelInteractionTest/UIComponentOtherPanelInteraction.test.ets new file mode 100644 index 00000000..f76926a9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelInteractionTest/UIComponentOtherPanelInteraction.test.ets @@ -0,0 +1,163 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 UIComponentOtherPanelInteraction() { + describe('UIComponentOtherPanelInteraction', () => { + 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_OTHER_PANEL_INTERACTION_0030 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0030 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0030 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0030") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInteraction0030_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0030 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0020_1 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0020_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0020_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0020_1 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0020") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInteraction0020_001')) + await text.click() + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0020_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0020_2 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0020_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0020_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0020_2 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0020") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInteraction0020_001')) + await text.click() + await Utils.sleep(1000) + let Panel: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInteraction0020_002')) + let borderInfo = await Panel.getBounds() + let textInfo = await text.getBounds() + let center = await Panel.getBoundsCenter() + await driver.drag(center.x, Math.round((borderInfo.bottom - borderInfo.top) / 2), center.x, textInfo.top, 500) + await Utils.sleep(500) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0020_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_1 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_1 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0010") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInteraction0010_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_2 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_2 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0010") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInteraction0010_001')) + await text.click() + await Utils.sleep(1000) + let textMode: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInteraction0010_002')) + await textMode.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_3 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_3 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_3', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_3 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0010") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInteraction0010_001')) + await text.click() + await Utils.sleep(1000) + let textMode: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInteraction0010_003')) + await textMode.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERACTION_0010_3 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelInterfaceTest/UIComponentOtherPanelInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelInterfaceTest/UIComponentOtherPanelInterface.test.ets new file mode 100644 index 00000000..ea2aa330 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentOtherPanelInterfaceTest/UIComponentOtherPanelInterface.test.ets @@ -0,0 +1,804 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 UIComponentOtherPanelInterface() { + describe('UIComponentOtherPanelInterface', () => { + 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_OTHER_PANEL_INTERFACE_0300 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0300 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0300 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0300") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0300_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0300 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0160 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0160 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0160") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0160_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0160 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0360 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0360 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0360 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0360") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0360_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0360 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0190 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0190 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0190") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0190_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0190 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0070_1 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0070_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0070_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0070_1 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0070") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0070_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0070_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0070_2 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0070_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0070_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0070_2 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0070") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0070_001')) + await text.click() + await Utils.sleep(1000) + let button: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0070_002')) + await button.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0070_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0250 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0250 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0250") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0250_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0250 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0110 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0110 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0110") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0110_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0110 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0130 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0130") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0130_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0130 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0320 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0320 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0320 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0320") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0320_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0320 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0100 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0100") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0100_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0100 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0140 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0140 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0140") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0140_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0140 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0340 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0340 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0340 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0340") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0340_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0340 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0290 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0290 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0290 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0290") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0290_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0290 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0380 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0380 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0380 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0380") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0380_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0380 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0330 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0330 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0330 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0330") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0330_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0330 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0280 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0280 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0280 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0280") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0280_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0280 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0370 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0370 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0370 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0370") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0370_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0370 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0080 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0080") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0080_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0080 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0120 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0120") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0120_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0120 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0400 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0400 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0400 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0400") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0400_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0400 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0270 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0270 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0270 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0270") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0270_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0270 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0350 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0350 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0350 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0350") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0350_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0350 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0040 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0040 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0040 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0040") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0040_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0040 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0240 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0240 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0240 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0240") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0240_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0240 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0220 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0220 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0220") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0220_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0220 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0390 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0390 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0390 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0390") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0390_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0390 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0180 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0180 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0180 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0180") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0180_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0180 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0230 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0230 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0230") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0230_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0230 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0170 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0170 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0170") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0170_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0170 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0090_1 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0090_1 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0090_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0090_1 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0090") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0090_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0090_1 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0090_2 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0090_2 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0090_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0090_2 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0090") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0090_001')) + await text.click() + await Utils.sleep(1000) + let typeText: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0090_002')) + await typeText.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0090_2 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0150 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0150") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0150_001')) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0150 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0060 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0060") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0060_001')) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0060 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0020 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0020") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0020_001')) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0020 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0030 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0030") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0030_001')) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0030 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0260 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0260 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0260 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0260") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0260_001')) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0260 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0050 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0050") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0050_001')) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0050 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0210 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0210 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0210 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0210") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0210_001')) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0210 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0310 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0310 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0310 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0310") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0310_001')) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0310 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0010 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0010 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0010") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0010_001')) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0010 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0200 + * @tc.name SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0200 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0200 start.`); + Settings.createWindow("testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0200") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentOtherPanelInterface0200_001')) + await text.click() + await Utils.sleep(1000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_OTHER_PANEL_INTERFACE_0200 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxBindMenuTest/UIComponentPopupboxBindMenu.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxBindMenuTest/UIComponentPopupboxBindMenu.test.ets new file mode 100644 index 00000000..14ec7c65 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxBindMenuTest/UIComponentPopupboxBindMenu.test.ets @@ -0,0 +1,163 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxBindMenu() { + + describe('UIComponentPopupboxBindMenu', () => { + 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_POPUPBOX_BINDMENU_0010 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0010"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxBindMenu0010_01')); + let buttonCenterPos = await button.getBoundsCenter(); + let buttonC: Component = await driver.findComponent(ON.id('UIComponentPopupboxBindMenu0010_02')); + + await button.click(); + await Utils.sleep(1000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(1000); + + await buttonC.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_POPUPBOX_BINDMENU_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0020 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0020"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxBindMenu0020_01')); + let buttonCenterPos = await button.getBoundsCenter(); + let buttonC: Component = await driver.findComponent(ON.id('UIComponentPopupboxBindMenu0020_02')); + + await button.click(); + await Utils.sleep(1000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(1000); + + await buttonC.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_POPUPBOX_BINDMENU_0020 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0030 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0030"); + await Utils.sleep(3000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxBindMenu0030_01')); + + await button.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_POPUPBOX_BINDMENU_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0040 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0040"); + await Utils.sleep(3000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxBindMenu0040_02')); + await button.click(); + await Utils.sleep(1000); + + let button2: Component = await driver.findComponent(ON.id('UIComponentPopupboxBindMenu0040_01')); + await button2.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_BINDMENU_0040 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxConsistencySceneTest/UIComponentPopupboxConsistencyScene.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxConsistencySceneTest/UIComponentPopupboxConsistencyScene.test.ets new file mode 100644 index 00000000..934724a9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxConsistencySceneTest/UIComponentPopupboxConsistencyScene.test.ets @@ -0,0 +1,181 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxConsistencyScene() { + + describe('UIComponentPopupboxConsistencyScene', () => { + 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_POPUPBOX_CONSISTENCY_SCENE_0080 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0080_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0080_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0080"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxConsistencyScene0080_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0080_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0080 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0080_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0080_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0080"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxConsistencyScene0080_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0080_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0050 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0050_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0050_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0050"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxConsistencyScene0050_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0050_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0050 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0050_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0050_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0050"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxConsistencyScene0050_02')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0050_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0010 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0010"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxConsistencyScene0010_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0060 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0060"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxConsistencyScene0060_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_CONSISTENCY_SCENE_0060 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuAnalysisTest/UIComponentPopupboxMenuAnalysis.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuAnalysisTest/UIComponentPopupboxMenuAnalysis.test.ets new file mode 100644 index 00000000..253242de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuAnalysisTest/UIComponentPopupboxMenuAnalysis.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 { 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuAnalysis() { + + describe('UIComponentPopupboxMenuAnalysis', () => { + 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_POPUPBOX_MENU_ANALYSIS_0040 + * @tc.name Safe area test + * @tc.desc Safe area test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0040"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuAnalysis0040_01')); + + await button.click(); + await Utils.sleep(1000); + + let button2: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuAnalysis0040_02')); + await button2.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0020 + * @tc.name Safe area test + * @tc.desc Safe area test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0020_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0020_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0020"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuAnalysis0020_01')); + + await button.click(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuAnalysis0020_02')); + await menuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0020_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0020 + * @tc.name Safe area test + * @tc.desc Safe area test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0020_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0020_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0020"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuAnalysis0020_01')); + + await button.longClick(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuAnalysis0020_02')); + await menuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_ANALYSIS_0020_02 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuBindContextMenuIsShownTest/UIComponentPopupboxMenuBindContextMenuIsShownTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuBindContextMenuIsShownTest/UIComponentPopupboxMenuBindContextMenuIsShownTest.test.ets new file mode 100644 index 00000000..83150ab4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuBindContextMenuIsShownTest/UIComponentPopupboxMenuBindContextMenuIsShownTest.test.ets @@ -0,0 +1,456 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 UIComponentPopupboxMenuBindContextMenuIsShown() { + + describe('UIComponentPopupboxMenuBindContextMenuIsShown', () => { + 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_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0050 + * @tc.name isShow=true + * @tc.desc isShow=true + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0050"); + await Utils.sleep(2000); + //Step1: no Menu + // await windowSnap.snapShot() + // await Utils.sleep(2000) + + //Step2: click show menu + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0050_01')); + await text.click(); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0080 + * @tc.name isShow=false + * @tc.desc isShow=false + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0080"); + await Utils.sleep(2000); + + //Step1: click show menu + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0080_01')); + let pointCenter = await text.getBoundsCenter(); + await text.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + + // Step2: click Hide menu + await driver.click(pointCenter.x, pointCenter.y - 300); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0080 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0090 + * @tc.name isShow=false + * @tc.desc isShow=false + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0090"); + await Utils.sleep(2000); + + //Step1: click show menu + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0090_01')); + await text.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0090 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0170 + * @tc.name Placement.Left + * @tc.desc Placement.Left + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0170"); + await Utils.sleep(2000); + + //Step1: click not show menu + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0170_01')); + await text.click(); + await Utils.sleep(3000); + await windowSnap.snapShot(); + await Utils.sleep(3000); + + //Step2: show menu + // let text1: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0170_01')) + // await text1.click(); + // await windowSnap.snapShot() + // await Utils.sleep(2000) + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0170 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0030 + * @tc.name bindContextMenu isShow + * @tc.desc bindContextMenu isShow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0030"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0030_01')); + let pointCenter = await text.getBoundsCenter(); + //Step1: click show menu + await text.click(); + await Utils.sleep(1000); + await driver.click(pointCenter.x, pointCenter.y - 200); + await Utils.sleep(1000); + + //Step2: click menu not show + await text.click(); + await Utils.sleep(1000); + + //Step3: click show menu + await text.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0130 + * @tc.name bindContextMenu isShow + * @tc.desc bindContextMenu isShow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0130"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0130_01')); + //Step1: click show menu + await text.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0130 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0130 + * @tc.name bindContextMenu isShow + * @tc.desc bindContextMenu isShow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0110"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0110_01')); + //Step1: click show menu + await text.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0110 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0100 + * @tc.name bindContextMenu offset: { x: "30px", y: "30px" } + * @tc.desc bindContextMenu offset: { x: "30px", y: "30px" } + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0100"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0100_01')); + //Step1: click show menu + await text.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0100 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0120 + * @tc.name bindContextMenu arrowOffset: 2 + * @tc.desc bindContextMenu arrowOffset: 2 + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0120"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0120_01')); + //Step1: click show menu + await text.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0120 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0150 + * @tc.name bindContextMenu placement.Right + * @tc.desc bindContextMenu placement.Right + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0150"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0150_01')); + + //Step1: click show menu + await text.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0150 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0140 + * @tc.name bindContextMenu backgroundBlurStyle + * @tc.desc bindContextMenu backgroundBlurStyle + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0140"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0140_01')); + + //Step1: click show menu + await text.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0140 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0040 + * @tc.name bindContextMenu isShow + * @tc.desc bindContextMenu isShow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0040"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0040_01')); + let pointCenter = await text.getBoundsCenter(); + //Step1: click show menu + await text.click(); + await Utils.sleep(1000); + await driver.click(pointCenter.x, pointCenter.y - 200); + await Utils.sleep(500); + + //Step2: click menu not show + await text.click(); + await Utils.sleep(200); + await text.click(); + await Utils.sleep(1000); + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0040_02')); + await menuItem.click(); + await Utils.sleep(500); + + //Step3: click show menu + await text.click(); + await Utils.sleep(200); + await text.click(); + await Utils.sleep(2000); + + //Step4: click show menu + await text.click(); + await Utils.sleep(200); + await text.click(); + await Utils.sleep(1000); + await driver.click(pointCenter.x, pointCenter.y - 200); + await Utils.sleep(500); + + //Step5: click show menu + await text.click(); + await Utils.sleep(200); + await text.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0160 + * @tc.name Placement.Left + * @tc.desc Placement.Left + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0160"); + await Utils.sleep(2000); + + //Step1: click not show menu + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0160_01')); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0160_02')); + let buttonCenterPos = await button.getBoundsCenter(); + + await text.click(); + await Utils.sleep(1000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(1000); + + await button.click(); + await Utils.sleep(1000); + + await text.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(3000); + + //Step2: show menu + // let text1: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0160_01')) + // await text1.click(); + // await windowSnap.snapShot() + // await Utils.sleep(2000) + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0160 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0180 + * @tc.name Placement.Left + * @tc.desc Placement.Left + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0180"); + await Utils.sleep(2000); + + //Step1: click not show menu + let driver: Driver = Driver.create(); + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenuIsShown0180_01')); + let textCenterPos = await text.getBoundsCenter(); + await text.click(); + await Utils.sleep(1000); + + // await driver.click(textCenterPos.x, textCenterPos.y); + // await Utils.sleep(1000); + // + // await text.click(); + // await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(3000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0180 finish.`); + done(); + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuBindContextMenuTest/UIComponentPopupboxMenuBindContextMenu.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuBindContextMenuTest/UIComponentPopupboxMenuBindContextMenu.test.ets new file mode 100644 index 00000000..d2f1fadf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuBindContextMenuTest/UIComponentPopupboxMenuBindContextMenu.test.ets @@ -0,0 +1,455 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuBindContextMenu() { + + describe('UIComponentPopupboxMenuBindContextMenu', () => { + 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_POPUPBOX_MENU_BINDCONTEXTMENU_0010 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0010"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0010_01')); + + await button.longClick(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0010_02')); + await menuItem.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0700 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0700 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0700"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0700_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0700 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0580 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0580 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0580"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0580_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0580 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0720 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0720 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0720"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0720_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0720 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0590 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0590 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0590"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0590_01')); + + await button.longClick(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0590_02')); + await menuItem.click(); + await Utils.sleep(1000); + + await button.longClick(); + await Utils.sleep(1000); + + let menuItem2: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0590_03')); + await menuItem2.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0590 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0600 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0600 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0600"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0600_01')); + + await button.longClick(); + await Utils.sleep(1000); + + { + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0600_02')); + await menuItem.click(); + await Utils.sleep(500); + + let subMenuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0600_03')); + await subMenuItem.click(); + await Utils.sleep(500); + } + + await button.longClick(); + await Utils.sleep(1000); + + { + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0600_02')); + await menuItem.click(); + await Utils.sleep(500); + + let subMenuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0600_04')); + await subMenuItem.click(); + await Utils.sleep(500); + } + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0600 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0690 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0690 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0690"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0690_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0690 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0710 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0710 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0710"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0710_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0710 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0570 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0570 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0570"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0570_01')); + + await button.longClick(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0570_02')); + await menuItem.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0570 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0670 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0670 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0670"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0670_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0670 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0020 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0020"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0020_01')); + + await button.longClick(); + await Utils.sleep(1000); + + { + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0020_02')); + await menuItem.click(); + await Utils.sleep(1000); + } + + await button.longClick(); + await Utils.sleep(1000); + + { + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0020_03')); + await menuItem.click(); + await Utils.sleep(1000); + } + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0020 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0660 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0660 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0660"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0660_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0660 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0730 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0730 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0730"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0730_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0730 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0030 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0030"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0030_01')); + + await button.longClick(); + await Utils.sleep(1000); + + { + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0030_02')); + await menuItem.click(); + await Utils.sleep(500); + + let subMenuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0030_03')); + await subMenuItem.click(); + await Utils.sleep(500); + } + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0680 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0680 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0680"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuBindContextMenu0680_01')); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENU_0680 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuCornerTest/UIComponentPopupboxMenuCorner.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuCornerTest/UIComponentPopupboxMenuCorner.test.ets new file mode 100644 index 00000000..3e432750 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuCornerTest/UIComponentPopupboxMenuCorner.test.ets @@ -0,0 +1,1149 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuCorner() { + + describe('UIComponentPopupboxMenuCorner', () => { + 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_POPUPBOX_MENU_CORNER_0020 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0020"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0020_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0020 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0030 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0030"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0030_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0040 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0040"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0040_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0140 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0140"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0140_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0140 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0070 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0070"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0070_01')); + await button.longClick(); + await Utils.sleep(2000); + + let menuItemS1: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0070_02')); + await menuItemS1.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0070 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0080 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0080"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0080_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0080 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0120 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0120"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0120_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0120 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0160 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0160"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0160_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0160 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0170 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0170"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0170_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0170 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0060 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0060"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0060_01')); + await button.longClick(); + await Utils.sleep(1000); + + let menuItemS1: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0060_02')); + await menuItemS1.click(); + await Utils.sleep(1000); + + let menuItemS2: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0060_03')); + await menuItemS2.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0190 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0190"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0190_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0190 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0050 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0050"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0050_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0100 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0100"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0100_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0100 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0130 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0130"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0130_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0130 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0010 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0010"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0010_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0150 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0150"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0150_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0150 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0180 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0180"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0180_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0180 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0200 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0200 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0200"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0200_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0200 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0110 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0110"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0110_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0110 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0210 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0210 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0210"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0210_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0210 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0220 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0220 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0220"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0220_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0220 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0230 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0230 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0230"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0230_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0230 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0340 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0340 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0340"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0340_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0340 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0330 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0330 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0330"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0330_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0330 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0320 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0320 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0320"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0320_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.click(); + await Utils.sleep(1000); + + + await driver.click(buttonCenterPos.x, buttonCenterPos.y-200); + await Utils.sleep(1000); + + let buttonSwitch: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0320_02')); + await buttonSwitch.click(); + await Utils.sleep(500); + await button.click(); + await Utils.sleep(500); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0320 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0270 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0270"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0270_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0270 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0360 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0360 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0360"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0360_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0360 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0310 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0310 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0310"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0310_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0310 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0260 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0260"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0260_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0260 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0240 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0240 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0240"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0240_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0240 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0280 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0280 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0280"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0280_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0280 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0290 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0290 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0290"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0290_01')); + await button.click(); + await Utils.sleep(1000); + + let menuItemS1: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0290_02')); + await menuItemS1.click(); + await Utils.sleep(1000); + + let menuItemS2: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0290_03')); + await menuItemS2.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0290 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0400 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0400 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0400"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0400_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0400 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0390 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0390 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0390"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0390_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0390 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0300 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0300 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0300"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0300_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItemS1: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0300_02')); + await menuItemS1.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0300 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0380 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0380 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0380"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0380_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0380 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0410 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0410 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0410"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0410_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0410 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0350 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0350 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0350"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0350_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0350 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0420 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0420 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0420"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0420_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0420 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0430 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0430 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0430"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0430_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0430 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0370 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0370 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0370"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0370_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0370 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0440 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0440 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0440"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0440_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0440 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0460 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0460 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0460"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0460_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0460 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0450 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0450 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0450"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0450_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0450 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0250 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0250"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0250_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0250 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0090 + * @tc.name bindContextMenu radius test + * @tc.desc bindContextMenu radius test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0090"); + await Utils.sleep(1000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0090_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.longClick(); + await Utils.sleep(500); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y+200); + await Utils.sleep(200); + + let buttonSwitch: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuCorner0090_02')); + await buttonSwitch.click(); + await Utils.sleep(500); + await button.longClick(); + await Utils.sleep(500); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_CORNER_0090 finish.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuDirectTest/UIComponentPopupboxMenuDirect.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuDirectTest/UIComponentPopupboxMenuDirect.test.ets new file mode 100644 index 00000000..b0ba56d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuDirectTest/UIComponentPopupboxMenuDirect.test.ets @@ -0,0 +1,619 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuDirect() { + + describe('UIComponentPopupboxMenuDirect', () => { + 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_POPUPBOX_MENU_DIRECT_0010 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0010"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0010_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0070 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0070"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0070_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0070 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0060 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0060"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0060_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0100 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0100"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0100_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0100 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0050 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0050"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0050_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0080 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0080"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0080_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0080 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0090 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0090"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0090_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0090 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0110 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0110"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0110_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0110 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0200 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0200 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0200"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0200_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0200 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0040 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0040"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0040_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0030 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0030"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0030_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0150 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0150"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0150_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0150 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0140 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0140"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0140_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0140 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0190 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0190"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0190_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0190 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0180 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0180"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0180_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0180 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0160 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0160"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0160_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0160 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0170 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0170"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0170_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0170 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0210 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0210 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0210"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0210_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0210 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0120 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0120"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0120_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0120 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0220 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0220 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0220"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0220_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0220 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0240 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0240 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0240"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0240_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0240 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0230 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0230 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0230"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0230_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0230 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0260 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0260"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0260_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0260 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0250 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0250"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0250_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0250 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0270 + * @tc.name bindContextMenu direct test + * @tc.desc bindContextMenu direct test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0270"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuDirect0270_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_DIRECT_0270 finish.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuEnhancementTest/UIComponentPopupboxMenuEnhancement.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuEnhancementTest/UIComponentPopupboxMenuEnhancement.test.ets new file mode 100644 index 00000000..89f38f62 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuEnhancementTest/UIComponentPopupboxMenuEnhancement.test.ets @@ -0,0 +1,284 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 UIComponentPopupboxMenuEnhancement() { + + describe('UIComponentPopupboxMenuEnhancement', () => { + 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_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0010 + * @tc.name SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0010 + * @tc.desc nav width + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement001") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0010_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0010 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0080 + * @tc.name SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0080 + * @tc.desc nav width + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement008") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0080_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0080 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0090 + * @tc.name SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0090 + * @tc.desc nav width + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement009") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0090_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0090 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0100 + * @tc.name SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0100 + * @tc.desc nav width + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement010") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0100_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0100 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0170 + * @tc.name SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0170 + * @tc.desc nav width + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement017") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0170_001')) + await button.longClick() + await Utils.sleep(2000) + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0170_002')) + await menuItem.click() + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0170 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0050 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0050"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0050_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0020 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0020"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0020_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0020 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0040 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0040"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0040_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0060 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0060"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0060_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0030 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0030"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0030_01')); + + await button.click(); + await Utils.sleep(2000); + + let column: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0030_02')); + let columnCenterPos = await column.getBoundsCenter(); + + await driver.swipe(columnCenterPos.x, columnCenterPos.y, columnCenterPos.x, columnCenterPos.y -500); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0070 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0070"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0070_01')); + + await button.click(); + await Utils.sleep(2000); + + let column: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuEnhancement0070_02')); + let columnCenterPos = await column.getBoundsCenter(); + + await driver.swipe(columnCenterPos.x, columnCenterPos.y, columnCenterPos.x, columnCenterPos.y -500); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_POPUPBOX_MENU_ENHANCEMENT_0070 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuHmsymbolTest/UIComponentPopupboxMenuHmsymbol.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuHmsymbolTest/UIComponentPopupboxMenuHmsymbol.test.ets new file mode 100644 index 00000000..ebec4323 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuHmsymbolTest/UIComponentPopupboxMenuHmsymbol.test.ets @@ -0,0 +1,1204 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuHmsymbol() { + + describe('UIComponentPopupboxMenuHmsymbol', () => { + 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_POPUPBOX_MENU_HMSYMBOL_0030 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0030"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0030_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0070 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0070"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0070_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0070 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0040 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0040"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0040_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0130 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0130"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0130_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0130 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0050 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0050"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0050_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0020 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0020"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0020_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0020 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0140 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0140"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0140_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0140 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0010 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0010"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0010_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0150 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0150"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0150_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0150 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0160 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0160"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0160_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0160 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0060 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0060"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0060_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0090 + * @tc.name bindMenu icon test + * @tc.desc bindMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0090"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0090_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0090 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0100 + * @tc.name bindMenu icon test + * @tc.desc bindMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0100"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0100_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0100 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0110 + * @tc.name bindMenu icon test + * @tc.desc bindMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0110"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0110_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0110 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0080 + * @tc.name bindMenu icon test + * @tc.desc bindMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0080"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0080_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0080 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0120 + * @tc.name bindMenu icon test + * @tc.desc bindMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0120"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0120_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0120 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0190 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0190"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0190_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0190 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0200 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0200 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0200"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0200_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0200 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0210 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0210 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0210"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0210_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0210 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0240 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0240 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0240"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0240_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0240 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0250 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0250"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0250_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0250 finish.`); + done(); + }) + + //11-1 + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0220 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0220 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0220"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0220_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0220 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0260 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0260"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0260_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0260 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0520 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0520 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0520"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0520_01')); + let buttonCenter = await button.getBoundsCenter(); + await button.longClick(); + await Utils.sleep(2000); + await driver.click(buttonCenter.x, buttonCenter.y+100); + + let buttonChangeProps: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0520_02')); + await buttonChangeProps.click(); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0520 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0270 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0270"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0270_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0270 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0310 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0310 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0310"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0310_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0310 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0280 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0280 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0280"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0280_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0280 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0340 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0340 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0340"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0340_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0340 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0330 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0330 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0330"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0330_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0330 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0350 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0350 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0350"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0350_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0350 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0360 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0360 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0360"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0360_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0360 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0320 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0320 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0320"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0320_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0320 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0390 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0390 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0390"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0390_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0390 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0400 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0400 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0400"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0400_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0400 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0420 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0420 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0420"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0420_01')); + await button.longClick(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0420_02')); + await menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0420 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0410 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0410 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0410"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0410_01')); + await button.longClick(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0410_02')); + await menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0410 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0430 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0430 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0430"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0430_01')); + await button.longClick(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0430_02')); + await menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0430 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0440 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0440 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0440"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0440_01')); + await button.longClick(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0440_02')); + await menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0440 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0450 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0450 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0450"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0450_01')); + await button.longClick(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0450_02')); + await menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0450 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0460 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0460 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0460"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0460_01')); + await button.longClick(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0460_02')); + await menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0460 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0470 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0470 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0470"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0470_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0470 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0490 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0490 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0490"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0490_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0490 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0500 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0500 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0500"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0500_01')); + let buttonCenter = await button.getBoundsCenter(); + await button.longClick(); + await Utils.sleep(2000); + + await driver.click(buttonCenter.x, buttonCenter.y+100); + + let buttonChangeProps: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0500_02')); + await buttonChangeProps.click(); + + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0500 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0530 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0530 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0530"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0530_01')); + + let buttonSwitch: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0530_02')); + await buttonSwitch.click(); + await Utils.sleep(1000); + + let buttonCenter = await button.getBoundsCenter(); + await button.longClick(); + await Utils.sleep(1000); + await driver.click(buttonCenter.x, buttonCenter.y+100); + await Utils.sleep(1000); + + await buttonSwitch.click(); + await Utils.sleep(1000); + + await button.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0530 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0540 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0540 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0540"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0540_01')); + + await button.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0540 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0510 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0510 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0510"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0510_01')); + let buttonSwitch: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0510_02')); + let buttonCenter = await button.getBoundsCenter(); + + await button.longClick(); + await Utils.sleep(1000); + await driver.click(buttonCenter.x, buttonCenter.y+100); + await Utils.sleep(1000); + + await buttonSwitch.click(); + await Utils.sleep(1000); + + await button.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0510 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0480 + * @tc.name bindContextMenu icon test + * @tc.desc bindContextMenu icon test + * @tc.level Level 3 + */ + it('SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0480 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0480"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0480_01')); + let buttonCenter = await button.getBoundsCenter(); + + await button.longClick(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuHmsymbol0480_02')); + await menuItem.click(); + await Utils.sleep(1000); + + await driver.click(buttonCenter.x, buttonCenter.y+100); + await Utils.sleep(1000); + + await button.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_HMSYMBOL_0480 finish.`); + done(); + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuInterfaceTest/UIComponentPopupboxMenuInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuInterfaceTest/UIComponentPopupboxMenuInterface.test.ets new file mode 100644 index 00000000..c1363569 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuInterfaceTest/UIComponentPopupboxMenuInterface.test.ets @@ -0,0 +1,535 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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 UIComponentPopupboxMenuInterface() { + + describe('UIComponentPopupboxMenuInterface', () => { + 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_POPUPBOX_MENU_INTERFACE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0140 + * @tc.desc nav width + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0140") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0140_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0140 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0220 + * @tc.desc backgroundBlurStyle + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0220 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0220") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0220_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0220 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0230 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0230 + * @tc.desc backgroundBlurStyle + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0230 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0230") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0230_001')) + await button.longClick().then(()=>{ + Logger.info(`renyj SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0230 longClick---.`); + }) + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0230 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0250 + * @tc.desc backgroundBlurStyle + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0250") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0250_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0250 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0260 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0260 + * @tc.desc backgroundBlurStyle + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0260") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0260_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0260 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0270 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0270 + * @tc.desc backgroundBlurStyle + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0270") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0270_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0270 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0280 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0280 + * @tc.desc backgroundBlurStyle + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0280 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0280") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0280_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0280 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0020 + * @tc.desc backgroundBlurStyle + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0020") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0020_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0020 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0170 + * @tc.desc backgroundBlurStyle + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0170") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0170_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0170 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0190 + * @tc.desc backgroundBlurStyle + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0190") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0190_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0190 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0040 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0040 + * @tc.desc showInSubWindow + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0040") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0040_001')) + await button.longClick() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0040 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0110 + * @tc.desc backgroundBlurStyle + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0110") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0110_001')) + let pointCenter = await button.getBoundsCenter(); + await button.longClick() + await Utils.sleep(3000) + await driver.click(pointCenter.x + 1000, pointCenter.y + 500) + await Utils.sleep(3000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0110 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0240 + * @tc.name backgroundBlurStyle=BlurStyle.NONE + * @tc.desc backgroundBlurStyle=BlurStyle.NONE + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0240 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0240") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0240_01')) + await button.longClick(); + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0240 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0210 + * @tc.name backgroundBlurStyle=BlurStyle.BACKGROUND_REGULAR + * @tc.desc backgroundBlurStyle=BlurStyle.BACKGROUND_REGULAR + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0210 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0210") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0210_01')) + await button.longClick(); + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0210 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0290 + * @tc.name backgroundBlurStyle=BlurStyle.COMPONENT_ULTRA_THICK + * @tc.desc backgroundBlurStyle=BlurStyle.COMPONENT_ULTRA_THICK + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0290 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0290") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0290_01')) + await button.longClick(); + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0290 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0080 + * @tc.name ContextMenuOptions=offset.$r("app.media string) + * @tc.desc ContextMenuOptions=offset.$r("app.media string) + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0080") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0080_01')) + await button.longClick(); + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0080 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0120 + * @tc.name backgroundColor=Color.Pink + * @tc.desc backgroundColor=Color.Pink + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0120") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0120_01')) + await button.longClick(); + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0120 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0060 + * @tc.name ContextMenuOptions=offset {x:30px y:30px} + * @tc.desc ContextMenuOptions=offset {x:30px y:30px} + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0060") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0060_01')) + await button.longClick(); + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0060 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0010 + * @tc.name ContextMenuOptions=offset {x:30px y:30px} + * @tc.desc ContextMenuOptions=offset {x:30px y:30px} + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0100") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0100_01')) + await button.longClick(); + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0100 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0010 + * @tc.name bindMenu=> icon="../media/icon.png" + * @tc.desc bindMenu=> icon="../media/icon.png" + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0010") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0010_01')) + await button.click(); + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0010 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0070 + * @tc.name ContextMenuOptions=offset {x:30px y:30px} + * @tc.desc ContextMenuOptions=offset {x:30px y:30px} + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0070") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0070_01')) + await button.longClick(); + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0070 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0030 + * @tc.name bindMenu=> showInSubWindow: true + * @tc.desc bindMenu=> showInSubWindow: true + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0030") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0030_01')) + await button.click(); + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0030 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0180 + * @tc.name backgroundBlurStyle=BlurStyle.Regular + * @tc.desc backgroundBlurStyle=BlurStyle.Regular + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0180") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0180_01')) + await button.longClick(); + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0180 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0200 + * @tc.name backgroundBlurStyle=BlurStyle.BACKGROUND_THIN + * @tc.desc backgroundBlurStyle=BlurStyle.BACKGROUND_THIN + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0200 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0200") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0200_01')) + await button.longClick(); + windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0200 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0150 + * @tc.name backgroundColor=Color.Gray + * @tc.desc backgroundColor=Color.Gray + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0150") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0150_01')) + await button.longClick(); + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0150 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0130 + * @tc.name backgroundColor=0x008000 + * @tc.desc backgroundColor=0x008000 + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0130") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuInterface0130_01')) + await button.longClick(); + await windowSnap.snapShot() + await Utils.sleep(2000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_INTERFACE_0130 finish.`); + done() + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuLocationTest/UIComponentPopupboxMenuLocation.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuLocationTest/UIComponentPopupboxMenuLocation.test.ets new file mode 100644 index 00000000..31f63553 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuLocationTest/UIComponentPopupboxMenuLocation.test.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 { 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuLocation() { + + describe('UIComponentPopupboxMenuLocation', () => { + 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_POPUPBOX_MENU_LOCATION_0190 + * @tc.name Safe area test + * @tc.desc Safe area test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0190_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0190_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0190"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuLocation0190_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0190_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0190 + * @tc.name Safe area test + * @tc.desc Safe area test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0190_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0190_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0190"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuLocation0190_02')); + let buttonCenterPos = await button.getBoundsCenter(); + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0190_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0160 + * @tc.name Safe area test + * @tc.desc Safe area test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0160_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0160_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0160"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuLocation0160_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0160_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0160 + * @tc.name Safe area test + * @tc.desc Safe area test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0160_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0160_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0160"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuLocation0160_02')); + let buttonCenterPos = await button.getBoundsCenter(); + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_LOCATION_0160_02 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuPcheightTest/UIComponentPopupboxMenuPcheight.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuPcheightTest/UIComponentPopupboxMenuPcheight.test.ets new file mode 100644 index 00000000..78ad79d1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuPcheightTest/UIComponentPopupboxMenuPcheight.test.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 { 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 UIComponentPopupboxMenuPcheight() { + + describe('UIComponentPopupboxMenuPcheight', () => { + 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_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0050 + * @tc.name menu list + * @tc.desc menu list + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0220 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0220"); + await Utils.sleep(2000); + + //Step2: click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuPcheight0220_02')); + await button.longClick(); + await Utils.sleep(2000); + + let list: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuPcheight0220_01')); + let listCenterPos = await list.getBoundsCenter(); + await driver.swipe(listCenterPos.x, listCenterPos.y, listCenterPos.x, listCenterPos.y - 56); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0220 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_BINDCONTEXTMENUISSHOWN_0010 + * @tc.name BindMenu 20 + * @tc.desc BindMenu 20 + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0010"); + await Utils.sleep(2000); + + //Step1: click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuPcheight0010_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0010 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0080 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0080 + * @tc.desc nav width +*/ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0080") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuPcheight0080_001')) + await button.longClick() + await Utils.sleep(2000) + await await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0080 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0070 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0070 + * @tc.desc nav width + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0070") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuPcheight0070_001')) + await button.longClick() + await Utils.sleep(2000) + await await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0080 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0020 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0020 + * @tc.desc nav width + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0020") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuPcheight0020_001')) + await button.longClick() + await Utils.sleep(2000) + await await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_PCHEIGHT_0020 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuScenariosTest/UIComponentPopupboxMenuScenarios.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuScenariosTest/UIComponentPopupboxMenuScenarios.test.ets new file mode 100644 index 00000000..f7b8c531 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuScenariosTest/UIComponentPopupboxMenuScenarios.test.ets @@ -0,0 +1,3532 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuScenarios() { + + describe('UIComponentPopupboxMenuScenarios', () => { + 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_POPUPBOX_MENU_SCENARIOS_1400 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1400 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1400"); + await Utils.sleep(2000); + + //Step1: click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1400_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1400 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1660 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1660 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1660"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1660_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1660 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0750 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0750 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0750"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0750_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0750 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1180 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1180") + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1180_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1180 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1900 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1900 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1900") + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1900_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1900 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0670 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0670 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0670"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0670_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0670 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1470 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1470 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1470"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1470_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1470 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0710 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0710 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0710") + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0710_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0710 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0420 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0420 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0420"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0420_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0420 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1570 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1570 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1570"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1570_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1570 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1210 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1210 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1210"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1210_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1210 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1480 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1480 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1480"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1480_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1480 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1500 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1500 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1500"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1500_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1500 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1250 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1250"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1250_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1250 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1850 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1850', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1850 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1850"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1850_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1850 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0500 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0500 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0500"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0500_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0500 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1550 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1550 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1550"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1550_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1550 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0730 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0730 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0730"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0730_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0730 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1670 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1670 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1670"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1670_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1670 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0920 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0920', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0920 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0920"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0920_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0920 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1820 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1820 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1820"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1820_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1820 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1540 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1540 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1540"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1540_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1540 finish.`); + done(); + }) + + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0400 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0400 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0400"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0400_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0400 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0820 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0820 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0820"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0820_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0820 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1040 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1040"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1040_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1790 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1790 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1790"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1790_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1790 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1030 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1030"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1030_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1760 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1760 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1760"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1760_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1760 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1310 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1310 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1310"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1310_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1310 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0790 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0790 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0790"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0790_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0790 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1190 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1190"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1190_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1190 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1610 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1610 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1610"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1610_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1610 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1380 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1380 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1380"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1380_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1380 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1910 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1910 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1910"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1910_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1910 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1650 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1650 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1650"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1650_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1650 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0910 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0910 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0910"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0910_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0910 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1390 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1390 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1390"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1390_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1390 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1800 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1800 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1800"); + await Utils.sleep(2000); + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1800_01')); + await button.longClick(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1800 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1090 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1090"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1090_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1090 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1720 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1720 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1720"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1720_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1720 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0390 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0390 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0390"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0390_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0390 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1100 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1100"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1100_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1100 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0410 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0410 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0410"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0410_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0410 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0510 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0510 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0510"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0510_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0510 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0630 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0630 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0630"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0630_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0630 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1450 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1450 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1450"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1450_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1450 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1890 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1890 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1890"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1890_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1890 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1320 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1320 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1320"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1320_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1320 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1150 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1150"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1150_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1150 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0860 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0860', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0860 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0860"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0860_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0860 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1920 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1920', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1920 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1920"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1920_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1920 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1590 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1590 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1590"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1590_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1590 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0930 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0930', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0930 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0930"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0930_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0930 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0810 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0810 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0810"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0810_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0810 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0450 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0450 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0450"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0450_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0450 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0720 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0720 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0720"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0720_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0720 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1050 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1050"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1050_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0530 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0530 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0530"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0530_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0530 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0970 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0970 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0970"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0970_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0970 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0850 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0850', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0850 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0850"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0850_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0850 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1700 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1700 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1700"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1700_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1700 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1020 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1020"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1020_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1020 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0840 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0840 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0840"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0840_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0840 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1360 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1360 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1360"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1360_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1360 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1280 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1280 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1280"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1280_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1280 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0780 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0780 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0780"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0780_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0780 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0570 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0570 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0570"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0570_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0570 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1270 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1270"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1270_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1270 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0610 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0610 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0610"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0610_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0610 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0640 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0640 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0640"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0640_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0640 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1330 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1330 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1330"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1330_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1330 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1420 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1420 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1420"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1420_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1420 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1460 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1460 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1460"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1460_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1460 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0700 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0700 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0700"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0700_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0700 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1000 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1000 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1000"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1000_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1000 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0960 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0960 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0960"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0960_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0960 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0460 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0460 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0460"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0460_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0460 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1110 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1110"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1110_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1110 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1830 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1830 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1830"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1830_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1830 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0950 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0950', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0950 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0950"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0950_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0950 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1870 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1870 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1870"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1870_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1870 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1230 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1230 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1230"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1230_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1230 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1490 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1490 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1490"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1490_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1490 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1240 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1240 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1240"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1240_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1240 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0680 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0680 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0680"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0680_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0680 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0830 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0830 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0830"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0830_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0830 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1810 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1810 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1810"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1810_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1810 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1600 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1600 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1600"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1600_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1600 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0440 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0440 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0440"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0440_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0440 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1200 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1200 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1200"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1200_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1200 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0520 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0520 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0520"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0520_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0520 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0990 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0990 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0990"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0990_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0990 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1220 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1220 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1220"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1220_01')) + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1220 finish.`); + done(); + }) + + //10-29 + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0870 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0870 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0870"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0870_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0870 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1680 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1680 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1680"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1680_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1680 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1160 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1160"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1160_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1160 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0580 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0580 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0580"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0580_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0580 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1370 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1370 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1370"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1370_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1370 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1730 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1730 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1730"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1730_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1730 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1750 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1750 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1750"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1750_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1750 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1410 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1410 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1410"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1410_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1410 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1130 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1130"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1130_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1130 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0480 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0480 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0480"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0480_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0480 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1580 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1580 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1580"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1580_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1580 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1170 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1170"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1170_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1170 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0600 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0600 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0600"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0600_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0600 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0380 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0380 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0380"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0380_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0380 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1350 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1350 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1350"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1350_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1350 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0620 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0620 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0620"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0620_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0620 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0430 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0430 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0430"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0430_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0430 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1080 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1080"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1080_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1080 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1140 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1140"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1140_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1140 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0770 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0770 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0770"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0770_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0770 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0550 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0550 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0550"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0550_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0550 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0980 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0980 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0980"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0980_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0980 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0760 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0760 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0760"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0760_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0760 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1120 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1120"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1120_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1120 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0470 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0470 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0470"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0470_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0470 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0650 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0650 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0650"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0650_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0650 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1640 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1640 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1640"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1640_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1640 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0800 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0800 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0800"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0800_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0800 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1070 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1070"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1070_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1070 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1300 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1300 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1300"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1300_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1300 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0940 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0940', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0940 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0940"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0940_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0940 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0740 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0740 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0740"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0740_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0740 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1010 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1010"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1010_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1740 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1740 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1740"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1740_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1740 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1860 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1860', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1860 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1860"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1860_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1860 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0900 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0900 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0900"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0900_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0900 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1880 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1880', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1880 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1880"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1880_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1880 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0690 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0690 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0690"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0690_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0690 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1690 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1690 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1690"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1690_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1690 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1840 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1840 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1840"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1840_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1840 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0490 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0490 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0490"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0490_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0490 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0560 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0560 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0560"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0560_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0560 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1630 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1630 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1630"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1630_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1630 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1430 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1430 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1430"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1430_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1430 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0540 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0540 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0540"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0540_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0540 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0370 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0370 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0370"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0370_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0370 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1780 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1780 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1780"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1780_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1780 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0880 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0880', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0880 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0880"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0880_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0880 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0890 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0890 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0890"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0890_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0890 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1620 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1620 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1620"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1620_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1620 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1260 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1260"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1260_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1260 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1340 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1340 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1340"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1340_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1340 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1290 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1290 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1290"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1290_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1290 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0590 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0590 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0590"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0590_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0590 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1770 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1770 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1770"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1770_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1770 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1710 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1710 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1710"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1710_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1710 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0660 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0660 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0660"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios0660_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_0660 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1440 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1440 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1440"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1440_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1440 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1060 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1060"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1060_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1560 + * @tc.name bindContextMenu enableArrow + * @tc.desc bindContextMenu enableArrow + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1560 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1560"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuScenarios1560_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SCENARIOS_1560 finish.`); + done(); + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuSegmentedDisplayTest/UIComponentPopupboxMenuSegmentedDisplay.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuSegmentedDisplayTest/UIComponentPopupboxMenuSegmentedDisplay.test.ets new file mode 100644 index 00000000..c181405b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuSegmentedDisplayTest/UIComponentPopupboxMenuSegmentedDisplay.test.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 { 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuSegmentedDisplay() { + + describe('UIComponentPopupboxMenuSegmentedDisplay', () => { + 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_POPUPBOX_MENU_SEGMENTEDDISPLAY_0050 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0050"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuSegmentedDisplay0050_01')); + + await button.click(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuSegmentedDisplay0050_02')); + await menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0010 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0010"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuSegmentedDisplay0010_01')); + + await button.click(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuSegmentedDisplay0010_02')); + await menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0040 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0040"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuSegmentedDisplay0040_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0030 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0030"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuSegmentedDisplay0030_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_SEGMENTEDDISPLAY_0030 finish.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuStyleEnhancementTest/UIComponentPopupboxMenuStyleEnhancement.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuStyleEnhancementTest/UIComponentPopupboxMenuStyleEnhancement.test.ets new file mode 100644 index 00000000..4237d07c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuStyleEnhancementTest/UIComponentPopupboxMenuStyleEnhancement.test.ets @@ -0,0 +1,2477 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuStyleEnhancement() { + + describe('UIComponentPopupboxMenuStyleEnhancement', () => { + 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_POPUPBOX_MENU_STYLE_ENHANCEMENT_0060 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0060"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0060_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0100 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0100"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0100_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0100 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0110 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0110"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0110_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0110 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0140 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0140"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0140_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0140 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0090 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0090"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0090_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0090 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0080 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0080"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0080_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0080 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0120 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0120"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0120_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0120 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0130 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0130"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0130_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0130 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0150 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0150"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0150_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0150 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0160 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0160"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0160_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0160 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0600 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0600 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0600"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0600_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0600 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0550 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0550 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0550"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0550_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0550 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0560 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0560 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0560"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0560_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0560 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0510 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0510 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0510"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0510_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0510 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0580 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0580 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0580"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0580_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0580 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0520 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0520 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0520"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0520_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0520 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0570 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0570 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0570"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0570_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0570 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0540 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0540 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0540"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0540_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0540 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0640 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0640 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0640"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0640_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0640 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0610 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0610 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0610"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0610_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0610 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0620 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0620 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0620"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0620_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0620 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0650 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0650 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0650"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0650_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0650 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0630 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0630 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0630"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0630_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0630 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0590 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0590 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0590"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0590_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0590 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0660 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0660 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0660"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0660_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0660 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1060 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1060"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement1060_01')); + let buttonSwitch: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement1060_02')); + let buttonCenterPos = await button.getBoundsCenter(); + await buttonSwitch.click(); + await Utils.sleep(1000); + await button.click(); + await Utils.sleep(500); + await driver.click(buttonCenterPos.x, buttonCenterPos.y+100); + await Utils.sleep(500); + + await buttonSwitch.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_POPUPBOX_MENU_STYLE_ENHANCEMENT_1060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1030 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1030"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement1030_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement1030_02')); + await menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0170 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0170"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0170_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0170 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0180 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0180"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0180_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0180 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0190 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0190"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0190_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0190 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0200 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0200 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0200"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0200_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0200 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0210 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0210 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0210"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0210_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0210 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0220 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0220 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0220"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0220_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0220 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0250 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0250"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0250_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0250 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0240 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0240 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0240"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0240_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0240 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0230 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0230 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0230"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0230_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0230 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0260 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0260"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0260_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0260 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0270 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0270_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0270_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0270"); + await Utils.sleep(1000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0270_01')); + + await button.longClick(); + await Utils.sleep(500); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0270_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0270 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0270_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0270_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0270"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let buttonSwitch: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0270_02')); + + await buttonSwitch.click(); + await Utils.sleep(500) + + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0270_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.longClick() + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y - 100); + await Utils.sleep(500); + await buttonSwitch.click(); + await Utils.sleep(500); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0270_02 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0280 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0280 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0280"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0280_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0280 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0290 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0290_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0290_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0290"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0290_01')); + + await button.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0290_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0290 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0290_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0290_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0290"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0290_01')); + let buttonChangeStyle: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0290_02')); + await buttonChangeStyle.click(); + await Utils.sleep(500) + + await button.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0290_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0680 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0680 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0680"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0680_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0680 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0670 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0670 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0670"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0670_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0670 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0310 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0310 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0310"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0310_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0310 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0710 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0710 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0710"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0710_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0710 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0700 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0700 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0700"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0700_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0700 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0320 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0320 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0320"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0320_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0320 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0740 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0740 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0740"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0740_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0740 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0750 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0750_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0750_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0750"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0750_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0750_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0750 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0750_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0750_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0750"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0750_01')); + let buttonChangeStyle: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0750_02')); + + await buttonChangeStyle.click(); + await Utils.sleep(500) + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0750_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0690 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0690 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0690"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0690_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0690 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0730 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0730_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0730_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0730"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0730_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0730_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0730 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0730_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0730_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0730"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let buttonSwitch: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0730_02')); + await buttonSwitch.click(); + await Utils.sleep(2000); + + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0730_01')); + let buttonCenterPos = await button.getBoundsCenter(); + button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + await driver.click(buttonCenterPos.x, buttonCenterPos.y - 100); + await Utils.sleep(500); + await buttonSwitch.click(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0730_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0720 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0720_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0720_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0720"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0720_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0720_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0720 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0720_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0720_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0720"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let buttonSwitch: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0720_02')); + await buttonSwitch.click(); + await Utils.sleep(2000); + + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0720_01')); + let buttonCenterPos = await button.getBoundsCenter(); + button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y - 100); + await Utils.sleep(500); + await buttonSwitch.click(); + await Utils.sleep(500); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0720_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0770 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0770 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0770"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0770_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0770 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0780 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0780 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0780"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0780_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0780 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0790 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0790 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0790"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0790_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0790 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0800 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0800 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0800"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0800_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0800 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0340 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0340 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0340"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0340_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0340 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0810 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0810 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0810"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0810_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0810 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0330 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0330 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0330"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0330_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0330 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0820 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0820 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0820"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0820_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0820 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0370 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0370 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0370"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0370_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0370 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0380 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0380 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0380"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0380_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0380 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0360 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0360 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0360"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0360_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0360 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0350 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0350 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0350"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0350_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0350 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0400 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0400 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0400"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0400_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0400 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0410 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0410 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0410"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0410_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0410 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0390 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0390 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0390"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0390_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0390 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0420 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0420 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0420"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0420_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0420 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0440 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0440 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0440"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0440_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0440 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0430 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0430 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0430"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0430_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0430 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0840 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0840 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0840"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0840_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0840 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0450 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0450 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0450"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0450_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0450 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0460 + * @tc.name bindContextMenu Menu style enhancement test + * @tc.desc bindContextMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0460 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0460"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0460_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0460 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0470 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0470 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0470"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0470_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0470 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0480 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0480 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0480"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0480_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0480 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0870 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0870 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0870"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0870_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0870 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0880 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0880', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0880 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0880"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0880_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0880 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0900 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0900 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0900"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0900_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0900 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0910 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0910 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0910"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0910_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0910 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0860 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0860', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0860 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0860"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0860_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0860 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0830 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0830 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0830"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0830_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0830 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0850 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0850', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0850 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0850"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0850_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0850 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0890 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0890 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0890"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0890_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0890 finish.`); + done(); + }) + + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0920 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0920', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0920 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0920"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0920_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0920 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0940 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0940', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0940 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0940"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0940_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0940_02')); + await menuItem.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0940 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0930 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0930', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0930 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0930"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0930_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0930_02')); + await menuItem.click(); + await Utils.sleep(1000); + + let subMenuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0930_03')); + await subMenuItem.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0930 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0490 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0490_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0490_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0490"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0490_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0490_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0490 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0490_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0490_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0490"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + + let buttonSwitch: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0490_02')); + await buttonSwitch.click(); + await Utils.sleep(2000); + + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0490_01')); + let buttonCenterPos = await button.getBoundsCenter(); + button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y - 100); + await Utils.sleep(500); + await buttonSwitch.click(); + await Utils.sleep(500); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0490_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0970 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0970 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0970"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0970_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0970_02')); + await menuItem.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0970 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0950 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0950', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0950 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0950"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0950_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0950_02')); + await menuItem.click(); + await Utils.sleep(1000); + + let subMenuItem1: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0950_03')); + await subMenuItem1.longClick(); + await Utils.sleep(1000); + + let subMenuItem2: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0950_04')); + await subMenuItem2.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0950 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0960 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0960 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0960"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0960_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0960_02')); + await menuItem.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0960 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0980 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0980 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0980"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0980_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0980_02')); + await menuItem.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0980 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0500 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0500_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0500_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0500"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0500_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0500_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0500 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0500_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0500_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0500"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let buttonSwitch: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0500_02')); + await buttonSwitch.click(); + await Utils.sleep(2000); + + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0500_01')); + let buttonCenterPos = await button.getBoundsCenter(); + button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y - 100); + await Utils.sleep(500); + await buttonSwitch.click(); + await Utils.sleep(500); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0500_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0990 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0990 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0990"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0990_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement0990_02')); + await menuItem.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_0990 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1000 + * @tc.name bindMenu Menu style enhancement test + * @tc.desc bindMenu Menu style enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1000 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1000"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement1000_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement1000_02')); + await menuItem.click(); + await Utils.sleep(1000); + + let subMenuItem1: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement1000_03')); + await subMenuItem1.click(); + await Utils.sleep(1000); + + let subMenuItem2: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuStyleEnhancement1000_04')); + await subMenuItem2.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_STYLE_ENHANCEMENT_1000 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuTouchTest/UIComponentPopupboxMenuTouch.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuTouchTest/UIComponentPopupboxMenuTouch.test.ets new file mode 100644 index 00000000..a21b6a96 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuTouchTest/UIComponentPopupboxMenuTouch.test.ets @@ -0,0 +1,661 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuTouch() { + + describe('UIComponentPopupboxMenuTouch', () => { + 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_POPUPBOX_MENU_TOUCH_0010 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0010"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0010_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0020 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0020"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0020_01')); + await button.click(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0020_02')); + await menuItem.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0020 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0040 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0040"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0040_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0030 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0030"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0030_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.click(); + await Utils.sleep(1000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y - 200) + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0070 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0070_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0070_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0070"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0070_01')); + await button.click(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0070_02')); + await menuItem.click(); + await Utils.sleep(1000); + + let subMenuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0070_03')); + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + await subMenuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0070_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0070 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0070_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0070_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0070"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0070_01')); + await button.click(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0070_02')); + await menuItem.click(); + await Utils.sleep(1000); + + let subMenuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0070_03')); + await subMenuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0070_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0110 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0110_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0110_01 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0110"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0110_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0110_02')); + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + + await menuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0110_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0110 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0110_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0110_02 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0110"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0110_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0110_02')); + await menuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0110_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0090 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0090"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0090_01')); + await button.click(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0090_02')); + await menuItem.click(); + await Utils.sleep(1000); + + let subMenuItem1: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0090_03')); + await subMenuItem1.longClick(); + await Utils.sleep(1000); + + let subMenuItem2: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0090_04')); + await subMenuItem2.longClick(); + await Utils.sleep(1000); + + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + await subMenuItem1.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0090 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0160 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0160"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0160_01')); + await button.click(); + await Utils.sleep(2000); + + let subMenuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0160_02')); + + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + await subMenuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0160 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0120 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0120"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0120_01')); + await button.click(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0120_02')); + let menuItemCenterPos = await menuItem.getBoundsCenter(); + await driver.longClick(menuItemCenterPos.x, menuItemCenterPos.y); + await Utils.sleep(1000); + + await driver.longClick(menuItemCenterPos.x + 300, menuItemCenterPos.y); + await Utils.sleep(1000); + + await button.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + await driver.longClick(menuItemCenterPos.x, menuItemCenterPos.y); + + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0120 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0130 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0130"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0130_01')); + await button.click(); + await Utils.sleep(500) + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0130_02')); + let menuItemCenterPos = await menuItem.getBoundsCenter(); + await menuItem.longClick() + await Utils.sleep(500) + + await driver.click(5, menuItemCenterPos.y) + await Utils.sleep(500) + + let testButton: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0130_03')); + await testButton.longClick(); + await Utils.sleep(500) + + await button.click(); + await Utils.sleep(500); + + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + + let menuItem2: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0130_02')); + await menuItem2.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0130 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0060 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0060"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0060_01')); + await button.click(); + await Utils.sleep(1000); + let menuItem1: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0060_02')); + let menuItem2: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0060_03')); + + await menuItem1.longClick(); + await Utils.sleep(500); + await menuItem2.longClick(); + await Utils.sleep(500); + + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + await menuItem1.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0150 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0150"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0150_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0150_02')); + + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + await menuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0150 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0100 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0100"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0100_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.click(); + await Utils.sleep(1000); + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + + let switchButton: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0100_02')); + await switchButton.click() + await Utils.sleep(1000); + await switchButton.click() + await Utils.sleep(1000); + + await windowSnap.snapShot() + await Utils.sleep(2000); + + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0100 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0140 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0140"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0140_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0140_02')); + await menuItem.click(); + await Utils.sleep(1000); + + let subMenuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0140_03')); + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + await subMenuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0140 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0170 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0170"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0170_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0170_02')); + + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + + await menuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0170 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0180 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0180"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0180_01')); + await button.click(); + await Utils.sleep(2000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0180_02')); + await menuItem.click(); + await Utils.sleep(1000); + + let subMenuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0180_03')); + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + await subMenuItem.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0180 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0190 + * @tc.name bindContextMenu touch test + * @tc.desc bindContextMenu touch test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0190"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + + let SetHButton: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0190_02')); + await SetHButton.click(); + await Utils.sleep(1000); + + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0190_01')); + await button.click(); + await Utils.sleep(1000); + + let menuItem: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuTouch0190_03')); + // setTimeout(() => { + // windowSnap.snapShot(); + // }, 1200); + + await menuItem.longClick() + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_TOUCH_0190 finish.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuUxconsistencyTest/UIComponentPopupboxMenuUxconsistency.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuUxconsistencyTest/UIComponentPopupboxMenuUxconsistency.test.ets new file mode 100644 index 00000000..53deceaa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuUxconsistencyTest/UIComponentPopupboxMenuUxconsistency.test.ets @@ -0,0 +1,503 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuUxconsistency() { + + describe('UIComponentPopupboxMenuUxconsistency', () => { + 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_POPUPBOX_MENU_UXCONSISTENCY_0040 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0040"); + await Utils.sleep(2000); + + //Step1: click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0040_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0070 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0070"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0070_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0070 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0010 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0010"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0010_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0050 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0050"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0050_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0080 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0080"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0080_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0080 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0030 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0030"); + await Utils.sleep(2000); + + //Step1: gClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0030_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0020 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0020"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0020_01')); + let buttonBounds = await button.getBounds(); + let buttonCenterPos = await button.getBoundsCenter(); + await button.click(); + await Utils.sleep(1000); + + await driver.click(buttonCenterPos.x, buttonBounds.bottom + 80); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0020 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0160 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0160"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0160_01')); + await button.longClick(); + await Utils.sleep(2000); + + let preview: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0160_02')); + let previewCenterPos = await preview.getBoundsCenter(); + await driver.drag(previewCenterPos.x, previewCenterPos.y, previewCenterPos.x, 30); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0160 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0120 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0120"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0120_01')); + let textArea: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0120_03')); + let textAreaCenter = await textArea.getBoundsCenter(); + await button.longClick(); + await Utils.sleep(1000); + + let preview: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0120_02')); + let previewCenterPos = await preview.getBoundsCenter(); + await driver.drag(previewCenterPos.x, previewCenterPos.y, previewCenterPos.x, textAreaCenter.y); + await Utils.sleep(1000); + + await driver.click(textAreaCenter.x, textAreaCenter.y); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0120 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0090 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0090"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0090_01')); + let previewCenterPos = await button.getBoundsCenter(); + + await button.longClick(); + await Utils.sleep(1000); + + await driver.drag(previewCenterPos.x, previewCenterPos.y, previewCenterPos.x, previewCenterPos.y + 300); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0090 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0140 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0140"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0140_01')); + let previewCenterPos = await button.getBoundsCenter(); + + await button.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0140 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0170 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0170"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0170_01')); + + await button.longClick(); + await Utils.sleep(1000); + + let preview: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0170_02')); + let previewCenterPos = await preview.getBoundsCenter(); + await driver.drag(previewCenterPos.x, previewCenterPos.y, previewCenterPos.x, previewCenterPos.y + 300); + await Utils.sleep(1000); + + // await driver.click(textAreaCenter.x, textAreaCenter.y); + // await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0170 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0110 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0110"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0110_01')); + + await button.longClick(); + await Utils.sleep(1000); + + let preview: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0110_02')); + await preview.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0110 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0100 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0100"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0100_01')); + + await button.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0100 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0180 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0180"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let switchButton: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0180_02')); + + await switchButton.click(); + await Utils.sleep(1000); + + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0180_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.longClick(); + await Utils.sleep(1000); + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(1000); + + await switchButton.click(); + await Utils.sleep(1000); + + await button.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0180 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0150 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0150"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0150_01')); + + await button.longClick(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0150 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0130 + * @tc.name bindContextMenu preview + * @tc.desc bindContextMenu preview + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0130"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0130_01')); + + let acceptControl: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0130_02')); + let acceptArea = await acceptControl.getBoundsCenter(); + + await button.longClick(); + await Utils.sleep(1000); + + let preview: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuUxconsistency0130_03')); + let previewCenterPos = await preview.getBoundsCenter(); + await Utils.sleep(1000); + + await driver.drag(previewCenterPos.x, previewCenterPos.y, acceptArea.x, acceptArea.y); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_UXCONSISTENCY_0130 finish.`); + done(); + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuWidthAndPlacementConformuxTest/UIComponentPopupboxMenuWidthAndPlacementConformux.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuWidthAndPlacementConformuxTest/UIComponentPopupboxMenuWidthAndPlacementConformux.test.ets new file mode 100644 index 00000000..b0bd7f02 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxMenuWidthAndPlacementConformuxTest/UIComponentPopupboxMenuWidthAndPlacementConformux.test.ets @@ -0,0 +1,1932 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupboxMenuWidthAndPlacementConformux() { + + describe('UIComponentPopupboxMenuWidthAndPlacementConformux', () => { + 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_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1490 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1490 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1490"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1490_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1490 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1250 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1250 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1250"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1250_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1250 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1510 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1510 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1510"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1510_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1510 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0970 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0970 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0970"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux0970_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0970 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1100 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1100 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1100"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1100_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1100 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1000 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1000 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1000"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1000_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1000 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1570 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1570 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1570"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1570_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1570 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1200 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1200 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1200"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1200_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1200 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1190 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1190 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1190"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1190_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1190 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1480 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1480 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1480"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1480_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1480 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1400 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1400 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1400"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1400_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1400 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1660 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1660 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1660"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1660_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1660 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1390 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1390 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1390"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1390_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1390 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1690 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1690 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1690"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1690_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1690 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1130 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1130 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1130"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1130_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1130 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1110 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1110"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1110_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1110 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1430 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1430 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1430"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1430_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1430 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1080 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1080"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1080_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1080 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0980 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0980 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0980"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux0980_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0980 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1420 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1420 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1420"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1420_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1420 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1590 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1590 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1590"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1590_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1590 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1410 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1410 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1410"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1410_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1410 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1710 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1710 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1710"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1710_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1710 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0920 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0920', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0920 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0920"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux0920_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0920 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1440 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1440 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1440"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1440_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1440 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1230 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1230 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1230"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1230_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1230 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1670 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1670 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1670"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1670_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1670 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0910 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0910 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0910"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux0910_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0910 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1260 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1260 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1260"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1260_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1260 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1700 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1700 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1700"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1700_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1700 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1460 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1460 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1460"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1460_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1460 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1140 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1140 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1140"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1140_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1140 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1290 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1290 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1290"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1290_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1290 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0960 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0960 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0960"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux0960_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0960 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0900 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0900 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0900"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux0900_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0900 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1170 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1170 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1170"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1170_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1170 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1280 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1280 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1280"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1280_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1280 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1330 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1330 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1330"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1330_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1330 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1470 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1470 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1470"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1470_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1470 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1540 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1540 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1540"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1540_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1540 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1310 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1310 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1310"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1310_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1310 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0950 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0950', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0950 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0950"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux0950_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0950 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1550 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1550 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1550"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1550_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1550 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1020 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1020"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1020_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1020 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1450 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1450 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1450"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1450_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1450 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1350 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1350 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1350"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1350_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1350 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1370 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1370 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1370"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1370_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1370 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1050 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1050"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1050_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1070 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1070"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1070_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1070 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1560 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1560 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1560"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1560_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1560 finish.`); + done(); + }) + + + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0940 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0940', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0940 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0940"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux0940_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0940 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1630 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1630 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1630"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1630_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1630 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0930 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0930', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0930 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0930"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux0930_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0930 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1500 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1500 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1500"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1500_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1500 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1580 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1580 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1580"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1580_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1580 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1160 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1160 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1160"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1160_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1160 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1610 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1610 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1610"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1610_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1610 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1520 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1520 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1520"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1520_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1520 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1240 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1240 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1240"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1240_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1240 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1090 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1090"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1090_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1090 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1300 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1300 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1300"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1300_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1300 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1120 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1120"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1120_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1120 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1360 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1360 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1360"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1360_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1360 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1600 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1600 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1600"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1600_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1600 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1150 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1150 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1150"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1150_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1150 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1320 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1320 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1320"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1320_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1320 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1620 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1620 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1620"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1620_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1620 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1340 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1340 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1340"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1340_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1340 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1270 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1270 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1270"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1270_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1270 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1060 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1060"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1060_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1030 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1030"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1030_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1680 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1680 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1680"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1680_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1680 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1380 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1380 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1380"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1380_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1380 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1210 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1210 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1210"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1210_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1210 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0990 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0990 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0990"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux0990_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_0990 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1650 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1650 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1650"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1650_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1650 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1010 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1010 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1010"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1010_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1220 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1220 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1220"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1220_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1220 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1530 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1530 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1530"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1530_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1530 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1640 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1640 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1640"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1640_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1640 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1040 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1040"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1040_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1180 + * @tc.name bindContextMenu width/placement test + * @tc.desc bindContextMenu width/placement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1180 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1180"); + await Utils.sleep(2000); + + //Step1: longClick show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxMenuWidthAndPlacementConformux1180_01')); + await button.longClick(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_MENU_WIDTHANDPLACEMENTCONFORMUX_1180 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 new file mode 100644 index 00000000..1a39bd53 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupboxSpecificationsShadowTest/UIComponentPopupboxSpecificationsShadow.test.ets @@ -0,0 +1,468 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0060 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0060 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0060 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0060") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0060_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0060 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0050 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0050 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0050 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0050") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0050_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0050 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0070 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0070 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0070 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0070") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0070_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0070 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0080 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0080 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0080") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0080_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0080 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0110 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0110 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0110") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0110_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0110 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0040 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0040 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0040") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0040_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0040 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0030 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0030 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0030") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0030_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0030 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0090 + * @tc.name SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0090 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0090") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let text: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0090_001')) + await text.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0090 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0960 + * @tc.name PopupBox shadow test + * @tc.desc PopupBox shadow test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0960 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0960"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0960_01')); + let buttonCenterPos = await button.getBoundsCenter(); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot() + await Utils.sleep(2000) + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(500) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0960 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0890 + * @tc.name PopupBox shadow test + * @tc.desc PopupBox shadow test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0890 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0890"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0890_01')); + let buttonCenterPos = await button.getBoundsCenter(); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot() + await Utils.sleep(2000) + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(500) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0890 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0820 + * @tc.name PopupBox shadow test + * @tc.desc PopupBox shadow test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0820 start.`); + Settings.createWindow("testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0820"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupboxSpecificationsShadow0820_01')); + let buttonCenterPos = await button.getBoundsCenter(); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot() + await Utils.sleep(2000) + + await driver.click(buttonCenterPos.x, buttonCenterPos.y); + await Utils.sleep(500) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_POPUPBOX_SPECIFICATIONS_SHADOW_0820 finish.`); + done(); + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupwantUIExtensionComponentTest/UIComponentPopupwantUIExtensionComponent.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupwantUIExtensionComponentTest/UIComponentPopupwantUIExtensionComponent.test.ets new file mode 100644 index 00000000..ed532423 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentPopupwantUIExtensionComponentTest/UIComponentPopupwantUIExtensionComponent.test.ets @@ -0,0 +1,183 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentPopupwantUIExtensionComponent() { + + describe('UIComponentPopupwantUIExtensionComponent', () => { + 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_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFA + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0030"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupwantUIExtensionComponent0030_01')); + await button.click(); + await Utils.sleep(1000); + let button3: Component = await driver.findComponent(ON.id('UIComponentPopupwantUIExtensionComponent0030_03')); + await button3.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0080 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFA + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0090 start.`); + Settings.createWindow("testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0040"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupwantUIExtensionComponent0040_01')); + await button.click(); + await Utils.sleep(1000); + let button3: Component = await driver.findComponent(ON.id('UIComponentPopupwantUIExtensionComponent0040_03')); + await button3.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0090 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW_0040 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW-0040 start.`); + Settings.createWindow("testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0050"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupwantUIExtensionComponent0050_01')); + await button.click(); + await Utils.sleep(1000); + let button3: Component = await driver.findComponent(ON.id('UIComponentPopupwantUIExtensionComponent0050_03')); + await button3.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW-0040 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW_0030 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW_0030 start.`); + Settings.createWindow("testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0060"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupwantUIExtensionComponent0060_01')); + await button.click(); + await Utils.sleep(1000); + let button3: Component = await driver.findComponent(ON.id('UIComponentPopupwantUIExtensionComponent0060_03')); + await button3.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW_0030 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW_0020 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW_0020 start.`); + Settings.createWindow("testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0070"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentPopupwantUIExtensionComponent0070_01')); + await button.click(); + await Utils.sleep(1000); + let button3: Component = await driver.findComponent(ON.id('UIComponentPopupwantUIExtensionComponent0070_03')); + await button3.click(); + await Utils.sleep(1000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_SUBWINDOW_0020 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0110 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0110 start.`); + Settings.createWindow("testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0080"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0110 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0120 + * @tc.name PopupBox Enhancement test + * @tc.desc PopupBox Enhancement test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0090"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0120 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSliderSliderInterfaceTest/UIComponentSliderSliderInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSliderSliderInterfaceTest/UIComponentSliderSliderInterface.test.ets new file mode 100644 index 00000000..ff7c7715 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSliderSliderInterfaceTest/UIComponentSliderSliderInterface.test.ets @@ -0,0 +1,71 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { 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' +import window from '@ohos.window' + +export default function UIComponentSliderSliderInterface() { + describe('UIComponentSliderSliderInterface', () => { + 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_SLIDER_SLIDER_INTERFACE_002 + * @tc.name SUB_ACE_UI_COMPONENT_SLIDER_SLIDER_INTERFACE_002 + * @tc.desc + */ + it('SUB_ACE_UI_COMPONENT_SLIDER_SLIDER_INTERFACE_002', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SLIDER_SLIDER_INTERFACE_002 start.`); + Settings.createWindow("testability/pages/UIComponentSliderSliderInterface/UIComponentSliderSliderInterface002") + await Utils.sleep(2000) + let driver: Driver = Driver.create() + let slider: Component = await driver.findComponent(ON.type('Slider')); + let positionInfo = await slider.getBoundsCenter() + let borderInfo = await slider.getBounds() + let x = positionInfo.x + let y = positionInfo.y + let pointers: PointerMatrix = PointerMatrix.create(1, 2); + pointers.setPoint(0, 0, { + x: x , y: y + }); + pointers.setPoint(0, 1, { + x: borderInfo.right, y: y + }); + await driver.injectMultiPointerAction(pointers, 600); + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SLIDER_SLIDER_INTERFACE_002 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentMinsizeTest/UIComponentSpecialComponentsEmbeddComponentMinsize.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentMinsizeTest/UIComponentSpecialComponentsEmbeddComponentMinsize.test.ets new file mode 100644 index 00000000..2ed52f31 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentMinsizeTest/UIComponentSpecialComponentsEmbeddComponentMinsize.test.ets @@ -0,0 +1,377 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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' +import window from '@ohos.window' + +export default function UIComponentSpecialComponentsEmbeddComponentMinsize() { + describe('UIComponentSpecialComponentsEmbeddComponentMinsize', () => { + 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_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0180 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0180") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button1 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0180_001')) + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0180_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0180 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0110 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0110") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button1 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0110_001')) + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0110_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0110 finish.`); + done() + }) + + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0160 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0160") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button1 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0160_001')) + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0160_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0160 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0080") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0080_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0080 finish.`); + done() + }) + + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0190 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0190") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button1 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0190_001')) + await Utils.sleep(1000) + await button1.click() + await Utils.sleep(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0190_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0190 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0030 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0030") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0030_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0030 finish.`); + done() + }) + + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0050") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0050_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0050 finish.`); + done() + }) + + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0090 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0090") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0090_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0090 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0070") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0070_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0070 finish.`); + done() + }) + + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0100") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0100_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0100 finish.`); + done() + }) + + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0150") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0150_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0150 finish.`); + done() + }) + + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0060") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0060_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0060 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0130") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0130_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0130 finish.`); + done() + }) + + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0140 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0140") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0140_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0140 finish.`); + done() + }) + + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0120 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0120") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0120_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0120 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0010") + await Utils.sleep(1000) + + let driver : Driver = Driver.create(); + await driver.delayMs(1000) + + let button2 :Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentMinsize0010_002')) + await Utils.sleep(1000) + await button2.click() + await Utils.sleep(1000) + + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_MINSIZE_0010 finish.`); + done() + }) + + + + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentRestrictnesTingTest/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentRestrictnesTingTest/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing.test.ets new file mode 100644 index 00000000..95339b31 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentRestrictnesTingTest/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing.test.ets @@ -0,0 +1,171 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentSpecialComponentsEmbeddComponentRestrictnesTing() { + + describe('UIComponentSpecialComponentsEmbeddComponentRestrictnesTing', () => { + 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_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0080 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0080 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0080"); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0080 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0050 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0050 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0050"); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0060 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0060 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0060"); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0020 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0020 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0020"); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0020 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0030 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0030 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0070 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0070 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070"); + await Utils.sleep(4000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0070 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0040 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0040 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0040"); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_RESTRICTNESTING_0040 finish.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentTest/UIComponentSpecialComponentsEmbeddComponent.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentTest/UIComponentSpecialComponentsEmbeddComponent.test.ets new file mode 100644 index 00000000..73d69a93 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsEmbeddComponentTest/UIComponentSpecialComponentsEmbeddComponent.test.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 { 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentSpecialComponentsEmbeddComponent() { + + describe('UIComponentSpecialComponentsEmbeddComponent', () => { + 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_SPECIALCOMPONENTS_EMBEDDCOMPONENT_0060 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_0060 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsEmbeddComponent/UIComponentSpecialComponentsEmbeddComponent0060"); + await Utils.sleep(3000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_EMBEDDCOMPONENT_0060 finish.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReportTest/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReportTest/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport.test.ets new file mode 100644 index 00000000..1fabb72f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReportTest/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport.test.ets @@ -0,0 +1,101 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport() { + + describe('UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport', () => { + 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_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ACCESSIBILITY_REPORT_0080 + * @tc.name Accessibility report test + * @tc.desc Accessibility report test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ACCESSIBILITY_REPORT_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ACCESSIBILITY_REPORT_0080 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0080"); + await Utils.sleep(3000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIExtensionComponentAccessibilityReportPage0080_01')) + + let buttonCenterPos = await button.getBoundsCenter(); + + await driver.mouseMoveTo({ + x: buttonCenterPos.x, y: buttonCenterPos.y + }); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ACCESSIBILITY_REPORT_0080 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ACCESSIBILITY_REPORT_0090 + * @tc.name Accessibility report test + * @tc.desc Accessibility report test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ACCESSIBILITY_REPORT_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ACCESSIBILITY_REPORT_0090 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0090"); + await Utils.sleep(3000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIExtensionComponentAccessibilityReportPage0090_01')) + + let buttonCenterPos = await button.getBoundsCenter(); + + await driver.mouseMoveTo({ + x: buttonCenterPos.x, y: buttonCenterPos.y + }); + await Utils.sleep(2000); + + await driver.mouseMoveTo({ + x: buttonCenterPos.x, y: buttonCenterPos.y + 300 + }); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ACCESSIBILITY_REPORT_0090 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentInterfaceTest/UIComponentSpecialComponentsUIExtensionComponentInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentInterfaceTest/UIComponentSpecialComponentsUIExtensionComponentInterface.test.ets new file mode 100644 index 00000000..700f31f1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentInterfaceTest/UIComponentSpecialComponentsUIExtensionComponentInterface.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 { 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentSpecialComponentsUIExtensionComponentInterface() { + + describe('UIComponentSpecialComponentsUIExtensionComponentInterface', () => { + 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_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0050 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0050 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0050"); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0050 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0060 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0060 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0060"); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0060 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0070 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0070"); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0070 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0010 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0010 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0010"); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0020 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0020 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0020"); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UICOMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_INTERFACE_0020 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentStyleLanguageTest/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentStyleLanguageTest/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage.test.ets new file mode 100644 index 00000000..e9318850 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIExtensionComponentStyleLanguageTest/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage.test.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 { 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentSpecialComponentsUIExtensionComponentStyleLanguage() { + + describe('UIComponentSpecialComponentsUIExtensionComponentStyleLanguage', () => { + 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_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_STYLELANGUAGE_0210 + * @tc.name Style language test + * @tc.desc Style language test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_STYLELANGUAGE_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_STYLELANGUAGE_0210 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage0210"); + await Utils.sleep(3000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_STYLELANGUAGE_0210 finish.`); + done(); + }) + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIextensionComponentUinformFocusTest/UIComponentSpecialComponentsUIextensionComponentUinformFocus.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIextensionComponentUinformFocusTest/UIComponentSpecialComponentsUIextensionComponentUinformFocus.test.ets new file mode 100644 index 00000000..1c3da8c2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIextensionComponentUinformFocusTest/UIComponentSpecialComponentsUIextensionComponentUinformFocus.test.ets @@ -0,0 +1,231 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentSpecialComponentsUIextensionComponentUinformFocus() { + + describe('UIComponentSpecialComponentsUIextensionComponentUinformFocus', () => { + 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_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0070_755 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0070_755', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0070_755 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0070_755"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0070_755 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0010_331 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0010_331_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0010_331_01 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0010_331"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0010_331_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0010_331 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0010_331_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0010_331_02 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0010_331"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0010_331_02 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0020_404 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0020_404', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0020_404 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0020_404"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0020_404 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0060_227 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0060_227', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0060_227 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0060_227"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2054); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0060_227 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0030_273 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0030_273_01', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0030_273_01 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0030_273"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0030_273_01 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0030_273 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0030_273_02', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0030_273_02 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0030_273"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await driver.triggerKey(2049); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_UINFORMFOCUS_0030_273_02 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIextensionComponentWheelTest/UIComponentSpecialComponentsUIextensionComponentWheel.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIextensionComponentWheelTest/UIComponentSpecialComponentsUIextensionComponentWheel.test.ets new file mode 100644 index 00000000..5cf9a95d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentSpecialComponentsUIextensionComponentWheelTest/UIComponentSpecialComponentsUIextensionComponentWheel.test.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 { 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 } from '@ohos.UiTest' +import { Rect } from '@ohos.graphics.scene' + +export default function UIComponentSpecialComponentsUIextensionComponentWheel() { + + describe('UIComponentSpecialComponentsUIextensionComponentWheel', () => { + 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_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_WHEEL_0110 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_WHEEL_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_WHEEL_0110 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/UIComponentSpecialComponentsUIextensionComponentWheel0110"); + await Utils.sleep(3000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_WHEEL_0110 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..b2efbef9 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 @@ -19,7 +19,7 @@ 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 { Driver ,ON, Component } from '@ohos.UiTest' /* * UIComponentUISupportColor @@ -40,7 +40,21 @@ 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 @@ -390,5 +404,455 @@ export default function UIComponentUISupportColor() { Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0950 finish.`); done(); }) + + /** + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0570 + * @tc.name bindMenu ThemeColorMode test + * @tc.desc bindMenu ThemeColorMode test + * @tc.level Level 3 + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0570 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0570"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0570_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.click(); + await Utils.sleep(2000); + await driver.click(buttonCenterPos.x+200, buttonCenterPos.y) + await Utils.sleep(1000); + + let buttonSwitchMode: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0570_02')); + await buttonSwitchMode.click() + + await button.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0570 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0610 + * @tc.name bindMenu ThemeColorMode test + * @tc.desc bindMenu ThemeColorMode test + * @tc.level Level 3 + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0610 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0610"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0610_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0610 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0600 + * @tc.name bindMenu ThemeColorMode test + * @tc.desc bindMenu ThemeColorMode test + * @tc.level Level 3 + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0600 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0600"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0600_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.click(); + await Utils.sleep(2000); + await driver.click(buttonCenterPos.x+200, buttonCenterPos.y) + await Utils.sleep(1000); + + let buttonSwitchMode: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0600_02')); + await buttonSwitchMode.click() + + await button.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0600 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0630 + * @tc.name bindMenu ThemeColorMode test + * @tc.desc bindMenu ThemeColorMode test + * @tc.level Level 3 + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0630 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0630"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0630_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0630 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0590 + * @tc.name bindMenu ThemeColorMode test + * @tc.desc bindMenu ThemeColorMode test + * @tc.level Level 3 + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0590 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0590"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0590_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.click(); + await Utils.sleep(2000); + await driver.click(buttonCenterPos.x+200, buttonCenterPos.y) + await Utils.sleep(1000); + + let buttonSwitchMode: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0590_02')); + await buttonSwitchMode.click() + + await button.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0590 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0580 + * @tc.name bindMenu ThemeColorMode test + * @tc.desc bindMenu ThemeColorMode test + * @tc.level Level 3 + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0580 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0580"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0580_01')); + let buttonCenterPos = await button.getBoundsCenter(); + await button.click(); + await Utils.sleep(2000); + await driver.click(buttonCenterPos.x+200, buttonCenterPos.y) + await Utils.sleep(1000); + + let buttonSwitchMode: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0580_02')); + await buttonSwitchMode.click() + + await button.click(); + await Utils.sleep(1000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0580 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0620 + * @tc.name bindMenu ThemeColorMode test + * @tc.desc bindMenu ThemeColorMode test + * @tc.level Level 3 + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0620 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0620"); + await Utils.sleep(2000); + + //Step1: Click show menu + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0620_01')); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0620 finish.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1510 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1510 + * @tc.desc ThemeColorMode.DARK + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1510 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1510") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor1510_001')) + await button.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1510 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1500 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1500 + * @tc.desc ThemeColorMode.DARK + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1500 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1500") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor1500_001')) + await button.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1500 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1480 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1480 + * @tc.desc ThemeColorMode.DARK + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1480 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1480") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor1480_001')) + await button.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1480 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1520 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1520 + * @tc.desc ThemeColorMode.DARK + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1520 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1520") + await Utils.sleep(3000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1520 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1530 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1530 + * @tc.desc ThemeColorMode.DARK + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1530 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1530") + await Utils.sleep(3000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1530 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1540 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1540 + * @tc.desc ThemeColorMode.SYSTEM + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1540 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1540") + await Utils.sleep(3000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1540 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1490 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1490 + * @tc.desc ThemeColorMode.DARK + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1490 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1490") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor1490_001')) + await button.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_1490 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0830 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0830 + * @tc.desc ThemeColorMode.DARK + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0830 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0830") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0830_001')) + await button.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0830 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0820 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0820 + * @tc.desc ThemeColorMode.LIGHT + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0820 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0820") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0820_001')) + await button.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0820 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0780 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0780 + * @tc.desc ThemeColorMode.LIGHT + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0780 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0780") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0780_001')) + let buttonMode: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0780_002')) + await button.click() + await Utils.sleep(2000) + await buttonMode.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0780 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0790 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0790 + * @tc.desc ThemeColorMode.LIGHT + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0790 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0790") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0790_001')) + let buttonMode: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0790_002')) + await button.click() + await Utils.sleep(2000) + await buttonMode.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0790 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0840 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0840 + * @tc.desc ThemeColorMode.SYSTEM + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0840 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0840") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0840_001')) + await button.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0840 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0800 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0800 + * @tc.desc ThemeColorMode.LIGHT + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0800 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0800") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0800_001')) + let buttonMode: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0800_002')) + await button.click() + await Utils.sleep(2000) + await buttonMode.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0800 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0810 + * @tc.name SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0810 + * @tc.desc ThemeColorMode.LIGHT + */ + it('SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0810 start.`); + Settings.createWindow("testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0810") + await Utils.sleep(3000) + let driver: Driver = Driver.create() + let button: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0810_001')) + let buttonMode: Component = await driver.findComponent(ON.id('UIComponentUISupportColor0810_002')) + await button.click() + await Utils.sleep(2000) + await buttonMode.click() + await Utils.sleep(2000) + await windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UILCOMPONENT_UISUPPORT_COLOR_0810 finish.`); + done() + }) }) } diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentsUIExtensionComponentAvoidAreaTest/UIComponentsUIExtensionComponentAvoidArea.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentsUIExtensionComponentAvoidAreaTest/UIComponentsUIExtensionComponentAvoidArea.test.ets new file mode 100755 index 00000000..76044fb5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentsUIExtensionComponentAvoidAreaTest/UIComponentsUIExtensionComponentAvoidArea.test.ets @@ -0,0 +1,190 @@ +/* + * 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 { 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, DisplayRotation, Driver, ON } from '@ohos.UiTest' + +export default function UIComponentsUIExtensionComponentAvoidAreaTest() { + + describe('UIComponentsUIExtensionComponentAvoidAreaTest', () => { + 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_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0040 + * @tc.name SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0040 + * @tc.desc 验证UIExtensionAbility侧可正常获取到UIExtensionComponent传递过来的宿主窗口的避让信息(挖孔区域TYPE_CUTOUT) + */ + it('SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0040', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidArea0040"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button = await driver.findComponent(ON.id("UIExtensionComponentAvoidArea_cutout")); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + done(); + }); + /* + * @tc.number SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0050 + * @tc.name SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0050 + * @tc.desc 验证UIExtensionAbility侧可正常获取到UIExtensionComponent传递过来的宿主窗口的避让信息(状态栏区域TYPE_SYSTEM) + */ + it('SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0050', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidArea0040"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button = await driver.findComponent(ON.id("UIExtensionComponentAvoidArea_system")); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + done(); + }); + /* + * @tc.number SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0060 + * @tc.name SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0060 + * @tc.desc 验证UIExtensionAbility侧可正常获取到UIExtensionComponent传递过来的宿主窗口的避让信息(软键盘区域TYPE_KEYBOARD) + */ + it('SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0060', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidArea0040"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let textInput = await driver.findComponent(ON.id("UIExtensionComponentAvoidArea_textinput")); + await textInput.click(); + let button = await driver.findComponent(ON.id("UIExtensionComponentAvoidArea_keyboard")); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + done(); + }); + /* + * @tc.number SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0070 + * @tc.name SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0070 + * @tc.desc 验证UIExtensionAbility侧可正常获取到UIExtensionComponent传递过来的宿主窗口的避让信息(系统手势区域TYPE_SYSTEM_GESTURE) + */ + it('SUB_ACE_UL_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENTAVOIDAREA_0070', 0, async (done: Function) => { + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidArea0040"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button = await driver.findComponent(ON.id("UIExtensionComponentAvoidArea_system_gesture")); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + done(); + }); + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0020 + * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0020 + * @tc.desc 获取UIExtensionComponent的大小和窗口位置信息(切换横竖屏) + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0020 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0020"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('AvoidaderPage0020')); + await button.click(); + await Utils.sleep(2000); + await driver.setDisplayRotationEnabled(true); + await driver.setDisplayRotation(DisplayRotation.ROTATION_90); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0020 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0010 + * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0010 + * @tc.desc 获取UIExtensionComponent的大小和窗口位置信息 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0010 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0010"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('AvoidaderPage0010')); + await button.click(); + await Utils.sleep(2000); + let button1: Component = await driver.findComponent(ON.id('btn2')); + await button1.click(); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0010 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0030 + * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0030 + * @tc.desc 验证UIExtensionAbility侧可正常获取到UIExtensionComponent传递过来的宿主窗口的避让信息(底部控制条区域 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0030 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0030"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('AvoidaderPage0030')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0030 finish.`); + done(); + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0140 + * @tc.name SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0140 + * @tc.desc 获取UIExtensionComponent的避让信息(切换横竖屏) + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0140 start.`); + Settings.createWindow("testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0140"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('AvoidaderPage0140')); + await button.click(); + await Utils.sleep(2000); + await driver.setDisplayRotationEnabled(true); + await driver.setDisplayRotation(DisplayRotation.ROTATION_90); + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_AVOIDAREA_0140 finish.`); + done(); + }) + }) +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIdComponentSpecialComponentsUIExtensionComponentSubwindowTest/UIdComponentSpecialComponentsUIExtensionComponentSubwindow.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIdComponentSpecialComponentsUIExtensionComponentSubwindowTest/UIdComponentSpecialComponentsUIExtensionComponentSubwindow.test.ets new file mode 100644 index 00000000..29bb4866 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIdComponentSpecialComponentsUIExtensionComponentSubwindowTest/UIdComponentSpecialComponentsUIExtensionComponentSubwindow.test.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 { 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' +import { Rect } from '@ohos.graphics.scene' + +export default function UIdComponentSpecialComponentsUIExtensionComponentSubwindow() { + + describe('UIdComponentSpecialComponentsUIExtensionComponentSubwindow', () => { + 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_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0010 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0010 start.`); + Settings.createWindow("testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0010"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIdComponentSpecialComponentsUIExtensionComponentSubwindow0010_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0010 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0040 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0040 start.`); + Settings.createWindow("testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0040"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIdComponentSpecialComponentsUIExtensionComponentSubwindow0040_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0040 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0030 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0030 start.`); + Settings.createWindow("testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0030"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIdComponentSpecialComponentsUIExtensionComponentSubwindow0030_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0030 finish.`); + done(); + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0020 + * @tc.name UIExtension test + * @tc.desc UIExtension test + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0020 start.`); + Settings.createWindow("testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0020"); + await Utils.sleep(2000); + + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UIdComponentSpecialComponentsUIExtensionComponentSubwindow0020_01')); + + await button.click(); + await Utils.sleep(2000); + + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_SUBWINDOW_0020 finish.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit.test.ets new file mode 100644 index 00000000..05acb09f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit.test.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 { 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 } from '@ohos.UiTest' +import { Rect } from '@ohos.graphics.scene' + +export default function UlComponentSpecialComponentsUiExtensionComponentAbexit() { + + describe('UlComponentSpecialComponentsUiExtensionComponentAbexit', () => { + 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_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ABEXIT_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ABEXIT_0020 start.`); + Settings.createWindow('testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0020'); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UlComponentSpecialComponentsUiExtensionComponentAbexitPage0020')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ABEXIT_0020 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ABEXIT_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ABEXIT_0030 start.`); + Settings.createWindow('testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0030'); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UlComponentSpecialComponentsUiExtensionComponentAbexitPage0030')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ABEXIT_0030 finish.`); + done(); + }) + + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ABEXIT_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ABEXIT_0040 start.`); + Settings.createWindow('testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0040'); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UlComponentSpecialComponentsUiExtensionComponentAbexitPage0040')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_ABEXIT_0040 finish.`); + done(); + }) + + it('SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUP_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUP_0010 start.`); + Settings.createWindow('testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UiComponentSpecialComponentsUiExtensionComponentPopup0010'); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + let button: Component = await driver.findComponent(ON.id('UiComponentSpecialComponentsUiExtensionComponentPopup0010')); + await button.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SPECIALCOMPONENTS_UIEXTENSIONCOMPONENT_POPUP_0010 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..392dfe26 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) { @@ -157,7 +157,7 @@ class Settings { * */ createWindow(pageURI: string, X?: number | undefined, Y?: number | undefined, width?: number | undefined, - height?: number | undefined, dpi?: number | undefined) { + height?: number | undefined, dpi?: number | undefined) { if (!this.isPhone) { this.windowCreateType = "createWindow" if (X == undefined) { @@ -208,7 +208,7 @@ class Settings { } async changeWindow(pageURI: string, width?: number | undefined, height?: number | undefined, - dpi?: number | undefined) { + dpi?: number | undefined) { if (!this.isPhone) { this.windowCreateType = "changeWindow" if (width == undefined) { 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..95695927 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,29 @@ export default class TestAbility extends UIAbility { hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageCreate'); GlobalThis.getInstance().setContext("context", this.context) - windowStage.loadContent('testability/pages/Index', (err) => { - if (err.code) { - hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? ''); - return; + // + let atManager = abilityAccessCtrl.createAtManager(); + let appFlags = bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_APPLICATION; + let permissionFlags = 0; + bundleManager.getBundleInfoForSelf(appFlags, (err, data) => { + if (err) { + Logger.error(TAG, 'getAllApplicationInfo failed: %{public}s', err.message); + console.error("") } - hilog.info(0x0000, 'testTag', 'Succeeded in loading the content.'); - }); + let tokenID = + data.appInfo.accessTokenId; //系统应用可以通过bundleManager.getApplicationInfo获取,普通应用可以通过bundleManager.getBundleInfoForSelf获取 + atManager.grantUserGrantedPermission(tokenID, 'ohos.permission.READ_MEDIA', permissionFlags, (err, data) => { + if (err) { + Logger.info(TAG, `grantUserGrantedPermission fail, err->${JSON.stringify(err)}`) + } + }) + atManager.grantUserGrantedPermission(tokenID, 'ohos.permission.WRITE_MEDIA', permissionFlags, (err, data) => { + if (err) { + Logger.info(TAG, `grantUserGrantedPermission fail, err->${JSON.stringify(err)}`) + } + }) + }) + } onWindowStageDestroy() { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/AnalyseUIComponentUIContext/AnalyseUIComponentUIContext0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/AnalyseUIComponentUIContext/AnalyseUIComponentUIContext0010.ets new file mode 100644 index 00000000..042f0698 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/AnalyseUIComponentUIContext/AnalyseUIComponentUIContext0010.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 AnalyseUIComponentUIContext0010 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionAnalyseUIComponentUIContextProvider0010", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/AnalyseUIComponentUIContext/UIExtensionAnalyseUIComponentUIContextPage0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/AnalyseUIComponentUIContext/UIExtensionAnalyseUIComponentUIContextPage0010.ets new file mode 100644 index 00000000..5a712e2c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/AnalyseUIComponentUIContext/UIExtensionAnalyseUIComponentUIContextPage0010.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 +UIExtensionAnalyseUIComponentUIContextPage0010 { + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('UIExtensionAnalyseUIComponentUIContextPage0010') + .onClick(()=>{ + + }) + .height(80) + } + .backgroundColor(Color.Blue) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0010.ets new file mode 100644 index 00000000..438a75a7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0010.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 ArkUIComponentFunctionSpecialComponentsMenuInterface0010 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State menuCloseMsg: string = ""; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0010_02") + .draggable(true) + .onDisAppear(() => { + this.menuCloseMsg = "Menu closed !!!!!" + }) + } + + build() { + Column({space:50}) { + Text('ClickShowMenu-0010') + .backgroundColor(Color.Blue) + .height(80) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0010_01") + .bindMenu(this.MyMenu, + {}) + Text(this.menuCloseMsg).fontColor(Color.Red).fontSize(24) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0020.ets new file mode 100644 index 00000000..1388676e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0020.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 ArkUIComponentFunctionSpecialComponentsMenuInterface0020 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width('30px') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0020') + .height(80) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0020_01") + .bindMenu(this.MyMenu, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0030.ets new file mode 100644 index 00000000..34540b48 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0030.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 ArkUIComponentFunctionSpecialComponentsMenuInterface0030 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width('30%') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0030') + .height(80) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0030_01") + .bindMenu(this.MyMenu, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0040.ets new file mode 100644 index 00000000..f48bf7a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0040.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 ArkUIComponentFunctionSpecialComponentsMenuInterface0040 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width('aaaa') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0040') + .height(80) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0040_01") + .bindMenu(this.MyMenu, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0060.ets new file mode 100644 index 00000000..37367a1a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0060.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 ArkUIComponentFunctionSpecialComponentsMenuInterface0060 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width($r('app.string.size_30_px')) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0060') + .height(80) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0060_01") + .bindMenu(this.MyMenu, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0080.ets new file mode 100644 index 00000000..2fa74df9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0080.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 ArkUIComponentFunctionSpecialComponentsMenuInterface0080 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).selectIcon(this.iconStr).selected(true) + MenuItem({ content: "菜单选项", }).selectIcon(this.iconStr).selected(true) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0080') + .height(80) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0080_01") + .bindMenu(this.MyMenu, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0090.ets new file mode 100644 index 00000000..45dcdefe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0090.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 ArkUIComponentFunctionSpecialComponentsMenuInterface0090 { + private iconStr: ResourceStr = $r("app.string.dollar_dollar"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).selectIcon(this.iconStr).selected(true) + MenuItem({ content: "菜单选项", }).selectIcon(this.iconStr).selected(true) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0090') + .height(80) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0090_01") + .bindMenu(this.MyMenu, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0120.ets new file mode 100644 index 00000000..313708e6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0120.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 '@ohos.promptAction'; + +@Entry +@Component +struct ArkUIComponentFunctionSpecialComponentsMenuInterface0120 { + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0120_02") + .selected(true) + .onChange((selected: boolean) => { + promptAction.showToast({ + message: 'Menu select toast!!!!', + duration: 20000, + }); + }) + + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0120') + .height(80) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0120_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0130.ets new file mode 100644 index 00000000..67b173ea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0130.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 '@ohos.promptAction'; + +@Entry +@Component +struct UIComponentPopupboxMenuDirect0130 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0130_02") + .onChange((selected: boolean) => { + promptAction.showToast({ + message: 'Menu select toast!!!!', + duration: 20000, + }); + }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0130') + .height(80) + .id("ArkUIComponentFunctionSpecialComponentsMenuInterface0130_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.TopRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionAnalyseUIComponentUIContextProvider0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionAnalyseUIComponentUIContextProvider0010.ets new file mode 100644 index 00000000..693d3b8e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionAnalyseUIComponentUIContextProvider0010.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 UIExtensionAbility from '@ohos.app.ability.UIExtensionAbility' +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession' + +const TAG: string = '[UIExtensionAnalyseUIComponentUIContextProvider0010]' +export default class UIExtensionAnalyseUIComponentUIContextProvider0010 extends UIExtensionAbility { + onCreate() { + console.log(TAG, `UIExtAbility onCreate`) + } + onForeground() { + console.log(TAG, `UIExtAbility onForeground`) + } + + onBackground() { + console.log(TAG, `UIExtAbility onBackground`) + } + + onDestroy() { + console.log(TAG, `UIExtAbility onDestroy`) + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/AnalyseUIComponentUIContext/UIExtensionAnalyseUIComponentUIContextPage0010', storage); + } + onSessionDestroy(session: UIExtensionContentSession) { + console.log(TAG, `UIExtAbility onSessionDestroy`) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAccessibilityReportProvider0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAccessibilityReportProvider0080.ets new file mode 100644 index 00000000..07394104 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAccessibilityReportProvider0080.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 UIExtensionAbility from '@ohos.app.ability.UIExtensionAbility' +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession' + +const TAG: string = '[UIExtensionComponentAccessibilityReportProvider0080]' +export default class UIExtensionComponentAccessibilityReportProvider0080 extends UIExtensionAbility { + onCreate() { + console.log(TAG, `UIExtAbility onCreate`) + } + onForeground() { + console.log(TAG, `UIExtAbility onForeground`) + } + + onBackground() { + console.log(TAG, `UIExtAbility onBackground`) + } + + onDestroy() { + console.log(TAG, `UIExtAbility onDestroy`) + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0080', storage); + } + onSessionDestroy(session: UIExtensionContentSession) { + console.log(TAG, `UIExtAbility onSessionDestroy`) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAccessibilityReportProvider0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAccessibilityReportProvider0090.ets new file mode 100644 index 00000000..1f15b516 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAccessibilityReportProvider0090.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 UIExtensionAbility from '@ohos.app.ability.UIExtensionAbility' +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession' + +const TAG: string = '[UIExtensionComponentAccessibilityReportProvider0090]' +export default class UIExtensionComponentAccessibilityReportProvider0090 extends UIExtensionAbility { + onCreate() { + console.log(TAG, `UIExtAbility onCreate`) + } + onForeground() { + console.log(TAG, `UIExtAbility onForeground`) + } + + onBackground() { + console.log(TAG, `UIExtAbility onBackground`) + } + + onDestroy() { + console.log(TAG, `UIExtAbility onDestroy`) + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0090', storage); + } + onSessionDestroy(session: UIExtensionContentSession) { + console.log(TAG, `UIExtAbility onSessionDestroy`) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAvoidAreaProvider0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAvoidAreaProvider0040.ets new file mode 100755 index 00000000..656d8dfc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAvoidAreaProvider0040.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 UIExtensionAbility from '@ohos.app.ability.UIExtensionAbility' +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession' + +const TAG: string = '[UIExtensionComponentAvoidAreaProvider0040]' +export default class UIExtensionComponentAvoidAreaProvider0040 extends UIExtensionAbility { + onCreate() { + console.log(TAG, `UIExtAbility onCreate`) + } + onForeground() { + console.log(TAG, `UIExtAbility onForeground`) + } + + onBackground() { + console.log(TAG, `UIExtAbility onBackground`) + } + + onDestroy() { + console.log(TAG, `UIExtAbility onDestroy`) + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidAreaPage0040', storage); + } + onSessionDestroy(session: UIExtensionContentSession) { + console.log(TAG, `UIExtAbility onSessionDestroy`) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentStyleLanguageProvider0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentStyleLanguageProvider0210.ets new file mode 100644 index 00000000..7897db7d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentStyleLanguageProvider0210.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 UIExtensionAbility from '@ohos.app.ability.UIExtensionAbility' +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession' + +const TAG: string = '[UIExtensionComponentStyleLanguageProvider0210]' +export default class UIExtensionComponentStyleLanguageProvider0210 extends UIExtensionAbility { + onCreate() { + console.log(TAG, `UIExtAbility onCreate`) + } + onForeground() { + console.log(TAG, `UIExtAbility onForeground`) + } + + onBackground() { + console.log(TAG, `UIExtAbility onBackground`) + } + + onDestroy() { + console.log(TAG, `UIExtAbility onDestroy`) + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIExtensionComponentStyleLanguagePage0210', storage); + } + onSessionDestroy(session: UIExtensionContentSession) { + console.log(TAG, `UIExtAbility onSessionDestroy`) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0420.ets new file mode 100644 index 00000000..e0b9b266 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0420.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class SliderModifier420 implements AttributeModifier { + private thickNess: Length [] = [10, 20, 30, 40] + private trackColor: Color [] = [Color.Red, Color.Brown, Color.Pink, Color.Orange]; + private propIndex: number = 0 + + applyNormalAttribute(instance: SliderAttribute): void { + instance.trackThickness(this.thickNess[this.propIndex]); + instance.trackColor(this.trackColor[this.propIndex]); + } +} + +@Entry +@Component +struct UIComponentButtonCommonButton0420 { + @State modifier: SliderModifier420 = new SliderModifier420() + + build() { + Row() { + Column() { + Slider({ + min: 0, + max: 100, + step: 1 + }).id("UIComponentButtonCommonButton0420_01") + .attributeModifier(this.modifier) + .onClick(() => { + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0430.ets new file mode 100644 index 00000000..592d43ea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0430.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class SliderModifier0430 implements AttributeModifier { + private thickNess: Length [] = [10, 20, 30, 40] + private trackColor: Color [] = [Color.Red, Color.Brown, Color.Pink, Color.Orange]; + private propIndex: number = 1 + + applyNormalAttribute(instance: SliderAttribute): void { + instance.trackThickness(this.thickNess[this.propIndex]); + instance.trackColor(this.trackColor[this.propIndex]); + } +} + +@Entry +@Component +struct UIComponentButtonCommonButton0430 { + @State modifier: SliderModifier0430 = new SliderModifier0430() + + build() { + Row() { + Column() { + Slider({ + min: 0, + max: 100, + step: 1 + }).id("UIComponentButtonCommonButton0430_01") + .attributeModifier(this.modifier) + .onClick(() => { + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0440.ets new file mode 100644 index 00000000..b00fd553 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0440.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class SliderModifier0440 implements AttributeModifier { + private thickNess: Length [] = [10, 20, 30, 40] + private trackColor: Color [] = [Color.Red, Color.Brown, Color.Pink, Color.Orange]; + private propIndex: number = 3 + + applyNormalAttribute(instance: SliderAttribute): void { + instance.trackThickness(this.thickNess[this.propIndex]); + instance.trackColor(this.trackColor[this.propIndex]); + } +} + +@Entry +@Component +struct UIComponentButtonCommonButton0440 { + @State modifier: SliderModifier0440 = new SliderModifier0440() + + build() { + Row() { + Column() { + Slider({ + min: 0, + max: 100, + step: 1 + }).id("UIComponentButtonCommonButton0440_01") + .attributeModifier(this.modifier) + .onClick(() => { + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0450.ets new file mode 100644 index 00000000..56b469ae --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0450.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class SliderModifier0450 implements AttributeModifier { + private thickNess: Length [] = [10, 20, 30, 40] + private trackColor: Color [] = [Color.Red, Color.Brown, Color.Pink, Color.Orange]; + private propIndex: number = 3 + + applyNormalAttribute(instance: SliderAttribute): void { + instance.trackThickness(this.thickNess[this.propIndex]); + instance.trackColor(this.trackColor[this.propIndex]); + } +} + +@Entry +@Component +struct UIComponentButtonCommonButton0450 { + @State modifier: SliderModifier0450 = new SliderModifier0450() + + build() { + Row() { + Column() { + Slider({ + min: 0, + max: 100, + step: 1 + }).id("UIComponentButtonCommonButton0450_01") + .attributeModifier(this.modifier) + .onClick(() => { + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0010.ets new file mode 100644 index 00000000..a5b1e1ff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0010.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 UIComponentButtonSliderAction0010 { + @State sliderValue: number = 0; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0020.ets new file mode 100644 index 00000000..42d885bb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0020.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 UIComponentButtonSliderAction0020 { + @State sliderValue: number = 0; + @State tap: string = ''; + @State swipe: string = ''; + + build() { + Column({ space: 8 }) { + Text(this.tap) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .gesture( + GestureGroup(GestureMode.Parallel, + TapGesture() + .onAction(() => { + this.tap = 'TapGesture succ'; + }), + SwipeGesture({ direction: SwipeDirection.Vertical }) + .onAction((event: GestureEvent) => { + if (event) { + this.swipe = 'SwipeGesture succ'; + } + }) + ) + ) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0030.ets new file mode 100644 index 00000000..e3612c47 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0030.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 UIComponentButtonSliderAction0030 { + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Slider({ + value: 50, + min: 0, + max: 100, + step: 1 + }).trackThickness(8) + }.id("UIComponentButtonSliderAction0030_01") + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderLayout/UIComponentButtonSliderLayout0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderLayout/UIComponentButtonSliderLayout0020.ets new file mode 100644 index 00000000..d8c033a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderLayout/UIComponentButtonSliderLayout0020.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 UIComponentButtonSliderLayout0020 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .trackThickness(60) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0020.ets new file mode 100644 index 00000000..366c884c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0020.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 UIComponentButtonSliderRange0020 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0030.ets new file mode 100644 index 00000000..b22d85e7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0030.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 UIComponentButtonSliderRange0030 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0050.ets new file mode 100644 index 00000000..57e98376 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0050.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 UIComponentButtonSliderRange0050 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 10, + min: 10, + max: 10 + }) + .slideRange({ + from: 10, + to: 10 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0060.ets new file mode 100644 index 00000000..6fafaad9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0060.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 UIComponentButtonSliderRange0060 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 30, + min: 10, + max: 20 + }) + .slideRange({ + from: 40, + to: 50 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0070.ets new file mode 100644 index 00000000..76b436f9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0070.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 UIComponentButtonSliderRange0070 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 30, + min: 40, + max: 50 + }) + .slideRange({ + from: 20, + to: 10 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0080.ets new file mode 100644 index 00000000..028711ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0080.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 UIComponentButtonSliderRange0080 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 40, + max: 30 + }) + .slideRange({ + from: 100, + to: 10 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0090.ets new file mode 100644 index 00000000..873e9752 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0090.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 UIComponentButtonSliderRange0090 { + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 30, + max: 10 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0100.ets new file mode 100644 index 00000000..51361592 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0100.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 UIComponentButtonSliderRange0100 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 120, + min: 130, + max: 100 + }) + .slideRange({ + from: 130, + to: 100 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0110.ets new file mode 100644 index 00000000..2ed6fe23 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0110.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 UIComponentButtonSliderRange0110 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0120.ets new file mode 100644 index 00000000..0358b31e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0120.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 UIComponentButtonSliderRange0120 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0130.ets new file mode 100644 index 00000000..352c1101 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0130.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 UIComponentButtonSliderRange0130 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0140.ets new file mode 100644 index 00000000..6d65b9ef --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0140.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 UIComponentButtonSliderRange0140 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0150.ets new file mode 100644 index 00000000..14346e93 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0150.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 UIComponentButtonSliderRange0150 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0160.ets new file mode 100644 index 00000000..8f7cb1d0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0160.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 UIComponentButtonSliderRange0160 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0170.ets new file mode 100644 index 00000000..ffca8cf7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0170.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 UIComponentButtonSliderRange0170 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0180.ets new file mode 100644 index 00000000..2016c82c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0180.ets @@ -0,0 +1,35 @@ +1/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentButtonSliderRange0180 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0190.ets new file mode 100644 index 00000000..97a92f43 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0190.ets @@ -0,0 +1,35 @@ +1/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentButtonSliderRange0190 { + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + step: 10 + }) + .slideRange({ + from: 12, + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0200.ets new file mode 100644 index 00000000..fedf8524 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0200.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 UIComponentButtonSliderRange0200 { + build() { + Column({ space: 8 }) { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + to: 199 + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0210.ets new file mode 100644 index 00000000..56b47b04 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0210.ets @@ -0,0 +1,43 @@ +1/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentButtonSliderRange0210 { + @State blockStyle: SliderBlockType = SliderBlockType.DEFAULT; + + build() { + Column({ space: 8 }) { + Button('SliderBlockType') + .id('UIComponentButtonSliderRange0210_001') + .onClick(() => { + this.blockStyle = SliderBlockType.SHAPE + }) + Slider({ + value: 20, + min: 0, + max: 100 + }) + .blockStyle({ + type: this.blockStyle, + shape: new Path({ commands: 'M60 60 M30 30 L15 56 L45 56 Z' }) + }) + .slideRange({ + from: 0, + to: 60 + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0220.ets new file mode 100644 index 00000000..ebfb0b6c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0220.ets @@ -0,0 +1,36 @@ +1/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentButtonSliderRange0220 { + @State sliderDirection: Axis = Axis.Vertical; + + build() { + Column({ space: 8 }) { + Button('direction') + .id('UIComponentButtonSliderRange0220_001') + .onClick(() =>{ + this.sliderDirection = Axis.Horizontal; + }) + Slider({ + value: 0, + min: 0, + max: 100, + direction: this.sliderDirection + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0230.ets new file mode 100644 index 00000000..1105256c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0230.ets @@ -0,0 +1,37 @@ +1 /* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonSliderRange0230 { + @State reverse: boolean = false; + + build() { + Column({ space: 8 }) { + Button('reverse') + .id('UIComponentButtonSliderRange0230_001') + .onClick(() => { + this.reverse = !this.reverse; + }) + Slider({ + value: 20, + min: 0, + max: 100, + reverse: this.reverse + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0240.ets new file mode 100644 index 00000000..c9fcb49b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0240.ets @@ -0,0 +1,48 @@ +1 /* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonSliderRange0240 { + @State showSteps: boolean = false; + @State showTips: boolean = false; + + build() { + Column({ space: 8 }) { + Button('showSteps') + .id('UIComponentButtonSliderRange0240_001') + .onClick(() => { + this.showSteps = !this.showSteps; + }) + Button('showTips') + .id('UIComponentButtonSliderRange0240_002') + .onClick(() => { + this.showTips = !this.showTips; + }) + Slider({ + value: 20, + min: 0, + max: 100 + }) + .showSteps(this.showSteps) + .showTips(this.showTips) + .slideRange({ + from: 0, + to: 60 + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0250.ets new file mode 100644 index 00000000..e4a007f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0250.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 UIComponentButtonSliderRange0250 { + @State sliderInteraction: SliderInteraction = SliderInteraction.SLIDE_AND_CLICK; + + build() { + Column({ space: 8 }) { + Button('sliderInteraction') + .id('UIComponentButtonSliderRange0250_001') + .onClick(() => { + this.sliderInteraction = SliderInteraction.SLIDE_AND_CLICK_UP; + }) + Slider({ + value: 0, + min: 0, + max: 100 + }) + .sliderInteractionMode(this.sliderInteraction) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0260.ets new file mode 100644 index 00000000..1faa0642 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0260.ets @@ -0,0 +1,47 @@ +1 /* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentButtonSliderRange0260 { + @State minResponsiveDistance: number = 0; + + build() { + Column({ space: 8 }) { + Button('minResponsiveDistance5') + .id('UIComponentButtonSliderRange0260_001') + .onClick(() => { + this.minResponsiveDistance = 5; + }) + Button('minResponsiveDistance-5') + .id('UIComponentButtonSliderRange0260_002') + .onClick(() => { + this.minResponsiveDistance = -5; + }) + Button('minResponsiveDistance100') + .id('UIComponentButtonSliderRange0260_003') + .onClick(() => { + this.minResponsiveDistance = 100; + }) + Slider({ + value: 0, + min: 0, + max: 200 + }) + .minResponsiveDistance(this.minResponsiveDistance) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0280.ets new file mode 100644 index 00000000..8897fced --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0280.ets @@ -0,0 +1,36 @@ +1/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentButtonSliderRange0280 { + @State enable: boolean = true; + + build() { + Column({ space: 8 }) { + Button('enable') + .id('UIComponentButtonSliderRange0280_001') + .onClick(() => { + this.enable = !this.enable; + }) + Slider({ + value: 0, + min: 0, + max: 100 + }) + .enabled(this.enable) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0290.ets new file mode 100644 index 00000000..16663e2e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0290.ets @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderRange0290 { + @State isFullScreen: boolean = false + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Column({ space: 8 }) { + Button('horVerSwitch') + .id('UIComponentButtonSliderRange0290_001') + .onClick(() => { + this.horVerSwitch(); + }) + Slider({ + value: 20, + min: 0, + max: 100 + }) + .slideRange({ + from: 0, + to: 60 + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0010.ets new file mode 100644 index 00000000..d193f59b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0010.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 UIComponentButtonSliderSelectedborderradius0010 { + @State colorMode: ThemeColorMode = ThemeColorMode.DARK; + @State trackBorderRadius: Length = 1; + @State selectedBorderRadius: Dimension = 1; + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + + build() { + Column({ space: 8 }) { + Button('InSet滑块在滑轨内') + .id("UIComponentButtonSliderSelectedborderradius0010_001") + .onClick(()=>{ + this.SliderStyle = SliderStyle.InSet; + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .height(80) + .trackBorderRadius(this.trackBorderRadius) + .selectedBorderRadius(this.selectedBorderRadius) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0020.ets new file mode 100644 index 00000000..7b9365e1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0020.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 UIComponentButtonSliderSelectedborderradius0020 { + @State colorMode: ThemeColorMode = ThemeColorMode.DARK; + @State trackBorderRadius: Length = 1; + @State selectedBorderRadius: Dimension = 1; + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + + build() { + Column({ space: 8 }) { + Button('InSet滑块在滑轨内') + .id("UIComponentButtonSliderSelectedborderradius0020_001") + .onClick(()=>{ + this.SliderStyle = SliderStyle.InSet; + }) + Button('底板圆角') + .id("UIComponentButtonSliderSelectedborderradius0020_002") + .onClick(()=>{ + this.trackBorderRadius = '1vp'; + }) + Button('已滑动部分圆角半径') + .id("UIComponentButtonSliderSelectedborderradius0020_003") + .onClick(()=>{ + this.selectedBorderRadius = '10vp'; + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .height(80) + .trackBorderRadius(this.trackBorderRadius) + .selectedBorderRadius(this.selectedBorderRadius) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0030.ets new file mode 100644 index 00000000..c1d779e2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0030.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 UIComponentButtonSliderSelectedborderradius0030 { + @State selectedBorderRadius: Dimension = 1; + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackBorderRadius: Length = 1; + + build() { + Column({ space: 8 }) { + Button('InSet滑块在滑轨内') + .id("UIComponentButtonSliderSelectedborderradius0030_001") + .onClick(()=>{ + this.SliderStyle = SliderStyle.InSet; + }) + Button('底板圆角') + .id("UIComponentButtonSliderSelectedborderradius0030_002") + .onClick(()=>{ + this.trackBorderRadius = '10vp'; + }) + Button('已滑动部分圆角半径') + .id("UIComponentButtonSliderSelectedborderradius0030_003") + .onClick(()=>{ + this.selectedBorderRadius = '5vp' + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackBorderRadius(this.trackBorderRadius) + .selectedBorderRadius(this.selectedBorderRadius) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0170.ets new file mode 100644 index 00000000..856bc6a7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0170.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 UIComponentButtonSliderSelectedborderradius0170 { + @State selectedBorderRadius: Dimension = 1; + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + + build() { + Column({ space: 8 }) { + Button('None无滑块') + .id("UIComponentButtonSliderSelectedborderradius0170_001") + .onClick(()=>{ + this.SliderStyle = SliderStyle.NONE; + this.selectedBorderRadius = $r('app.string.selectedBorderRadius') + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .selectedBorderRadius(this.selectedBorderRadius) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0200.ets new file mode 100644 index 00000000..bc5d1640 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0200.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 UIComponentButtonSliderSelectedborderradius0200 { + @State colorMode: ThemeColorMode = ThemeColorMode.DARK; + @State trackBorderRadius: Length = 1; + @State selectedBorderRadius: Dimension = 1; + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + + build() { + Column({ space: 8 }) { + Button('OutSet滑块在滑轨上') + .id("UIComponentButtonSliderSelectedborderradius0200_001") + .onClick(()=>{ + this.SliderStyle = SliderStyle.OutSet; + }) + Button('底板圆角') + .id("UIComponentButtonSliderSelectedborderradius0200_002") + .onClick(()=>{ + this.trackBorderRadius = '1vp'; + }) + Button('已滑动部分圆角半径') + .id("UIComponentButtonSliderSelectedborderradius0200_003") + .onClick(()=>{ + this.selectedBorderRadius = '10vp'; + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .height(80) + .trackBorderRadius(this.trackBorderRadius) + .selectedBorderRadius(this.selectedBorderRadius) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0210.ets new file mode 100644 index 00000000..c310bcec --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0210.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 UIComponentButtonSliderSelectedborderradius0210 { + @State colorMode: ThemeColorMode = ThemeColorMode.DARK; + @State trackBorderRadius: Length = 1; + @State selectedBorderRadius: Dimension = 1; + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + + build() { + Column({ space: 8 }) { + Button('OutSet滑块在滑轨上') + .id("UIComponentButtonSliderSelectedborderradius0210_001") + .onClick(()=>{ + this.SliderStyle = SliderStyle.OutSet; + }) + Button('底板圆角') + .id("UIComponentButtonSliderSelectedborderradius0210_002") + .onClick(()=>{ + this.trackBorderRadius = '10vp'; + }) + Button('已滑动部分圆角半径') + .id("UIComponentButtonSliderSelectedborderradius0210_003") + .onClick(()=>{ + this.selectedBorderRadius = '5vp'; + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .height(80) + .trackBorderRadius(this.trackBorderRadius) + .selectedBorderRadius(this.selectedBorderRadius) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0120.ets new file mode 100644 index 00000000..b9098839 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0120.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 UIComponentButtonSliderShun0120 { + @State isShowTips: boolean = true; + @State tipsContent: ResourceStr = 'tipsContent'; + @State sliderDirection: Axis = Axis.Vertical; + + build() { + Column({ space: 8 }) { + Button('showTips按钮[true,false]') + .id('UIComponentButtonSliderShun0120_001') + .onClick(() => { + this.isShowTips = true; + }) + Button('direction按钮【Horizontal,Vertical]') + .id('UIComponentButtonSliderShun0120_002') + .onClick(() => { + this.sliderDirection = Axis.Horizontal; + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + direction: this.sliderDirection + }) + .showTips(this.isShowTips, this.tipsContent) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0130.ets new file mode 100644 index 00000000..84b8fdbc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0130.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 UIComponentButtonSliderShun0130 { + @State isShowTips: boolean = true; + @State tipsContent: ResourceStr = ''; + + build() { + Column({ space: 8 }) { + Button('showTips按钮[true,false]') + .id('UIComponentButtonSliderShun0130_001') + .onClick(() => { + this.isShowTips = true; + }) + Button('content内容按钮[aaaa,你好,aaaaa,1000%哈]') + .id('UIComponentButtonSliderShun0130_002') + .onClick(() => { + this.tipsContent = 'aaaa'; + }) + Button('content内容按钮[aaaa,你好,aaaaa,1000%哈]') + .id('UIComponentButtonSliderShun0130_003') + .onClick(() => { + this.tipsContent = '你好'; + }) + Button('content内容按钮[aaaa,你好,aaaaa,1000%哈]') + .id('UIComponentButtonSliderShun0130_004') + .onClick(() => { + this.tipsContent = 'aaaaa'; + }) + Button('content内容按钮[aaaa,你好,aaaaa,1000%哈]') + .id('UIComponentButtonSliderShun0130_005') + .onClick(() => { + this.tipsContent = '1000%哈'; + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .showTips(this.isShowTips, this.tipsContent) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0190.ets new file mode 100644 index 00000000..42f4d375 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0190.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 UIComponentButtonSliderShun0190 { + @State isShowTips: boolean = true; + @State tipsContent: ResourceStr = ''; + + build() { + Column({ space: 8 }) { + Button('showTips按钮[true,false]') + .id('UIComponentButtonSliderShun0190_001') + .onClick(() => { + this.isShowTips = true; + }) + Button('content内容按钮[aaaa,你好,aaaaa,1000%哈]') + .id('UIComponentButtonSliderShun0190_002') + .onClick(() => { + this.tipsContent = 'aaaa'; + }) + Button('content内容按钮[aaaa,你好,aaaaa,1000%哈]') + .id('UIComponentButtonSliderShun0190_003') + .onClick(() => { + this.tipsContent = '你好'; + }) + Button('content内容按钮[aaaa,你好,aaaaa,1000%哈]') + .id('UIComponentButtonSliderShun0190_004') + .onClick(() => { + this.tipsContent = 'aaaaa'; + }) + Button('content内容按钮[aaaa,你好,aaaaa,1000%哈]') + .id('UIComponentButtonSliderShun0190_005') + .onClick(() => { + this.tipsContent = '1000%哈'; + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100 + }) + .showTips(this.isShowTips, this.tipsContent) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0200.ets new file mode 100644 index 00000000..507e8abb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0200.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 UIComponentButtonSliderShun0200 { + @State isShowTips: boolean = true; + @State tipsContent: ResourceStr = 'tipsContent0200'; + + build() { + Column({ space: 8 }) { + Button('showTips按钮[true,false]') + .id('UIComponentButtonSliderShun0200_001') + .onClick(() => { + this.isShowTips = true; + }) + Row() { + Scroll(){ + Slider({ + value: 20, + min: 0, + max: 100 + }) + .showTips(this.isShowTips, this.tipsContent) + } + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0010.ets new file mode 100644 index 00000000..6f8f757e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0010.ets @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0010 { + @State sliderValue: number = 0; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100, + style: undefined + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0020.ets new file mode 100644 index 00000000..44597a21 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0020.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0020 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100, + style: null + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0030.ets new file mode 100644 index 00000000..6b84f15c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0030.ets @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0030 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0040.ets new file mode 100644 index 00000000..7f58327d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0040.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0040 { + @State sliderValue: number = 0; + @State sliderInteraction: SliderInteraction = SliderInteraction.SLIDE_AND_CLICK; + + build() { + Column({ space: 8 }) { + Button('SliderInteractionMode') + .id('UIComponentButtonSliderSliderInteractionMode0040_001') + .onClick(() => { + this.sliderInteraction = SliderInteraction.SLIDE_ONLY; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .sliderInteractionMode(this.sliderInteraction) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0050.ets new file mode 100644 index 00000000..5974a585 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0050.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0050 { + @State sliderValue: number = 0; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0060.ets new file mode 100644 index 00000000..7cc973a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0060.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0060 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .minResponsiveDistance(-10) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0080.ets new file mode 100644 index 00000000..e40fa4d2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0080.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0080 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .minResponsiveDistance(undefined) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0090.ets new file mode 100644 index 00000000..355c7dbc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0090.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0090 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .minResponsiveDistance(-100) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0100.ets new file mode 100644 index 00000000..92dfebd5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0100.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0100 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .minResponsiveDistance(20) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0110.ets new file mode 100644 index 00000000..530009bf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0110.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0110 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .minResponsiveDistance(20) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0120.ets new file mode 100644 index 00000000..ffde3554 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0120.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0120 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .minResponsiveDistance(20) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0130.ets new file mode 100644 index 00000000..8855b99a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0130.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0130 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .minResponsiveDistance(20) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0150.ets new file mode 100644 index 00000000..87caea56 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0150.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0150 { + @State sliderValue: number = 50; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .minResponsiveDistance(20) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0170.ets new file mode 100644 index 00000000..89d2459d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0170.ets @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentButtonSliderSliderInteractionMode0170 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + @State isFullScreen: boolean = false; + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Column({ space: 8 }) { + Button('horVerSwitch') + .id('UIComponentButtonSliderSliderInteractionMode0170_001') + .onClick(() => { + this.horVerSwitch() + }) + + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .minResponsiveDistance(100) + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0010.ets new file mode 100644 index 00000000..ab10c6df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0010.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 UIComponentButtonSliderTrackcolor0010 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0030.ets new file mode 100644 index 00000000..3493c347 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0030.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 UIComponentButtonSliderTrackcolor0030 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + @State selectedColor: ResourceColor = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0030_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.White, offset: 0 }, { color: Color.Blue, offset: 0.5 } + , {color: Color.Red, offset: 1}]) + }) + Button('selectedColor') + .id('UIComponentButtonSliderTrackcolor0030_002') + .onClick(() => { + this.selectedColor = Color.Red + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .selectedColor(this.selectedColor) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0040.ets new file mode 100644 index 00000000..bf38bf5c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0040.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 UIComponentButtonSliderTrackcolor0040 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = ''; + @State selectColor: ResourceColor = Color.Pink; + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0040_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.White, offset: 0 }, { color: Color.Blue, offset: 0.5 } + , {color: Color.Red, offset: 1}]) + }) + Button('selectColor') + .id('UIComponentButtonSliderTrackcolor0040_002') + .onClick(() => { + this.selectColor = '#007dff' + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .slideRange({ + from: 10, + to: 10 + }) + .trackColor(this.trackColor) + .selectedColor(this.selectColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0050.ets new file mode 100644 index 00000000..8970a300 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0050.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 UIComponentButtonSliderTrackcolor0050 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0050_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.White, offset: 0 }, { color: Color.Blue, offset: 0.5 } + , {color: Color.Red, offset: 1}]) + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + .selectedColor(Color.Red) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0060.ets new file mode 100644 index 00000000..6a738766 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0060.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 UIComponentButtonSliderTrackcolor0060 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0060_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.Red, offset: 0.5 }]) + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0070.ets new file mode 100644 index 00000000..ac91a888 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0070.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 UIComponentButtonSliderTrackcolor0070 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0070_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.White, offset: 0 }, { color: Color.Blue, offset: 0.5 } + , {color: Color.Red, offset: 1}]) + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0080.ets new file mode 100644 index 00000000..206f1630 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0080.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 UIComponentButtonSliderTrackcolor0080 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0080_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.White, offset: 0 }, {color: Color.Red, offset: 1}]) + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0090.ets new file mode 100644 index 00000000..a6813b68 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0090.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 UIComponentButtonSliderTrackcolor0090 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0090_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.White, offset: 0 }, { color: Color.Blue, offset: 0.1 } + , {color: Color.Red, offset: 0.8}, {color: Color.Green, offset: 1}]) + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0100.ets new file mode 100644 index 00000000..f82774f2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0100.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 UIComponentButtonSliderTrackcolor0100 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0100_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.White, offset: 0 }, { color: Color.Blue, offset: 0.1 }, + { color: Color.Red, offset: 0.2 }, { color: Color.Green, offset: 0.3 }, { + color: Color.Yellow, + offset: 0.4 + }, + { color: Color.Brown, offset: 0.5 }, { color: Color.Orange, offset: 0.6 }, { + color: Color.Pink, + offset: 0.7 + }, + { color: '#ff1f88c9', offset: 0.8 }, { color: '#ff9f00d9', offset: 0.9 }, { + color: '#ffcc88c9', + offset: 1 + }]); + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0110.ets new file mode 100644 index 00000000..835716bb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0110.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 UIComponentButtonSliderTrackcolor0110 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0110_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.White, offset: 0 }, { color: Color.Blue, offset: 0.33 } + , {color: Color.Red, offset: 0.66}, {color: Color.Green, offset: 1}]) + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0120.ets new file mode 100644 index 00000000..1ea59c55 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0120.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 UIComponentButtonSliderTrackcolor0120 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0130.ets new file mode 100644 index 00000000..47d741cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0130.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 UIComponentButtonSliderTrackcolor0130 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('切换未滑动部分颜色') + .id('UIComponentButtonSliderTrackcolor0130_001') + .onClick(() => { + this.trackColor = Color.Blue; + }) + Button('切换颜色') + .id('UIComponentButtonSliderTrackcolor0130_002') + .onClick(() => { + this.trackColor = new LinearGradient([ { color: Color.Blue, offset: 0.5 }]); + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0140.ets new file mode 100644 index 00000000..4645608a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0140.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 UIComponentButtonSliderTrackcolor0140 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0140_001') + .onClick(() => { + this.trackColor = $r('app.string.Azure'); + }) + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0140_002') + .onClick(() => { + this.trackColor = new LinearGradient([ { color: $r('app.string.Azure'), offset: 0.5 }]); + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0150.ets new file mode 100644 index 00000000..01a33242 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0150.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 UIComponentButtonSliderTrackcolor0150 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0150_001') + .onClick(() => { + this.trackColor = 'rgba(255,100,255,0.5)'; + }) + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0150_002') + .onClick(() => { + this.trackColor = new LinearGradient([ { color: 'rgba(255,100,255,0.5)', offset: 0.5 }]); + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0160.ets new file mode 100644 index 00000000..a0760467 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0160.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 UIComponentButtonSliderTrackcolor0160 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0160_001') + .onClick(() => { + this.trackColor = '0xfff0000'; + }) + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0160_002') + .onClick(() => { + this.trackColor = new LinearGradient([ { color: '0xfff0000', offset: 0.5 }]); + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0170.ets new file mode 100644 index 00000000..23449bcc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0170.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 UIComponentButtonSliderTrackcolor0170 { + @State selectedBorderRadius: Dimension = 1; + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor('ccc') + .selectedBorderRadius(this.selectedBorderRadius) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0180.ets new file mode 100644 index 00000000..62397270 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0180.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 UIComponentButtonSliderTrackcolor0180 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient | undefined = undefined; + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0190.ets new file mode 100644 index 00000000..b55e62db --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0190.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 UIComponentButtonSliderTrackcolor0190 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient | null = null; + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0200.ets new file mode 100644 index 00000000..8e240777 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0200.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 UIComponentButtonSliderTrackcolor0200 { + @State selectedBorderRadius: Dimension = 1; + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + + build() { + Column({ space: 8 }) { + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(null) + .selectedBorderRadius(this.selectedBorderRadius) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0220.ets new file mode 100644 index 00000000..ac27f373 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0220.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 UIComponentButtonSliderTrackcolor0220 { + @State selectedBorderRadius: Dimension = 1; + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0220_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.White, offset: 0 }, { color: Color.Blue, offset: 0.5 } + , {color: Color.Red, offset: 1}]) + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .blockColor(Color.Transparent) + .trackColor(this.trackColor) + .selectedBorderRadius(this.selectedBorderRadius) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0230.ets new file mode 100644 index 00000000..f87af652 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0230.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 UIComponentButtonSliderTrackcolor0230 { + @State SliderStyle: SliderStyle = SliderStyle.OutSet; + @State trackColor: ResourceColor | LinearGradient = '' + + build() { + Column({ space: 8 }) { + Button('trackColor') + .id('UIComponentButtonSliderTrackcolor0230_001') + .onClick(() => { + this.trackColor = new LinearGradient([{ color: Color.White, offset: 0 }, { color: Color.Blue, offset: 0.5 } + , {color: Color.Red, offset: 1}]) + }) + Row() { + Slider({ + value: 20, + min: 0, + max: 100, + style: this.SliderStyle + }) + .trackColor(this.trackColor) + .selectedColor(Color.Red) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0010.ets new file mode 100644 index 00000000..d6de61c7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0010.ets @@ -0,0 +1,23 @@ +@Entry +@Component +struct UIComponentButtonSliderUx0010 { + @State outSetValueTwo: number = 40 + build() { + Column({ space: 8 }) { + Text('outset slider').fontSize(9).fontColor(0xCCCCCC).width('90%').margin(15) + Row() { + Slider({ + value: $$this.outSetValueTwo, + step: 10, + style: SliderStyle.OutSet + }) + .id("Slider") + .showTips(true) + Text(this.outSetValueTwo.toFixed(0)).fontSize(12) + } + .width('80%') + + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0020.ets new file mode 100644 index 00000000..47773fc6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0020.ets @@ -0,0 +1,24 @@ +@Entry +@Component +struct UIComponentButtonSliderUx0020 { + @State outSetValueTwo: number = 40 + build() { + Column({ space: 8 }) { + Text('outset slider').fontSize(9).fontColor(0xCCCCCC).width('90%').margin(15) + Row() { + Slider({ + value: $$this.outSetValueTwo, + step: 10, + style: SliderStyle.OutSet + }) + .id("Slider") + .showSteps(true) + .showTips(true) + Text(this.outSetValueTwo.toFixed(0)).fontSize(12) + } + .width('80%') + + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0030.ets new file mode 100644 index 00000000..29830130 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0030.ets @@ -0,0 +1,23 @@ +@Entry +@Component +struct UIComponentButtonSliderUx0030 { + @State outSetValueTwo: number = 40 + build() { + Column({ space: 8 }) { + Text('outset slider').fontSize(9).fontColor(0xCCCCCC).width('90%').margin(15) + Row() { + Slider({ + value: $$this.outSetValueTwo, + step: 10, + style: SliderStyle.OutSet + }) + .showSteps(true) + .showTips(true) + Text(this.outSetValueTwo.toFixed(0)).fontSize(12) + } + .width('80%') + + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0040.ets new file mode 100644 index 00000000..92c36d71 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0040.ets @@ -0,0 +1,23 @@ +@Entry +@Component +struct UIComponentButtonSliderUx0040 { + @State outSetValueTwo: number = 40 + build() { + Column({ space: 8 }) { + Text('outset slider').fontSize(9).fontColor(0xCCCCCC).width('90%').margin(15) + Row() { + Slider({ + value: $$this.outSetValueTwo, + step: 10, + style: SliderStyle.OutSet + }) + .showSteps(true) + .showTips(true) + Text(this.outSetValueTwo.toFixed(0)).fontSize(12) + } + .width('80%') + + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0050.ets new file mode 100644 index 00000000..20f3ee42 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0050.ets @@ -0,0 +1,23 @@ +@Entry +@Component +struct UIComponentButtonSliderUx0050 { + @State outSetValueTwo: number = 40 + build() { + Column({ space: 8 }) { + Text('outset slider').fontSize(9).fontColor(0xCCCCCC).width('90%').margin(15) + Row() { + Slider({ + value: $$this.outSetValueTwo, + step: 10, + style: SliderStyle.OutSet + }) + .showSteps(true) + .showTips(true) + Text(this.outSetValueTwo.toFixed(0)).fontSize(12) + } + .width('80%') + + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0060.ets new file mode 100644 index 00000000..b0a79a19 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0060.ets @@ -0,0 +1,23 @@ +@Entry +@Component +struct UIComponentButtonSliderUx0060 { + @State outSetValueTwo: number = 40 + build() { + Column({ space: 8 }) { + Text('outset slider').fontSize(9).fontColor(0xCCCCCC).width('90%').margin(15) + Row() { + Slider({ + value: $$this.outSetValueTwo, + step: 10, + style: SliderStyle.OutSet + }) + .showSteps(true) + .showTips(true) + Text(this.outSetValueTwo.toFixed(0)).fontSize(12) + } + .width('80%') + + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0070.ets new file mode 100644 index 00000000..90fb338a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0070.ets @@ -0,0 +1,21 @@ +@Entry +@Component +struct UIComponentButtonSliderUx0070 { + @State outSetValueTwo: number = 40 + build() { + Column({ space: 8 }) { + Text('outset slider').fontSize(9).fontColor(0xCCCCCC).width('90%').margin(15) + Row() { + Slider({ + value: $$this.outSetValueTwo, + step: 10, + style: SliderStyle.OutSet + }) + .showSteps(true) + .showTips(true,'0070') + Text(this.outSetValueTwo.toFixed(0)).fontSize(12) + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0080.ets new file mode 100644 index 00000000..31188d75 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0080.ets @@ -0,0 +1,24 @@ + +@Entry +@Component +struct UIComponentButtonSliderUx0080 { + @State outSetValueTwo: number = 40 + build() { + Column({ space: 8 }) { + Text('outset slider').fontSize(9).fontColor(0xCCCCCC).width('90%').margin(15) + Row() { + Slider({ + value: $$this.outSetValueTwo, + step: 10, + style: SliderStyle.OutSet + }) + .id("Slider") + .showTips(true) + Text(this.outSetValueTwo.toFixed(0)).fontSize(12) + } + .width('80%') + + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0230.ets new file mode 100644 index 00000000..8915e219 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0230.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + instance.showTips(this.isClick, 'showTips') + } +} + +@Entry +@Component +struct UIComponentButtonStyle0230 { + @State sliderValue: number = 0; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0230_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0240.ets new file mode 100644 index 00000000..c294837a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0240.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.stepSize(1) + } else { + instance.stepSize(10) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0240 { + @State sliderValue: number = 10; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0240_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0250.ets new file mode 100644 index 00000000..df49fa7b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0250.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = true; + + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.blockStyle({ type: SliderBlockType.DEFAULT }) + } else { + instance.blockStyle({ + type: SliderBlockType.SHAPE, + shape: new Path({ commands: 'M60 60 M30 30 L15 56 L45 56 Z' }) + }) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0250 { + @State sliderValue: number = 10; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0250_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0260.ets new file mode 100644 index 00000000..aade3471 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0260.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.blockSize({ width: 10, height: 10 }) + } else { + instance.blockSize({ width: 5, height: 5 }) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0260 { + @State sliderValue: number = 10; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0260_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0270.ets new file mode 100644 index 00000000..e58d0933 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0270.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.trackBorderRadius(10) + } else { + instance.trackBorderRadius(50) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0270 { + @State sliderValue: number = 10; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0270_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0290.ets new file mode 100644 index 00000000..3995e79a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0290.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.blockBorderWidth(2) + } else { + instance.blockBorderWidth(5) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0290 { + @State sliderValue: number = 0; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0290_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .blockColor(Color.Green) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0300.ets new file mode 100644 index 00000000..7bf7f85d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0300.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.blockBorderColor(Color.Green) + } else { + instance.blockBorderColor(Color.Red) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0300 { + @State sliderValue: number = 10; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0300_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + .blockBorderWidth(2) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0310.ets new file mode 100644 index 00000000..55d03197 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0310.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.stepSize(1) + } else { + instance.stepSize(10) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0310 { + @State sliderValue: number = 0; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0240_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0320.ets new file mode 100644 index 00000000..d3d7bbc3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0320.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.blockColor(Color.Blue) + } else { + instance.blockColor(Color.Orange) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0320 { + @State sliderValue: number = 0; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0320_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0330.ets new file mode 100644 index 00000000..2c3766d3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0330.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.trackColor(Color.Blue) + } else { + instance.trackColor(Color.Black) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0330 { + @State sliderValue: number = 10; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0330_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0340.ets new file mode 100644 index 00000000..fe675cd6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0340.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.selectedColor(Color.Green) + } else { + instance.selectedColor(Color.Pink) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0340 { + @State sliderValue: number = 10; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0340_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0350.ets new file mode 100644 index 00000000..34790a39 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0350.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + + applyNormalAttribute(instance: SliderAttribute): void { + instance.showSteps(this.isClick) + } +} + +@Entry +@Component +struct UIComponentButtonStyle0350 { + @State sliderValue: number = 10; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0350_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .stepSize(5) + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0360.ets new file mode 100644 index 00000000..485d7a2e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0360.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +class MySliderModifier implements AttributeModifier { + isClick: boolean = false + applyNormalAttribute(instance: SliderAttribute): void { + if (this.isClick) { + instance.trackThickness(10) + } else { + instance.trackThickness(20) + } + } +} + +@Entry +@Component +struct UIComponentButtonStyle0360 { + @State sliderValue: number = 0; + @State modifier: MySliderModifier = new MySliderModifier() + + build() { + Column({ space: 8 }) { + Button('changeModifier') + .id('UIComponentButtonStyle0360_001') + .onClick(() => { + this.modifier.isClick = !this.modifier.isClick; + }) + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .width('80%') + .attributeModifier(this.modifier) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentMediaImageFocusable/UIComponentMediaImageFocusable0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentMediaImageFocusable/UIComponentMediaImageFocusable0012.ets new file mode 100644 index 00000000..025cff2b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentMediaImageFocusable/UIComponentMediaImageFocusable0012.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 UIComponentMediaImageFocusable0012 { + build() { + Column() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Start }) { + Row() { + // 加载png格式图片 + Image($r('app.media.4')) + .width(110).height(110).margin(15) + .overlay('png', { align: Alignment.Bottom }) + .border({ width: 2, color: Color.Pink }) + .objectFit(ImageFit.TOP_START) + .focusable(true) + // 加载gif格式图片 + Image($r('app.media.img_gif')) + .width(80).height(80).margin(15) + .overlay('gif', { align: Alignment.Bottom }) + .border({ width: 2, color: Color.Pink }) + .objectFit(ImageFit.BOTTOM_START) + .focusable(true) + } + Row() { + // 加载svg格式图片 + Image($r('app.media.svg0160')) + .width(60).height(60).margin(15) + .overlay('svg', { align: Alignment.Bottom }) + .border({ width: 2, color: Color.Pink }) + .objectFit(ImageFit.TOP_END) + .focusable(true) + // 加载jpg格式图片 + Image($r('app.media.flower1')) + .width(100).height(100).margin(15) + .overlay('jpg', { align: Alignment.Bottom }) + .border({ width: 2, color: Color.Pink }) + .objectFit(ImageFit.CENTER) + .focusable(true) + } + } + }.height(320).width(360).padding({ right: 10, top: 10 }) + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelAnalysis/UIComponentOtherPanelAnalysis0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelAnalysis/UIComponentOtherPanelAnalysis0010.ets new file mode 100644 index 00000000..4480f499 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelAnalysis/UIComponentOtherPanelAnalysis0010.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 UIComponentOtherPanelAnalysis0010 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelAnalysis0010_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .borderRadius(70) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0010.ets new file mode 100644 index 00000000..5fe5ee5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0010.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 UIComponentOtherPanelInteraction0010 { + @State show: boolean = false; + @State contentMode: number = 0; + @State mode: PanelMode = PanelMode.Full; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInteraction0010_001') + .onClick(() => { + this.show = !this.show; + }) + Text('changeMode1') + .id('UIComponentOtherPanelInteraction0010_002') + .onClick(() => { + this.mode = 1; + }) + Text('changeMode0') + .id('UIComponentOtherPanelInteraction0010_003') + .onClick(() => { + this.mode = 0; + }) + Text(this.contentMode + '') + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Foldable) + .mode(this.mode) + .miniHeight(150) + .onChange((width: number, height: number, mode: PanelMode) => { + this.contentMode = mode; + console.info(`onHeightChange:${mode.toString()}`) + }) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0020.ets new file mode 100644 index 00000000..f03cbf5c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0020.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 UIComponentOtherPanelInteraction0020 { + @State show: boolean = false; + @State contentHeight: number = 0; + @State info: string = ''; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInteraction0020_001') + .onClick(() => { + this.show = !this.show; + }) + Text(this.contentHeight + '') + Text(this.info) + Panel(this.show) { + Column() { + } + } + + .id('UIComponentOtherPanelInteraction0020_002') + .type(PanelType.Foldable) + .mode(PanelMode.Mini) + .miniHeight(150) + .onHeightChange((value: number) => { + this.contentHeight = value - value % 100; + this.info = 'onHeightChange succ'; + }) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0030.ets new file mode 100644 index 00000000..2a1cc11d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0030.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 UIComponentOtherPanelInteraction0030 { + @State show: boolean = false; + @State contentHeight: number = 0; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInteraction0030_001') + .onClick(() => { + this.show = !this.show; + }) + Text(this.contentHeight + '') + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Foldable) + .mode(PanelMode.Mini) + .miniHeight(150) + .dragBar(false) + .onHeightChange((value: number) => { + this.contentHeight = value; + console.info(`onHeightChange:${value.toString()}`) + }) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0010.ets new file mode 100644 index 00000000..4dda159f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0010.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 UIComponentOtherPanelInterface0010 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0010_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Full) + .dragBar(false) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0020.ets new file mode 100644 index 00000000..9d3a6e2e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0020.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 UIComponentOtherPanelInterface0020 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0020_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundMask(Color.Pink) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0030.ets new file mode 100644 index 00000000..e88b0e6e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0030.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 UIComponentOtherPanelInterface0030 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0030_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundMask('#FFB6C1') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0040.ets new file mode 100644 index 00000000..58998a08 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0040.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 UIComponentOtherPanelInterface0040 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0040_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundMask($r('app.color.Pink')) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0050.ets new file mode 100644 index 00000000..27e7e0ec --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0050.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 UIComponentOtherPanelInterface0050 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0050_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0060.ets new file mode 100644 index 00000000..a037ba92 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0060.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 UIComponentOtherPanelInterface0060 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0060_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .mode(PanelMode.Full) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0070.ets new file mode 100644 index 00000000..7d10b1d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0070.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 UIComponentOtherPanelInterface0070 { + @State show: boolean = false; + @State type: PanelType = PanelType.Foldable; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0070_001') + .onClick(() => { + this.show = !this.show; + }) + Button('changeType') + .id('UIComponentOtherPanelInterface0070_002') + .onClick(()=>{ + this.type = PanelType.Temporary; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(this.type) + .mode(PanelMode.Full) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0080.ets new file mode 100644 index 00000000..7fabf16b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0080.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 UIComponentOtherPanelInterface0080 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0080_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Minibar) + .mode(PanelMode.Half) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0090.ets new file mode 100644 index 00000000..af3e707b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0090.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 UIComponentOtherPanelInterface0090 { + @State show: boolean = false; + @State type: PanelType = PanelType.Minibar; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0090_001') + .onClick(() => { + this.show = !this.show; + }) + Text('changeType') + .id('UIComponentOtherPanelInterface0090_002') + .onClick(() => { + this.type = PanelType.Minibar; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(this.type) + .mode(PanelMode.Mini) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0100.ets new file mode 100644 index 00000000..9e7a10da --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0100.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 UIComponentOtherPanelInterface0100 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0100_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Mini) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0110.ets new file mode 100644 index 00000000..afd3e796 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0110.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 UIComponentOtherPanelInterface0110 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0110_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Full) + .fullHeight(0) + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0120.ets new file mode 100644 index 00000000..f3d833a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0120.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 UIComponentOtherPanelInterface0120 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0120_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Full) + .fullHeight(120) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0130.ets new file mode 100644 index 00000000..4d19b219 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0130.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 UIComponentOtherPanelInterface0130 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0130_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Full) + .fullHeight(-200) + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0140.ets new file mode 100644 index 00000000..133b1390 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0140.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 UIComponentOtherPanelInterface0140 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0140_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Full) + .fullHeight('500px') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0150.ets new file mode 100644 index 00000000..6df01246 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0150.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 UIComponentOtherPanelInterface0150 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0150_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Full) + .fullHeight(1120) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0160.ets new file mode 100644 index 00000000..83bff73e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0160.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 UIComponentOtherPanelInterface0160 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0160_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Full) + .fullHeight('50%') + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0170.ets new file mode 100644 index 00000000..4d5aa6fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0170.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 UIComponentOtherPanelInterface0170 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0170_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Half) + .halfHeight(0) + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0180.ets new file mode 100644 index 00000000..dbc0144c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0180.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 UIComponentOtherPanelInterface0180 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0180_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Half) + .halfHeight(120) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0190.ets new file mode 100644 index 00000000..ea72a28a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0190.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 UIComponentOtherPanelInterface0190 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0190_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Half) + .halfHeight(-200) + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0200.ets new file mode 100644 index 00000000..100f2b80 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0200.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 UIComponentOtherPanelInterface0200 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0200_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Half) + .halfHeight('500px') + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0210.ets new file mode 100644 index 00000000..98180ae9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0210.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 UIComponentOtherPanelInterface0210 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0210_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Half) + .halfHeight('50%') + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0220.ets new file mode 100644 index 00000000..50004646 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0220.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 UIComponentOtherPanelInterface0220 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0220_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Half) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0230.ets new file mode 100644 index 00000000..3cb20692 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0230.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 UIComponentOtherPanelInterface0230 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0230_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Foldable) + .mode(PanelMode.Mini) + .miniHeight(0) + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0240.ets new file mode 100644 index 00000000..110ba07d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0240.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 UIComponentOtherPanelInterface0240 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0240_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Foldable) + .mode(PanelMode.Mini) + .miniHeight(120) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0250.ets new file mode 100644 index 00000000..3a8fd7f0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0250.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 UIComponentOtherPanelInterface0250 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0250_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Foldable) + .mode(PanelMode.Mini) + .miniHeight(-200) + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0260.ets new file mode 100644 index 00000000..dbfeb96e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0260.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 UIComponentOtherPanelInterface0260 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0260_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Foldable) + .mode(PanelMode.Mini) + .miniHeight('500px') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0270.ets new file mode 100644 index 00000000..f77524df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0270.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 UIComponentOtherPanelInterface0270 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0270_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Foldable) + .mode(PanelMode.Mini) + .miniHeight('50%') + .backgroundMask('rgb(255,200,255)') + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0280.ets new file mode 100644 index 00000000..0f98dfb3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0280.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 UIComponentOtherPanelInterface0280 { + @State show: boolean = true; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0280_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0290.ets new file mode 100644 index 00000000..a0d4717e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0290.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 UIComponentOtherPanelInterface0290 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0290_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0300.ets new file mode 100644 index 00000000..8741b73d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0300.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 UIComponentOtherPanelInterface0300 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0300_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Full) + .dragBar(false) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0310.ets new file mode 100644 index 00000000..4e69fa40 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0310.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 UIComponentOtherPanelInterface0310 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0310_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Foldable) + .mode(PanelMode.Full) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0320.ets new file mode 100644 index 00000000..8d863132 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0320.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 UIComponentOtherPanelInterface0320 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0320_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Foldable) + .mode(PanelMode.Half) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0330.ets new file mode 100644 index 00000000..f3cbf84c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0330.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 UIComponentOtherPanelInterface0330 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0330_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Foldable) + .mode(PanelMode.Mini) + .miniHeight(120) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0340.ets new file mode 100644 index 00000000..71f5ae04 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0340.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 UIComponentOtherPanelInterface0340 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0340_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Minibar) + .mode(PanelMode.Full) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0350.ets new file mode 100644 index 00000000..f6af0116 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0350.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 UIComponentOtherPanelInterface0350 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0350_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Minibar) + .mode(PanelMode.Half) + .miniHeight(120) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0360.ets new file mode 100644 index 00000000..843f37dc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0360.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 UIComponentOtherPanelInterface0360 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0360_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Minibar) + .mode(PanelMode.Mini) + .miniHeight(120) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0370.ets new file mode 100644 index 00000000..55c4f02d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0370.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 UIComponentOtherPanelInterface0370 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0370_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Full) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0380.ets new file mode 100644 index 00000000..7ac9af4b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0380.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 UIComponentOtherPanelInterface0380 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0380_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Half) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0390.ets new file mode 100644 index 00000000..c4595a59 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0390.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 UIComponentOtherPanelInterface0390 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0390_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Mini) + .miniHeight(120) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0400.ets new file mode 100644 index 00000000..7e1392d7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0400.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 UIComponentOtherPanelInterface0400 { + @State show: boolean = false; + + build() { + Column() { + Text('Panel') + .id('UIComponentOtherPanelInterface0400_001') + .onClick(() => { + this.show = !this.show; + }) + Panel(this.show) { + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .type(PanelType.Temporary) + .mode(PanelMode.Full) + .dragBar(true) + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedAbility0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedAbility0030.ets new file mode 100644 index 00000000..80a0d70a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedAbility0030.ets @@ -0,0 +1,31 @@ +import EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbility0030]' +export default class EmbeddedAbility0030 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0030', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedAbility0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedAbility0040.ets new file mode 100644 index 00000000..9a8f6266 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedAbility0040.ets @@ -0,0 +1,31 @@ +import EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbility0040]' +export default class EmbeddedAbility0040 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0040', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0030.ets new file mode 100644 index 00000000..2085dfb5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0030.ets @@ -0,0 +1,33 @@ +@Entry +@Component +struct EmbeddedPage0030 { + @State isShow: boolean = true; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center, direction: FlexDirection.Column }) { + Button('0030-2') + .id("UIComponentPopupboxBindMenu0030_01") + .onClick(()=>{ + this.isShow = !this.isShow; + }) + + Button('0030') + .height(80) + .bindMenu(this.isShow, this.MyMenu, + { + enableArrow: true + }) + } + .backgroundColor(Color.Blue) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0040.ets new file mode 100644 index 00000000..bd4c6a3d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0040.ets @@ -0,0 +1,34 @@ +@Entry +@Component +struct EmbeddedPage0040 { + @State isShow: boolean = false; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center, direction: FlexDirection.Column }) { + Button('0040-2') + .id("UIComponentPopupboxBindMenu0040_01") + .onClick(() => { + this.isShow = !this.isShow; + }) + + Button('0040') + .height(80) + .id("UIComponentPopupboxBindMenu0040_02") + .bindMenu(this.isShow, this.MyMenu, + { + enableArrow: true + }) + } + .backgroundColor(Color.Blue) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0010.ets new file mode 100644 index 00000000..55c13726 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0010.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 UIComponentPopupboxBindMenu0010 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isShow: boolean = true; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('change isShow') + .onClick(()=>{ + this.isShow = !this.isShow; + }) + .id("UIComponentPopupboxBindMenu0010_02") + .height(80) + + Button('ClickShowMenu-0010') + .height(80) + .id("UIComponentPopupboxBindMenu0010_01") + .bindMenu(this.isShow, this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0020.ets new file mode 100644 index 00000000..03807f35 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0020.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 UIComponentPopupboxBindMenu0020 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isShow: boolean = false; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('change isShow') + .onClick(()=>{ + this.isShow = !this.isShow; + }) + .id("UIComponentPopupboxBindMenu0020_02") + .height(80) + + Button('ClickShowMenu-0020') + .height(80) + .id("UIComponentPopupboxBindMenu0020_01") + .bindMenu(this.isShow, this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0030.ets new file mode 100644 index 00000000..9940bd3f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0030.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 UIComponentPopupboxBindMenu0030 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0030", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0040.ets new file mode 100644 index 00000000..70c442f7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0040.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 UIComponentPopupboxBindMenu0040 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0040", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0010.ets new file mode 100644 index 00000000..ff959bda --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0010.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 UIComponentPopupboxConsistencyScene0010 { + @State formId: string = '0'; + + build() { + Column({ space: 100 }) { + Text("Card0010").fontSize(20).fontColor(Color.Pink) + FormComponent({ + id: this.formId, + name: "Form1", + bundle: "com.example.cardexample", + ability: "FormAbility", + module: "entry", + dimension: FormDimension.Dimension_2_2, + temporary: false + }) + .allowUpdate(true) + .size({ width: 360, height: 360 }) + .visibility(Visibility.Visible) + .onAcquired((form: FormCallbackInfo) => { + console.log(`form info : ${JSON.stringify(form)}`); + // Invalid form id + if (form.id == -1) { + this.formId = form.idString; + } else { + this.formId = form.id.toString(); + } + }) + .onError((err) => { + console.log(`fail to add form, err: ${JSON.stringify(err)}`); + }) + .onUninstall((form: FormCallbackInfo) => { + console.log(`uninstall form success : ${JSON.stringify(form)}`); + // Invalid form id + if (form.id == -1) { + this.formId = form.idString; + } else { + this.formId = form.id.toString(); + } + }) + } + .id("UIComponentPopupboxConsistencyScene0010_01") + .margin(20).justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0050.ets new file mode 100644 index 00000000..2b557be9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0050.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. + */ + +@Entry +@Component +struct UIComponentPopupboxConsistencyScene0050 { + @State handlePopup1: boolean = false + @State handlePopup2: boolean = false + + build() { + Column({ space: 100 }) { + Button('PopupOptions') + .id("UIComponentPopupboxConsistencyScene0050_01") + .onClick(() => { + this.handlePopup1 = !this.handlePopup1 + }) + .bindPopup(this.handlePopup1, { // PopupOptions类型气泡的内容 + message: 'This is a popup with PopupOptions1', + messageOptions: { // 气泡的文本样式 + textColor: Color.Red, + font: { + size: '14vp', + style: FontStyle.Italic, + weight: FontWeight.Bolder + } + }, + placement: Placement.Bottom, + enableArrow: false, + targetSpace: '15vp', + onStateChange: (e) => { + console.info(JSON.stringify(e.isVisible)) + if (!e.isVisible) { + this.handlePopup1 = false + } + } + }) + + Button('PopupOptions2') + .id("UIComponentPopupboxConsistencyScene0050_02") + .onClick(() => { + this.handlePopup2 = !this.handlePopup2 + }) + .bindPopup(this.handlePopup2, { // PopupOptions类型气泡的内容 + message: 'This is a popup with PopupOptions2', + messageOptions: { // 气泡的文本样式 + textColor: Color.Red, + font: { + size: '14vp', + style: FontStyle.Italic, + weight: FontWeight.Bolder + } + }, + placement: Placement.Bottom, + enableArrow: false, + targetSpace: '15vp', + onStateChange: (e) => { + console.info(JSON.stringify(e.isVisible)) + if (!e.isVisible) { + this.handlePopup2 = false + } + } + }) + }.margin(20).justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0060.ets new file mode 100644 index 00000000..5c296521 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0060.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 UIComponentPopupboxConsistencyScene0060 { + @State formId: string = '0'; + + build() { + Column({ space: 100 }) { + Text("Card0060").fontSize(20).fontColor(Color.Pink) + FormComponent({ + id: this.formId, + name: "Form1", + bundle: "com.example.cardexample", + ability: "FormAbility", + module: "entry", + dimension: FormDimension.Dimension_2_2, + temporary: false + }) + .allowUpdate(true) + .size({ width: 360, height: 360 }) + .visibility(Visibility.Visible) + .onAcquired((form: FormCallbackInfo) => { + console.log(`form info : ${JSON.stringify(form)}`); + // Invalid form id + if (form.id == -1) { + this.formId = form.idString; + } else { + this.formId = form.id.toString(); + } + }) + .onError((err) => { + console.log(`fail to add form, err: ${JSON.stringify(err)}`); + }) + .onUninstall((form: FormCallbackInfo) => { + console.log(`uninstall form success : ${JSON.stringify(form)}`); + // Invalid form id + if (form.id == -1) { + this.formId = form.idString; + } else { + this.formId = form.id.toString(); + } + }) + } + .id("UIComponentPopupboxConsistencyScene0060_01") + .margin(20).justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0080.ets new file mode 100644 index 00000000..476eed15 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0080.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxConsistencyScene0080 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ + symbolStartIcon: this.symbolIconModifier1, + content: "菜单选项1", + symbolEndIcon: this.symbolIconModifier1, + }) + + MenuItem({ + symbolStartIcon: this.symbolIconModifier1, + content: "菜单选项2", symbolEndIcon: this.symbolIconModifier2, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0080') + .height(80) + .id("UIComponentPopupboxConsistencyScene0080_01") + .bindMenu(this.MyMenu, { + placement: Placement.Top + }) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0020.ets new file mode 100644 index 00000000..064bf135 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0020.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 UIComponentPopupboxMenuAnalysis0020 { + @State isShow:boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).id("UIComponentPopupboxMenuAnalysis0020_02") + MenuItem({ content: "菜单选项2", }) + } + } + + build() { + Column() { + Button("menu") + .id("UIComponentPopupboxMenuAnalysis0020_01") + .onClick(() => { + this.isShow = true + }) + .bindContextMenu(this.MyMenu(), ResponseType.LongPress) + .bindMenu(this.MyMenu()) + .fontSize(20) + .margin(10) + } + .justifyContent(FlexAlign.Start) + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0040.ets new file mode 100644 index 00000000..e91f3c24 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0040.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 UIComponentPopupboxMenuAnalysis0040 { + @State isShow:boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + } + } + + @Builder myBuilder() { + Column() { + Button("点击弹出菜单") + .id("UIComponentPopupboxMenuAnalysis0040_02") + .margin(10) + .fontSize(20) + .bindMenu(this.MyMenu()) + } + .width('100%') + } + + build() { + Column() { + Button("transition modal 1") + .id("UIComponentPopupboxMenuAnalysis0040_01") + .onClick(() => { + this.isShow = true + }) + .fontSize(20) + .margin(10) + .bindSheet($$this.isShow, this.myBuilder(),{ + detents:[SheetSize.MEDIUM,SheetSize.LARGE,200], + backgroundColor:Color.Gray, + blurStyle:BlurStyle.Thick, + showClose:true, + title:{title:"title", subtitle:"subtitle"}, + preferType: SheetType.CENTER, + shouldDismiss:((sheetDismiss: SheetDismiss)=> { + console.log("bind sheet shouldDismiss") + sheetDismiss.dismiss() + }) + }) + } + .justifyContent(FlexAlign.Start) + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0010.ets new file mode 100644 index 00000000..4cffd2da --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0010.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 UIComponentPopupboxMenuBindContextMenu0010 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "https://www.baidu.com", labelInfo: '百度' }) + .id("UIComponentPopupboxMenuBindContextMenu0010_02") + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0010') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0010_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0020.ets new file mode 100644 index 00000000..837aa9aa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0020.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 UIComponentPopupboxMenuBindContextMenu0020 { + private iconStr: ResourceStr = $r("app.media.icon") + @State jumpInfo: string[] = [] + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "百度" }).id("UIComponentPopupboxMenuBindContextMenu0020_02") + .onClick(() => { + this.jumpInfo.push("跳转百度成功") + }) + MenuItem({ startIcon: this.iconStr, content: "Index" }).id("UIComponentPopupboxMenuBindContextMenu0020_03") + .onClick(() => { + this.jumpInfo.push("跳转Index成功") + }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0020') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0020_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + + Text(this.jumpInfo + "").fontSize(20).fontColor(Color.Red).margin({ top: 30 }); + + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0030.ets new file mode 100644 index 00000000..3d3ef26e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0030.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 UIComponentPopupboxMenuBindContextMenu0030 { + private iconStr: ResourceStr = $r("app.media.icon") + @State jumpInfo: string[] = [] + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "一级菜单", builder: ():void=>this.SubMenu() }).id("UIComponentPopupboxMenuBindContextMenu0030_02") + } + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "Index" }).id("UIComponentPopupboxMenuBindContextMenu0030_03") + .onClick(() => { + this.jumpInfo.push("跳转Index成功") + }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0030') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0030_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + + Text(this.jumpInfo + "").fontSize(20).fontColor(Color.Red).margin({ top: 30 }); + + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0570.ets new file mode 100644 index 00000000..36a93217 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0570.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 UIComponentPopupboxMenuBindContextMenu0570 { + private iconStr: ResourceStr = $r("app.media.icon") + @State jumpInfo: string[] = [] + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "百度" }).id("UIComponentPopupboxMenuBindContextMenu0570_02") + .onClick(() => { + this.jumpInfo.push("跳转百度成功") + }) + } + } + + build() { + Column({ space: 50 }) { + + Button('longPressTextShowMenu-0570') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0570_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + + Text(this.jumpInfo + "").fontSize(20).fontColor(Color.Red).margin({ top: 30 }); + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0580.ets new file mode 100644 index 00000000..e3803525 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0580.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 UIComponentPopupboxMenuBindContextMenu0580 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "百度" }) + MenuItem({ startIcon: this.iconStr, content: "Index" }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0580') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0580_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0590.ets new file mode 100644 index 00000000..563b65f2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0590.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 UIComponentPopupboxMenuBindContextMenu0590 { + private iconStr: ResourceStr = $r("app.media.icon") + @State jumpInfo: string[] = [] + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "百度" }).id("UIComponentPopupboxMenuBindContextMenu0590_02") + .onClick(() => { + this.jumpInfo.push("跳转百度成功") + }) + MenuItem({ startIcon: this.iconStr, content: "Index" }).id("UIComponentPopupboxMenuBindContextMenu0590_03") + .onClick(() => { + this.jumpInfo.push("跳转Index成功") + }) + } + } + + build() { + Column({ space: 50 }) { + + Button('longPressTextShowMenu-0590') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0590_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + + Text(this.jumpInfo + "").fontSize(20).fontColor(Color.Red).margin({ top: 30 }); + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0600.ets new file mode 100644 index 00000000..31bb5e6b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0600.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 UIComponentPopupboxMenuBindContextMenu0600 { + private iconStr: ResourceStr = $r("app.media.icon") + @State jumpInfo: string[] = [] + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "一级菜单", builder: ():void=>this.SubMenu() }).id("UIComponentPopupboxMenuBindContextMenu0600_02") + } + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "百度" }).id("UIComponentPopupboxMenuBindContextMenu0600_03") + .onClick(() => { + this.jumpInfo.push("跳转百度成功") + }) + MenuItem({ startIcon: this.iconStr, content: "Index" }).id("UIComponentPopupboxMenuBindContextMenu0600_04") + .onClick(() => { + this.jumpInfo.push("跳转Index成功") + }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0600') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0600_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + + Text(this.jumpInfo + "").fontSize(20).fontColor(Color.Red).margin({ top: 30 }); + + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0660.ets new file mode 100644 index 00000000..f89d9b55 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0660.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuBindContextMenu0660 { + private iconStr: ResourceStr = $r("app.media.bear_128_128") + @State endIconModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_trash')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ endIcon: this.iconStr, content: "菜单选项1", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项2", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项3", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项4", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项5", }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0660') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0660_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0670.ets new file mode 100644 index 00000000..7b9f5ef5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0670.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuBindContextMenu0670 { + private iconStr: ResourceStr = $r("app.media.bear_128_128") + @State endIconModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_trash')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项1", }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项2", }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项3", }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项4", }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项5", }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0670') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0670_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0680.ets new file mode 100644 index 00000000..81522209 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0680.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuBindContextMenu0680 { + private iconStr: ResourceStr = $r("app.media.bear_128_128") + @State endIconModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_trash')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项1", endIcon: this.iconStr }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项2", endIcon: this.iconStr }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项3", endIcon: this.iconStr }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项4", endIcon: this.iconStr }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项5", endIcon: this.iconStr }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0680') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0680_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0690.ets new file mode 100644 index 00000000..1271bc4c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0690.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuBindContextMenu0690 { + private iconStr: ResourceStr = $r("app.media.bear_128_128") + @State endIconModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_trash')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ endIcon: this.iconStr, content: "菜单选项1", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项2", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项3", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项4", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项5", }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0690') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0690_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0700.ets new file mode 100644 index 00000000..8848244c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0700.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 UIComponentPopupboxMenuBindContextMenu0700 { + private iconStr: ResourceStr = $r("app.media.bear_128_128") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项1" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项2" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项3" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项4" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项5" }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0700') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0700_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0710.ets new file mode 100644 index 00000000..225f3a78 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0710.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuBindContextMenu0710 { + private iconStr: ResourceStr = $r("app.media.bear_128_128") + @State endIconModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_trash')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项1", }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项2", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项3", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项4", }) + MenuItem({ endIcon: this.iconStr, content: "菜单选项5", }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0710') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0710_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0720.ets new file mode 100644 index 00000000..d6474893 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0720.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuBindContextMenu0720 { + private iconStr: ResourceStr = $r("app.media.bear_128_128") + @State endIconModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_trash')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项1", symbolEndIcon: this.endIconModifier }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项2", symbolEndIcon: this.endIconModifier }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项3", symbolEndIcon: this.endIconModifier }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项4", symbolEndIcon: this.endIconModifier }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项5", symbolEndIcon: this.endIconModifier }) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0720') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0720_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0730.ets new file mode 100644 index 00000000..31c1c116 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0730.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 UIComponentPopupboxMenuBindContextMenu0730 { + private iconStr: ResourceStr = $r("app.media.bear_128_128") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项1" }).selected(true) + MenuItem({ startIcon: this.iconStr, content: "菜单选项2" }).selected(true) + MenuItem({ startIcon: this.iconStr, content: "菜单选项3" }).selected(true) + MenuItem({ startIcon: this.iconStr, content: "菜单选项4" }).selected(true) + MenuItem({ startIcon: this.iconStr, content: "菜单选项5" }).selected(true) + } + } + + build() { + Column({ space: 50 }) { + Button('longPressTextShowMenu-0730') + .height(100) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuBindContextMenu0730_01") + .margin(100) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0030.ets new file mode 100644 index 00000000..981a37c1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0030.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 UIComponentPopupboxMenuBindContextMenuIsShown0030 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Column() { + Text('ClickTextShowMenu-0030') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0030_01") + .bindContextMenu(this.isShown, this.MyMenu, + {}) + } + .width('100%') + .height('100%') + .justifyContent(FlexAlign.Center) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0040.ets new file mode 100644 index 00000000..d23663ba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0040.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 UIComponentPopupboxMenuBindContextMenuIsShown0040 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + @State isShowArr: string[] = []; + @State clickCount: number = 0; + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0040_02") + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.onDisAppear(() => { + this.isShowArr.push(this.clickCount + " onDisAppear=" + this.isShown + "") + }) + } + + build() { + Column({ space: 50 }) { + Text("" + this.isShowArr).margin({ top: 50 }) + Text('ClickTextShowMenu-0040') + .onClick(() => { + if (!this.isShown) { + this.clickCount++; + switch (this.clickCount) { + case 1: + case 2: + break; + case 3: + setTimeout(() => { + ContextMenu.close(); + }, 1000); + break; + case 4: + //switch skip + break; + case 5: + setTimeout(() => { + this.isShown = false; + }, 1000); + break; + } + } + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0040_01") + .bindContextMenu(this.isShown, this.MyMenu, + {}) + } + .width('100%') + .height('100%') + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0050.ets new file mode 100644 index 00000000..d7b63bbe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0050.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 UIComponentPopupboxMenuBindContextMenuIsShown0050 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Column() { + Column() { + Text('ClickTextShowMenu-0050') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0050_01") + .margin(100) + .bindContextMenu(this.isShown, this.MyMenu, + { + }) + } + }.width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0080.ets new file mode 100644 index 00000000..a86986e9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0080.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 UIComponentPopupboxMenuBindContextMenuIsShown0080 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Column() { + Column() { + Text('ClickTextShowMenu-0080') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0080_01") + .margin({ top: '200' }) + .backgroundColor(Color.Gray) + .bindContextMenu(this.isShown, this.MyMenu, + { + preview: MenuPreviewMode.IMAGE, + previewAnimationOptions: {scale: [0.8, 1.0]}, + }) + } + }.width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0090.ets new file mode 100644 index 00000000..a32efb00 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0090.ets @@ -0,0 +1,34 @@ +@Entry +@Component +struct UIComponentPopupboxMenuBindContextMenuIsShown0090 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('ClickTextShowMenu-0090') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0090_01") + .margin({ top: '20' }) + .backgroundColor(Color.Gray) + .bindContextMenu(this.isShown, this.MyMenu, + { + placement: Placement.Bottom + }) + }.height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0100.ets new file mode 100644 index 00000000..9173bc4d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0100.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 UIComponentPopupboxMenuBindContextMenuIsShown0100 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Column() { + Column() { + Text('ClickTextShowMenu-0100') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0100_01") + .margin(100) + .bindContextMenu(this.isShown, this.MyMenu, + { + offset: { x: "1", y: "1" } + }) + } + }.width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0110.ets new file mode 100644 index 00000000..cb83a584 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0110.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 UIComponentPopupboxMenuBindContextMenuIsShown0110 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Column() { + Column() { + Text('ClickTextShowMenu-0110') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0110_01") + .margin(100) + .bindContextMenu(this.isShown, this.MyMenu, + { + enableArrow: false + }) + } + }.width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0120.ets new file mode 100644 index 00000000..1fa1ab5a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0120.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 UIComponentPopupboxMenuBindContextMenuIsShown0120 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Column() { + Column() { + Text('ClickTextShowMenu-0120') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0120_01") + .margin(100) + .bindContextMenu(this.isShown, this.MyMenu, + { + arrowOffset: 2 + }) + } + }.width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0130.ets new file mode 100644 index 00000000..e8f269d1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0130.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 UIComponentPopupboxMenuBindContextMenuIsShown0130 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.backgroundColor(Color.Blue) + } + + build() { + Column({ space: 50 }) { + Column() { + Column() { + Text('ClickTextShowMenu-0130') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0130_01") + .margin(100) + .bindContextMenu(this.isShown, this.MyMenu, + { + }) + } + }.width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0140.ets new file mode 100644 index 00000000..0441a3a3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0140.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 { Position } from '@ohos.arkui.node' + +@Entry +@Component +struct UIComponentPopupboxMenuBindContextMenuIsShown0140 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.backgroundBlurStyle(BlurStyle.BACKGROUND_THIN) + } + + build() { + Column({ space: 50 }) { + Column() { + Column() { + Text('ClickTextShowMenu-0140') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0140_01") + .margin(100) + .bindContextMenu(this.isShown, this.MyMenu, + {}) + } + }.width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0150.ets new file mode 100644 index 00000000..7145710a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0150.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 UIComponentPopupboxMenuBindContextMenuIsShown0150 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Column() { + Column() { + Text('ClickTextShowMenu-0150') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0150_01") + .margin(100) + .bindContextMenu(this.isShown, this.MyMenu, + { + placement: Placement.Right + }) + } + }.width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0160.ets new file mode 100644 index 00000000..866beaaf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0160.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 UIComponentPopupboxMenuBindContextMenuIsShown0160 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = true + @State menuOffset: Position[] = [{ x: 0, y: 0 }, { x: 0, y: 18 }]; + @State menuOffIndex: number = 0; + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Button("切换offset") + .height(80) + .onClick(() => { + this.menuOffIndex++; + if (this.menuOffIndex > this.menuOffset.length - 1) { + this.menuOffIndex = 0; + } + }) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0160_02"); + Text('longPressTextShowMenu-0160') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0160_01") + .margin(100) + .bindContextMenu(this.isShown, this.MyMenu, + { + placement: Placement.Left, + offset: this.menuOffset[this.menuOffIndex] + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0170.ets new file mode 100644 index 00000000..be808c28 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0170.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 UIComponentPopupboxMenuBindContextMenuIsShown0170 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Column() { + Column() { + Text('ClickTextShowMenu-0170') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0170_01") + .margin(100) + .bindContextMenu(this.isShown, this.MyMenu, + { + placement: Placement.Left + }) + } + }.width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0180.ets new file mode 100644 index 00000000..4d23a6c5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0180.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 UIComponentPopupboxMenuBindContextMenuIsShown0180 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Column() { + Column() { + Text('ClickTextShowMenu-0180') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuBindContextMenuIsShown0180_01") + .margin(100) + .bindContextMenu(this.isShown, this.MyMenu, + { + placement: Placement.Bottom + }) + } + }.width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0010.ets new file mode 100644 index 00000000..d01ba984 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0010.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 UIComponentPopupboxMenuCorner0010 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .radius({ + topLeft: -20, + topRight: -20, + bottomLeft: -20, + bottomRight: -20 + }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0010') + .height(80) + .id("UIComponentPopupboxMenuCorner0010_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0020.ets new file mode 100644 index 00000000..bcfdeaf5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0020.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 UIComponentPopupboxMenuCorner0020 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius({ topLeft: '10%', topRight: '20%', bottomLeft: '30%', bottomRight: '40%' }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0020') + .height(80) + .id("UIComponentPopupboxMenuCorner0020_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0030.ets new file mode 100644 index 00000000..e1f32369 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0030.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 UIComponentPopupboxMenuCorner0030 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius({ topLeft: 20, topRight: 30, bottomLeft: 20, bottomRight: 10 }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0030') + .height(80) + .id("UIComponentPopupboxMenuCorner0030_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0040.ets new file mode 100644 index 00000000..9dd907c2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0040.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 UIComponentPopupboxMenuCorner0040 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius({ topLeft: 500, topRight: 500, bottomLeft: 500, bottomRight: 500 }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0040') + .height(80) + .id("UIComponentPopupboxMenuCorner0040_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0050.ets new file mode 100644 index 00000000..8b74ed29 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0050.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 UIComponentPopupboxMenuCorner0050 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius({ topLeft: undefined, topRight: 20, bottomLeft: undefined, bottomRight: 30 }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0050') + .height(80) + .id("UIComponentPopupboxMenuCorner0050_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0060.ets new file mode 100644 index 00000000..1f123b29 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0060.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 UIComponentPopupboxMenuCorner0060 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", builder: (): void => this.SubMenu2() }) + .id("UIComponentPopupboxMenuCorner0060_02") + MenuItem({ content: "菜单选项", }) + } + } + + @Builder + SubMenu2() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + }) + MenuItem({ + content: "子菜单选项", builder: (): void => this.SubMenu3() + }).id("UIComponentPopupboxMenuCorner0060_03") + } + } + } + + @Builder + SubMenu3() { + Menu() { + MenuItem({ + content: "三级菜单选项", + }) + MenuItem({ + content: "三级菜单选项", + }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0060') + .height(80) + .id("UIComponentPopupboxMenuCorner0060_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0070.ets new file mode 100644 index 00000000..861d5649 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0070.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 UIComponentPopupboxMenuCorner0070 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", builder: (): void => this.SubMenu() }).id("UIComponentPopupboxMenuCorner0070_02") + MenuItem({ content: "菜单选项", }) + } + } + + @Builder + SubMenu() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + }) + MenuItem({ + content: "子菜单选项", + }) + } + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0070') + .height(80) + .id("UIComponentPopupboxMenuCorner0070_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0080.ets new file mode 100644 index 00000000..797ed37c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0080.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 UIComponentPopupboxMenuCorner0080 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0080') + .height(80) + .id("UIComponentPopupboxMenuCorner0080_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0090.ets new file mode 100644 index 00000000..dae01598 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0090.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 window from '@ohos.window'; +import common from '@ohos.app.ability.common'; + +@Entry +@Component +struct UIComponentPopupboxMenuCorner0090 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isFullScreen: boolean = false + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0090') + .height(80) + .id("UIComponentPopupboxMenuCorner0090_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + { + enableArrow: true, + }) + Button("横竖屏切换") + .id('UIComponentPopupboxMenuCorner0090_02') + .onClick(() => { + this.horVerSwitch() + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0100.ets new file mode 100644 index 00000000..af29a4d9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0100.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 UIComponentPopupboxMenuCorner0100 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0100') + .height(80) + .id("UIComponentPopupboxMenuCorner0100_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0110.ets new file mode 100644 index 00000000..7745184c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0110.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 UIComponentPopupboxMenuCorner0110 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .radius(50) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0110') + .height(80) + .id("UIComponentPopupboxMenuCorner0110_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0120.ets new file mode 100644 index 00000000..9a8bdaef --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0120.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 UIComponentPopupboxMenuCorner0120 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius(500) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0120') + .height(80) + .id("UIComponentPopupboxMenuCorner0120_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0130.ets new file mode 100644 index 00000000..2e8a05d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0130.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 UIComponentPopupboxMenuCorner0130 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .radius({ + topLeft: $r('app.string.menu_radius_40px'), + topRight: $r('app.string.menu_radius_40px'), + bottomLeft: $r('app.string.menu_radius_40px'), + bottomRight: $r('app.string.menu_radius_40px') + }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0130') + .height(80) + .id("UIComponentPopupboxMenuCorner0130_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0140.ets new file mode 100644 index 00000000..5152529d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0140.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 UIComponentPopupboxMenuCorner0140 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius('-20.0vp') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0140') + .height(80) + .id("UIComponentPopupboxMenuCorner0140_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0150.ets new file mode 100644 index 00000000..240bf887 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0150.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 UIComponentPopupboxMenuCorner0150 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .radius('10fp') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0150') + .height(80) + .id("UIComponentPopupboxMenuCorner0150_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0160.ets new file mode 100644 index 00000000..7f16792c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0160.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 UIComponentPopupboxMenuCorner0160 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius('10px') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0160') + .height(80) + .id("UIComponentPopupboxMenuCorner0160_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0170.ets new file mode 100644 index 00000000..56a4655e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0170.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 UIComponentPopupboxMenuCorner0170 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius('10vp') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0170') + .height(80) + .id("UIComponentPopupboxMenuCorner0170_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0180.ets new file mode 100644 index 00000000..719947e3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0180.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 UIComponentPopupboxMenuCorner0180 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .radius('20%') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0180') + .height(80) + .id("UIComponentPopupboxMenuCorner0180_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0190.ets new file mode 100644 index 00000000..ad5299ed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0190.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 UIComponentPopupboxMenuCorner0190 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius('30px') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0190') + .height(80) + .id("UIComponentPopupboxMenuCorner0190_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0200.ets new file mode 100644 index 00000000..4e53455c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0200.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 UIComponentPopupboxMenuCorner0200 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .radius(undefined) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0200') + .height(80) + .id("UIComponentPopupboxMenuCorner0200_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0210.ets new file mode 100644 index 00000000..6874a320 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0210.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 UIComponentPopupboxMenuCorner0210 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0210') + .height(80) + .id("UIComponentPopupboxMenuCorner0210_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0220.ets new file mode 100644 index 00000000..5cc40437 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0220.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 UIComponentPopupboxMenuCorner0220 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0220') + .height(80) + .id("UIComponentPopupboxMenuCorner0220_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0230.ets new file mode 100644 index 00000000..80b8d6b6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0230.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 UIComponentPopupboxMenuCorner0230 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0230') + .height(80) + .id("UIComponentPopupboxMenuCorner0230_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + preview:MenuPreviewMode.IMAGE, + previewAnimationOptions: {scale: [0.8, 1.0]} + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0240.ets new file mode 100644 index 00000000..98c1942d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0240.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 UIComponentPopupboxMenuCorner0240 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .radius({ + topLeft: -20, + topRight: -20, + bottomLeft: -20, + bottomRight: -20 + }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0240') + .height(80) + .id("UIComponentPopupboxMenuCorner0240_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0250.ets new file mode 100644 index 00000000..86097f0f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0250.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 UIComponentPopupboxMenuCorner0250 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .radius({ + topLeft: '10%', + topRight: '20%', + bottomLeft: '30%', + bottomRight: '40%' + }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0250') + .height(80) + .id("UIComponentPopupboxMenuCorner0250_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0260.ets new file mode 100644 index 00000000..e13466a5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0260.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 UIComponentPopupboxMenuCorner0260 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius({ topLeft: 20, topRight: 30, bottomLeft: 20, bottomRight: 10 }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0260') + .height(80) + .id("UIComponentPopupboxMenuCorner0260_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0270.ets new file mode 100644 index 00000000..113a5bb6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0270.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 UIComponentPopupboxMenuCorner0270 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius({ topLeft: 500, topRight: 500, bottomLeft: 500, bottomRight: 500 }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0270') + .height(80) + .id("UIComponentPopupboxMenuCorner0270_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0280.ets new file mode 100644 index 00000000..1b4f34f7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0280.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 UIComponentPopupboxMenuCorner0280 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .radius({ + topLeft: undefined, + topRight: -20, + bottomLeft: undefined, + bottomRight: -20 + }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0280') + .height(80) + .id("UIComponentPopupboxMenuCorner0280_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0290.ets new file mode 100644 index 00000000..573e30f0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0290.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 UIComponentPopupboxMenuCorner0290 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", builder: (): void => this.SubMenu2() }) + .id("UIComponentPopupboxMenuCorner0290_02") + MenuItem({ content: "菜单选项", }) + } + } + + @Builder + SubMenu2() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + }) + MenuItem({ + content: "子菜单选项", builder: (): void => this.SubMenu3() + }).id("UIComponentPopupboxMenuCorner0290_03") + } + } + } + + @Builder + SubMenu3() { + Menu() { + MenuItem({ + content: "三级菜单选项", + }) + MenuItem({ + content: "三级菜单选项", + }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0290') + .height(80) + .id("UIComponentPopupboxMenuCorner0290_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0300.ets new file mode 100644 index 00000000..fa7df6f6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0300.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 UIComponentPopupboxMenuCorner0300 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", builder: (): void => this.SubMenu2() }) + .id("UIComponentPopupboxMenuCorner0300_02") + MenuItem({ content: "菜单选项", }) + } + } + + @Builder + SubMenu2() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + }) + MenuItem({ + content: "子菜单选项", + }).id("UIComponentPopupboxMenuCorner0300_03") + } + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0300') + .height(80) + .id("UIComponentPopupboxMenuCorner0300_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0310.ets new file mode 100644 index 00000000..3011aaaf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0310.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 UIComponentPopupboxMenuCorner0310 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0310') + .height(80) + .id("UIComponentPopupboxMenuCorner0310_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0320.ets new file mode 100644 index 00000000..70dfc86a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0320.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 window from '@ohos.window'; +import common from '@ohos.app.ability.common'; +import StartOptions from '@ohos.app.ability.StartOptions'; + +@Entry +@Component +struct UIComponentPopupboxMenuCorner0320 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isFullScreen: boolean = false + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0320') + .height(80) + .id("UIComponentPopupboxMenuCorner0320_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.Top + }) + Button("横竖屏切换") + .id('UIComponentPopupboxMenuCorner0320_02') + .onClick(() => { + this.horVerSwitch() + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0330.ets new file mode 100644 index 00000000..9d5f93c8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0330.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 UIComponentPopupboxMenuCorner0330 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0330') + .height(80) + .id("UIComponentPopupboxMenuCorner0330_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0340.ets new file mode 100644 index 00000000..80f92226 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0340.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 UIComponentPopupboxMenuCorner0340 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius(50) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0340') + .height(80) + .id("UIComponentPopupboxMenuCorner0340_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0350.ets new file mode 100644 index 00000000..a28b32ad --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0350.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 UIComponentPopupboxMenuCorner0350 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius(500) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0350') + .height(80) + .id("UIComponentPopupboxMenuCorner0350_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0360.ets new file mode 100644 index 00000000..26dd96ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0360.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 UIComponentPopupboxMenuCorner0360 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .radius({ + topLeft: $r('app.string.menu_radius_40px'), + topRight: $r('app.string.menu_radius_40px'), + bottomLeft: $r('app.string.menu_radius_40px'), + bottomRight: $r('app.string.menu_radius_40px') + }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0360') + .height(80) + .id("UIComponentPopupboxMenuCorner0360_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0370.ets new file mode 100644 index 00000000..789afef6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0370.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 UIComponentPopupboxMenuCorner0370 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius(undefined) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0370') + .height(80) + .id("UIComponentPopupboxMenuCorner0370_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0380.ets new file mode 100644 index 00000000..2933d153 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0380.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 UIComponentPopupboxMenuCorner0380 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius('10fp') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0380') + .height(80) + .id("UIComponentPopupboxMenuCorner0380_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0390.ets new file mode 100644 index 00000000..db5242af --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0390.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 UIComponentPopupboxMenuCorner0390 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius('10px') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0390') + .height(80) + .id("UIComponentPopupboxMenuCorner0390_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0400.ets new file mode 100644 index 00000000..9f63a063 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0400.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 UIComponentPopupboxMenuCorner0400 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius('10vp') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0400') + .height(80) + .id("UIComponentPopupboxMenuCorner0400_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0410.ets new file mode 100644 index 00000000..fbd2131e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0410.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 UIComponentPopupboxMenuCorner0410 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius('20%') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0410') + .height(80) + .id("UIComponentPopupboxMenuCorner0410_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0420.ets new file mode 100644 index 00000000..d0006851 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0420.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 UIComponentPopupboxMenuCorner0420 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius('30px') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0420') + .height(80) + .id("UIComponentPopupboxMenuCorner0420_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0430.ets new file mode 100644 index 00000000..7f3d944f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0430.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 UIComponentPopupboxMenuCorner0430 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.radius(undefined) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0430') + .height(80) + .id("UIComponentPopupboxMenuCorner0430_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0440.ets new file mode 100644 index 00000000..ffbbd361 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0440.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 UIComponentPopupboxMenuCorner0440 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0440') + .height(80) + .id("UIComponentPopupboxMenuCorner0440_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0450.ets new file mode 100644 index 00000000..9116f845 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0450.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 UIComponentPopupboxMenuCorner0450 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0450') + .height(80) + .id("UIComponentPopupboxMenuCorner0450_01") + .bindMenu(this.MyMenu, + { + enableArrow: true + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0460.ets new file mode 100644 index 00000000..f604dec1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0460.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 UIComponentPopupboxMenuCorner0460 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0460') + .height(80) + .id("UIComponentPopupboxMenuCorner0460_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + preview: MenuPreviewMode.IMAGE, + previewAnimationOptions: { scale: [0.8, 1.0] } + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0010.ets new file mode 100644 index 00000000..e769dc3a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0010.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 UIComponentPopupboxMenuDirect0010 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0010') + .height(80) + .id("UIComponentPopupboxMenuDirect0010_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: 0 + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0030.ets new file mode 100644 index 00000000..3bc3ce40 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0030.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 UIComponentPopupboxMenuDirect0030 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0030') + .height(80) + .id("UIComponentPopupboxMenuDirect0030_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: 1000 + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0040.ets new file mode 100644 index 00000000..bd815ad9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0040.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 UIComponentPopupboxMenuDirect0040 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0040') + .height(80) + .id("UIComponentPopupboxMenuDirect0040_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: 50 + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0050.ets new file mode 100644 index 00000000..5cb7ed35 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0050.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 UIComponentPopupboxMenuDirect0050 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0050') + .height(80) + .id("UIComponentPopupboxMenuDirect0050_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: $r('app.float.arrowOffset_1000') + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0060.ets new file mode 100644 index 00000000..8691e22e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0060.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 UIComponentPopupboxMenuDirect0060 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0060') + .height(80) + .id("UIComponentPopupboxMenuDirect0060_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: $r('app.float.arrowOffset_50vp') + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0070.ets new file mode 100644 index 00000000..f4ddb469 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0070.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 UIComponentPopupboxMenuDirect0070 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0070') + .height(80) + .id("UIComponentPopupboxMenuDirect0070_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: '1000%' + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0080.ets new file mode 100644 index 00000000..5991cc4d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0080.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 UIComponentPopupboxMenuDirect0080 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0080') + .height(80) + .id("UIComponentPopupboxMenuDirect0080_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: '1000px' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0090.ets new file mode 100644 index 00000000..4ca38a31 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0090.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 UIComponentPopupboxMenuDirect0090 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0090') + .height(80) + .id("UIComponentPopupboxMenuDirect0090_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0100.ets new file mode 100644 index 00000000..a0cfeba2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0100.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 UIComponentPopupboxMenuDirect0100 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0100') + .height(80) + .id("UIComponentPopupboxMenuDirect0100_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: '50px' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0110.ets new file mode 100644 index 00000000..98bd6346 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0110.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 UIComponentPopupboxMenuDirect0110 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0110') + .height(80) + .id("UIComponentPopupboxMenuDirect0110_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: undefined + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0120.ets new file mode 100644 index 00000000..4cecef18 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0120.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 UIComponentPopupboxMenuDirect0120 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0120') + .height(80) + .id("UIComponentPopupboxMenuDirect0120_01") + .bindMenu(this.MyMenu, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0140.ets new file mode 100644 index 00000000..e67dd6f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0140.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 UIComponentPopupboxMenuDirect0140 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0140') + .height(80) + .id("UIComponentPopupboxMenuDirect0140_01") + .bindMenu(this.MyMenu, + { + enableArrow: undefined, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0150.ets new file mode 100644 index 00000000..44cae4ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0150.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 UIComponentPopupboxMenuDirect0150 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0150') + .height(80) + .id("UIComponentPopupboxMenuDirect0150_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.Bottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0160.ets new file mode 100644 index 00000000..e8a34654 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0160.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 UIComponentPopupboxMenuDirect0160 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0160') + .height(80) + .id("UIComponentPopupboxMenuDirect0160_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.BottomLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0170.ets new file mode 100644 index 00000000..27f1f0b4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0170.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 UIComponentPopupboxMenuDirect0170 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0170') + .height(80) + .id("UIComponentPopupboxMenuDirect0170_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.BottomRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0180.ets new file mode 100644 index 00000000..0595d90a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0180.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 UIComponentPopupboxMenuDirect0180 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0180') + .height(80) + .width(8) + .id("UIComponentPopupboxMenuDirect0180_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.Left + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0190.ets new file mode 100644 index 00000000..4eaea101 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0190.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 UIComponentPopupboxMenuDirect0190 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0190') + .height(80) + .id("UIComponentPopupboxMenuDirect0190_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.LeftBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0200.ets new file mode 100644 index 00000000..f917fdb1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0200.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 UIComponentPopupboxMenuDirect0200 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0200') + .height(80) + .id("UIComponentPopupboxMenuDirect0200_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + arrowOffset: undefined + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0210.ets new file mode 100644 index 00000000..fd69409c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0210.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 UIComponentPopupboxMenuDirect0210 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('ClickShowMenu-0210') + .height(80) + .id("UIComponentPopupboxMenuDirect0210_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.Right + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0220.ets new file mode 100644 index 00000000..c30ac4b2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0220.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 UIComponentPopupboxMenuDirect0220 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('ClickShowMenu-0220') + .height(80) + .id("UIComponentPopupboxMenuDirect0220_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0230.ets new file mode 100644 index 00000000..8c780661 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0230.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 UIComponentPopupboxMenuDirect0230 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width('80%') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0230') + .height(80) + .id("UIComponentPopupboxMenuDirect0230_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0240.ets new file mode 100644 index 00000000..1edbbd4f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0240.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 UIComponentPopupboxMenuDirect0240 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('ClickShowMenu-0240') + .height(80) + .id("UIComponentPopupboxMenuDirect0240_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0250.ets new file mode 100644 index 00000000..45222192 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0250.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 UIComponentPopupboxMenuDirect0250 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0250') + .height(80) + .id("UIComponentPopupboxMenuDirect0250_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0260.ets new file mode 100644 index 00000000..3988d707 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0260.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 UIComponentPopupboxMenuDirect0260 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0260') + .height(80) + .id("UIComponentPopupboxMenuDirect0260_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.TopLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0270.ets new file mode 100644 index 00000000..4729220b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0270.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 UIComponentPopupboxMenuDirect0270 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0270') + .height(80) + .id("UIComponentPopupboxMenuDirect0270_01") + .bindMenu(this.MyMenu, + { + enableArrow: true, + placement: Placement.TopRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement001.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement001.ets new file mode 100644 index 00000000..c355e3c6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement001.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 UIComponentPopupboxMenuEnhancement001 { + @State select: boolean = true + private iconStr: ResourceStr = $r("app.media.icon") + private iconStr2: ResourceStr = $r("app.media.icon") + @State listData: number[] = [] + + aboutToAppear(): void { + for (let i = 0; i < 20; i++) { + this.listData.push(1) + } + } + + @Builder + MyMenu(){ + Menu() { + ForEach(this.listData,(item:number) => { + MenuItem({ + startIcon: $r("app.media.icon"), + content: "菜单选项"+item}) + }) + } + } + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuEnhancement0010_001") + .bindMenu(this.MyMenu()) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0020.ets new file mode 100644 index 00000000..619f146c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0020.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxMenuEnhancement0020 { + scroller: Scroller = new Scroller(); + @State index: number = 0; + + build() { + Column() { + Scroll(this.scroller) { + Select([ + { value: 'Menu1', }, + { value: 'Menu2', }, + { value: 'Menu3', }, + { value: 'Menu4', }, + { value: 'Menu5', }, + { value: 'Menu6', }, + { value: 'Menu7', }, + { value: 'Menu8', }, + { value: 'Menu9', }, + { value: 'Menu10', }, + { value: 'Menu11', }, + { value: 'Menu12', }, + { value: 'Menu13', }, + { value: 'Menu14', }, + { value: 'Menu15', }, + { value: 'Menu16', }, + { value: 'Menu17', }, + { value: 'Menu18', }, + { value: 'Menu19', }, + { value: 'Menu20', }, + ]) + .id("UIComponentPopupboxMenuEnhancement0020_01") + .selected(this.index) + .font({ size: 16, weight: 500 }) + .fontColor('#182431') + .width(180) + .selectedOptionFont({ size: 16, weight: 400 }) + .optionFont({ size: 16, weight: 400 }) + .menuAlign(MenuAlignType.START, { dx: 0, dy: 0 }) + .divider({ strokeWidth: 5, color: Color.Blue, startMargin: 10, endMargin: 10 }) + } + .scrollable(ScrollDirection.Vertical) // The scrollbar scrolls in the vertical direction. + .scrollBarColor(Color.Gray) // The scrollbar color is gray. + .scrollBarWidth(10) // The scrollbar width is 10. + .friction(0.6) + .backgroundColor(Color.Red) + .edgeEffect(EdgeEffect.None) + }.width('100%') + .height('100%') + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0030.ets new file mode 100644 index 00000000..1c2a874c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0030.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 UIComponentPopupboxMenuEnhancement0030 { + scroller: Scroller = new Scroller(); + @State index: number = 0; + + build() { + Column() { + Scroll(this.scroller) { + Select([ + { value: 'Menu1sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu2sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu3sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu4sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu5sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu6sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu7sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu8sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu9sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu10sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu11sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu12sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu13sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu14sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu15sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu16sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu17sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu18sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu19sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + { value: 'Menu20sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSjjjjjjjjjjjjjjjjjjjjjjj', }, + ]) + .id("UIComponentPopupboxMenuEnhancement0030_01") + .selected(this.index) + .font({ size: 16, weight: 500 }) + .fontColor('#182431') + .width(180) + .selectedOptionFont({ size: 16, weight: 400 }) + .optionFont({ size: 16, weight: 400 }) + .menuAlign(MenuAlignType.START, { dx: 0, dy: 0 }) + .divider({ strokeWidth: 5, color: Color.Blue, startMargin: 10, endMargin: 10 }) + } + .scrollable(ScrollDirection.Vertical) // The scrollbar scrolls in the vertical direction. + .scrollBarColor(Color.Gray) // The scrollbar color is gray. + .scrollBarWidth(10) // The scrollbar width is 10. + .friction(0.6) + .backgroundColor(Color.Red) + .edgeEffect(EdgeEffect.None) + }.width('100%') + .height('100%') + .id("UIComponentPopupboxMenuEnhancement0030_02") + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0040.ets new file mode 100644 index 00000000..22912f17 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0040.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 UIComponentPopupboxMenuEnhancement0040 { + scroller: Scroller = new Scroller(); + @State index: number = 0; + + build() { + Column() { + Scroll(this.scroller) { + Select([ + { value: 'Menu1sssSSSSSSSSSSSSSSSSSSSSSSSSSSSSssjjjjjjjjjjjjjjjjjjjjjjj', }, + ]) + .id("UIComponentPopupboxMenuEnhancement0040_01") + .selected(this.index) + .font({ size: 16, weight: 500 }) + .value("0040") + .fontColor('#182431') + .width(180) + .selectedOptionFont({ size: 16, weight: 400 }) + .optionFont({ size: 16, weight: 400 }) + .menuAlign(MenuAlignType.START, { dx: 0, dy: 0 }) + .divider({ strokeWidth: 5, color: Color.Blue, startMargin: 10, endMargin: 10 }) + } + .scrollable(ScrollDirection.Vertical) // The scrollbar scrolls in the vertical direction. + .scrollBarColor(Color.Gray) // The scrollbar color is gray. + .scrollBarWidth(10) // The scrollbar width is 10. + .friction(0.6) + .backgroundColor(Color.Gray) + .edgeEffect(EdgeEffect.None) + }.width('100%') + .height('100%') + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0050.ets new file mode 100644 index 00000000..6c6c3987 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0050.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 UIComponentPopupboxMenuEnhancement0050 { + scroller: Scroller = new Scroller(); + @State index: number = 0; + + build() { + Column() { + Scroll(this.scroller) { + Select([ + { value: 'Menu1', }, + { value: 'Menu2', }, + ]) + .value("0050") + .id("UIComponentPopupboxMenuEnhancement0050_01") + .selected(this.index) + .font({ size: 16, weight: 500 }) + .fontColor('#182431') + .width(180) + .selectedOptionFont({ size: 16, weight: 400 }) + .optionFont({ size: 16, weight: 400 }) + .menuAlign(MenuAlignType.START, { dx: 0, dy: 0 }) + .divider({ strokeWidth: 5, color: Color.Blue, startMargin: 10, endMargin: 10 }) + } + .scrollable(ScrollDirection.Vertical) // The scrollbar scrolls in the vertical direction. + .scrollBarColor(Color.Gray) // The scrollbar color is gray. + .scrollBarWidth(10) // The scrollbar width is 10. + .friction(0.6) + .backgroundColor(Color.Gray) + .edgeEffect(EdgeEffect.None) + }.width('100%') + .height('100%') + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0060.ets new file mode 100644 index 00000000..d5fefebd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0060.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 UIComponentPopupboxMenuEnhancement0060 { + scroller: Scroller = new Scroller(); + @State index: number = 0; + + build() { + Column() { + Scroll(this.scroller) { + Select([ + { value: 'Menu1¥¥&*', }, + { value: 'Menu2', }, + ]) + .id("UIComponentPopupboxMenuEnhancement0060_01") + .selected(this.index) + .font({ size: 16, weight: 500 }) + .fontColor('#182431') + .value('0060') + .width(180) + .selectedOptionFont({ size: 16, weight: 400 }) + .optionFont({ size: 16, weight: 400 }) + .menuAlign(MenuAlignType.START, { dx: 0, dy: 0 }) + .divider({ strokeWidth: 5, color: Color.Blue, startMargin: 10, endMargin: 10 }) + } + .scrollable(ScrollDirection.Vertical) // The scrollbar scrolls in the vertical direction. + .scrollBarColor(Color.Gray) // The scrollbar color is gray. + .scrollBarWidth(10) // The scrollbar width is 10. + .friction(0.6) + .backgroundColor(Color.Gray) + .edgeEffect(EdgeEffect.None) + }.width('100%') + .height('100%') + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0070.ets new file mode 100644 index 00000000..ad6ae8f8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0070.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 UIComponentPopupboxMenuEnhancement0070 { + scroller: Scroller = new Scroller(); + @State index: number = 0; + + build() { + Column() { + Scroll(this.scroller) { + Select([ + { value: 'Menu1¥¥&*', }, + { value: 'Menu2¥¥&*', }, + { value: 'Menu3¥¥&*', }, + { value: 'Menu4¥¥&*', }, + { value: 'Menu5¥¥&*', }, + { value: 'Menu6¥¥&*', }, + { value: 'Menu7¥¥&*', }, + { value: 'Menu8¥¥&*', }, + { value: 'Menu9¥¥&*', }, + { value: 'Menu10¥¥&*', }, + { value: 'Menu11¥¥&*', }, + { value: 'Menu12¥¥&*', }, + { value: 'Menu13¥¥&*', }, + { value: 'Menu14¥¥&*', }, + { value: 'Menu15¥¥&*', }, + { value: 'Menu16¥¥&*', }, + { value: 'Menu17¥¥&*', }, + { value: 'Menu18¥¥&*', }, + { value: 'Menu19¥¥&*', }, + { value: 'Menu20¥¥&*', }, + ]) + .id("UIComponentPopupboxMenuEnhancement0070_01") + .selected(this.index) + .font({ size: 16, weight: 500 }) + .fontColor('#182431') + .width(180) + .selectedOptionFont({ size: 16, weight: 400 }) + .optionFont({ size: 16, weight: 400 }) + .menuAlign(MenuAlignType.START, { dx: 0, dy: 0 }) + .divider({ strokeWidth: 5, color: Color.Blue, startMargin: 10, endMargin: 10 }) + } + .scrollable(ScrollDirection.Vertical) // The scrollbar scrolls in the vertical direction. + .scrollBarColor(Color.Gray) // The scrollbar color is gray. + .scrollBarWidth(10) // The scrollbar width is 10. + .friction(0.6) + .backgroundColor(Color.Red) + .edgeEffect(EdgeEffect.None) + }.width('100%') + .id("UIComponentPopupboxMenuEnhancement0070_02") + .height('100%') + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement008.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement008.ets new file mode 100644 index 00000000..eec69d71 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement008.ets @@ -0,0 +1,173 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxMenuEnhancement008 { + @State select: boolean = true + @State listData: number[] = [] + + aboutToAppear(): void { + for (let i = 0; i < 20; i++) { + this.listData.push(1) + } + } + @Builder + SubMenu() { + Menu() { + ForEach(this.listData,(item:number) => { + MenuItem({ startIcon: $r("app.media.icon"), content: "菜单选项"+item }) + }) + } + } + + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuEnhancement0080_001") + .bindMenu([ + { + value: 'Menu1', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + }, + { + value: 'Menu2', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu3', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu4', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu5', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu6', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu7', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu8', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu9', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu10', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu11', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu12', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu13', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu14', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu15', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu16', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu17', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu18', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu19', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu20', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + }, + ]) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement009.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement009.ets new file mode 100644 index 00000000..b97fae3c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement009.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 UIComponentPopupboxMenuEnhancement009 { + @State select: boolean = true + @State listData: number[] = [] + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuEnhancement0090_001") + .bindMenu([ + { + value: 'Mefdassddddddddddddddddddddddddddddddddddddddddddddfdnu1', + action: () => { + console.info('handle Menu1 select'); + }, + } + ], { + onDisappear: () => { + console.log(`renyj bindMenu onDisappear`) + } + }) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement010.ets new file mode 100644 index 00000000..29591851 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement010.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 UIComponentPopupboxMenuEnhancement010 { + @State select: boolean = true + @State listData: number[] = [] + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuEnhancement0100_001") + .bindMenu([ + { + value: 'Mefdassddddddddddddddddddddddddddddddddddddddddddddfdnu1', + action: () => { + console.info('handle Menu1 select'); + }, + } + ], { + onDisappear: () => { + console.log(`renyj bindMenu onDisappear`) + } + }) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement017.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement017.ets new file mode 100644 index 00000000..ba8ba473 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement017.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 UIComponentPopupboxMenuEnhancement017 { + private iconStr: ResourceStr = $r("app.media.icon") + @State listData: number[] = [0, 0, 0, 0, 0, 0, 0] + @Builder MenuBuilder() { + List(){ + ListItem() { + Column(){ + Image($r("app.media.icon")).width(30).height(30) + Text(`Menu00`) + TextInput() + }.padding(5).height(60) + } + .id('UIComponentPopupboxMenuEnhancement0170_002') + .width('100%') + .height(80) + .align(Alignment.Center) + .onClick(() => { + console.info(`Menu00 Clicked!`) + }) + ForEach(this.listData, (item:number, index) => { + ListItem() { + Column(){ + Image($r("app.media.icon")).width(30).height(30) + Text(`Menu${index as number + 1}`) + TextInput() + }.padding(5).height(60) + } + .width('100%') + .height(80) + .align(Alignment.Center) + .onClick(() => { + console.info(`Menu${index as number + 1} Clicked!`) + }) + }) + } + } + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuEnhancement0170_001") + .bindMenu(this.MenuBuilder) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0010.ets new file mode 100644 index 00000000..3ae24fd6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0010.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0010 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItemGroup({ header: 'Menu Group' }) { + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier1 }) + } + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0010') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0010_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0020.ets new file mode 100644 index 00000000..1e9679ed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0020.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0020 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).selectIcon(this.symbolIconModifier1).selected(true) + MenuItem({ content: "菜单选项", }).selectIcon(this.symbolIconModifier1) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0020') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0020_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0030.ets new file mode 100644 index 00000000..e833f4c3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0030.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0030 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier1 }) + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier2 }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0030') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0030_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0040.ets new file mode 100644 index 00000000..f2fe0c89 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0040.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0040 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier1, endIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier2, endIcon: this.iconStr }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0040') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0040_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0050.ets new file mode 100644 index 00000000..bbd4a6a9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0050.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0050 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier1 }) + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier2 }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0050') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0050_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0060.ets new file mode 100644 index 00000000..c8b03f4f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0060.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0060 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier1, startIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier2, startIcon: this.iconStr }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0060') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0060_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0070.ets new file mode 100644 index 00000000..0494c3b2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0070.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0070 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier1, symbolStartIcon: this.symbolIconModifier1 }) + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier2, symbolStartIcon: this.symbolIconModifier2 }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0070') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0070_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0080.ets new file mode 100644 index 00000000..c8a5e00b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0080.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0080 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).selectIcon(this.symbolIconModifier1).selected(true) + MenuItem({ content: "菜单选项", }).selectIcon(this.symbolIconModifier2).selected(true) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0080') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0080_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0090.ets new file mode 100644 index 00000000..5179e475 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0090.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0090 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier1, }) + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier2, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0090') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0090_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0100.ets new file mode 100644 index 00000000..9369a768 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0100.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0100 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier1, endIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier2, endIcon: this.iconStr }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0100') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0100_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0110.ets new file mode 100644 index 00000000..30b6f829 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0110.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0110 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier1, }) + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier2, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0110') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0110_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0120.ets new file mode 100644 index 00000000..ab5b26e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0120.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0120 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier1, startIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier2, startIcon: this.iconStr }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0120') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0120_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0130.ets new file mode 100644 index 00000000..e23b5f23 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0130.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0130 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0130') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0130_01") + .bindMenu([ + { + value: 'Menu1', + symbolIcon: this.symbolIconModifier1, + action: () => { + } + }, + { + value: 'Menu2', + symbolIcon: this.symbolIconModifier1, + action: () => { + } + }, + ]) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0140.ets new file mode 100644 index 00000000..57746e46 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0140.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0140 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + private iconStr: ResourceStr = $r("app.media.icon") + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0140') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0140_01") + .bindMenu([ + { + value: 'Menu1', + icon: this.iconStr, + symbolIcon: null, + action: () => { + } + }, + { + value: 'Menu2', + icon: this.iconStr, + symbolIcon: null, + action: () => { + } + }, + ]) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0150.ets new file mode 100644 index 00000000..0d5a9bc7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0150.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0150 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + private iconStr: ResourceStr = $r("app.media.icon") + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0150') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0150_01") + .bindMenu([ + { + value: 'Menu1', + symbolIcon: undefined, + action: () => { + } + }, + { + value: 'Menu2', + symbolIcon: undefined, + action: () => { + } + }, + ]) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0160.ets new file mode 100644 index 00000000..0969205a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0160.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0160 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + private iconStr: ResourceStr = $r("app.media.icon") + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0160') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0160_01") + .bindMenu([ + { + value: 'Menu1', + icon: this.iconStr, + symbolIcon: undefined, + action: () => { + } + }, + { + value: 'Menu2', + icon: this.iconStr, + symbolIcon: undefined, + action: () => { + } + }, + ]) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0190.ets new file mode 100644 index 00000000..29ceeb88 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0190.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0190 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + private iconStr: ResourceStr = $r("app.media.icon") + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0190') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0190_01") + .bindMenu([ + { + value: 'Menu1', + symbolIcon: this.symbolIconModifier1, + action: () => { + } + }, + { + value: 'Menu2', + symbolIcon: this.symbolIconModifier1, + action: () => { + } + }, + ]) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0200.ets new file mode 100644 index 00000000..4c01108c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0200.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0200 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + private iconStr: ResourceStr = $r("app.media.icon") + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0200') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0200_01") + .bindMenu([ + { + value: 'Menu1', + icon: this.iconStr, + symbolIcon: this.symbolIconModifier1, + action: () => { + } + }, + { + value: 'Menu2', + icon: this.iconStr, + symbolIcon: this.symbolIconModifier1, + action: () => { + } + }, + ]) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0210.ets new file mode 100644 index 00000000..3aeda2ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0210.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0210 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).selectIcon(null).selected(true) + MenuItem({ content: "菜单选项", }).selectIcon(this.symbolIconModifier1) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0210') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0210_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0220.ets new file mode 100644 index 00000000..922fddf5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0220.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0220 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).selectIcon(undefined).selected(true) + MenuItem({ content: "菜单选项", }).selectIcon(undefined).selected(true) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0220') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0220_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0240.ets new file mode 100644 index 00000000..f946641f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0240.ets @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0240 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).selectIcon(this.symbolIconModifier1).selected(true) + MenuItem({ content: "菜单选项", }).selectIcon(this.iconStr).selected(true) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0240') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0240_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0250.ets new file mode 100644 index 00000000..6422a60c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0250.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0250 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: null, }) + MenuItem({ content: "菜单选项", symbolEndIcon: null, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0250') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0250_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0260.ets new file mode 100644 index 00000000..4f1b3733 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0260.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0260 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: null, endIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolEndIcon: null, endIcon: this.iconStr }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0260') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0260_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0270.ets new file mode 100644 index 00000000..67ebb29f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0270.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0270 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: null, }) + MenuItem({ content: "菜单选项", symbolEndIcon: null, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0270') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0270_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0280.ets new file mode 100644 index 00000000..bc9975a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0280.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0280 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: undefined, endIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolEndIcon: undefined, endIcon: this.iconStr }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0280') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0280_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0310.ets new file mode 100644 index 00000000..5499b76c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0310.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0310 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier1, }) + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier2, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0310') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0310_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0320.ets new file mode 100644 index 00000000..cd326d5e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0320.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0320 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier1, endIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier2, endIcon: this.iconStr }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0320') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0320_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0330.ets new file mode 100644 index 00000000..5d5fc685 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0330.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0330 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: null, }) + MenuItem({ content: "菜单选项", symbolStartIcon: null, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0330') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0330_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0340.ets new file mode 100644 index 00000000..f0deae01 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0340.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0340 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: null, startIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolStartIcon: null, startIcon: this.iconStr }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0340') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0340_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0350.ets new file mode 100644 index 00000000..5deebed1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0350.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0350 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: undefined, }) + MenuItem({ content: "菜单选项", symbolStartIcon: undefined, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0350') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0350_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0360.ets new file mode 100644 index 00000000..ef9dfa66 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0360.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0360 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: undefined, startIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolStartIcon: undefined, startIcon: this.iconStr }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0360') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0360_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0390.ets new file mode 100644 index 00000000..2fcbfcd4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0390.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0390 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier1, }) + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier2, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0390') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0390_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0400.ets new file mode 100644 index 00000000..eeda2fba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0400.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0400 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier1, startIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier2, startIcon: this.iconStr }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0400') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0400_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0410.ets new file mode 100644 index 00000000..3c3c4ff9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0410.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0410 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ + content: "菜单选项", + builder: (): void => this.SubMenu() + }).id("UIComponentPopupboxMenuHmsymbol0410_02") + } + } + + @Builder + SubMenu() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + symbolStartIcon: this.symbolIconModifier1, + symbolEndIcon: this.symbolIconModifier1 + }) + MenuItem({ + content: "子菜单选项", + symbolStartIcon: this.symbolIconModifier2, + symbolEndIcon: this.symbolIconModifier2 + }) + } + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0410') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0410_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0420.ets new file mode 100644 index 00000000..2510cd8e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0420.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0420 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ + content: "菜单选项", + builder: (): void => this.SubMenu() + }).id("UIComponentPopupboxMenuHmsymbol0420_02") + } + } + + @Builder + SubMenu() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + }).selectIcon(this.symbolIconModifier1).selected(true) + MenuItem({ + content: "子菜单选项", + }).selectIcon(this.iconStr).selected(true) + } + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0420') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0420_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0430.ets new file mode 100644 index 00000000..28cb5d17 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0430.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0430 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ + content: "菜单选项", + builder: (): void => this.SubMenu() + }).id("UIComponentPopupboxMenuHmsymbol0430_02") + } + } + + @Builder + SubMenu() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + symbolEndIcon: this.symbolIconModifier1 + }) + MenuItem({ + content: "子菜单选项", + symbolEndIcon: this.symbolIconModifier2 + }) + } + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0430') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0430_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0440.ets new file mode 100644 index 00000000..e4d6ebb8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0440.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0440 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ + content: "菜单选项", + builder: (): void => this.SubMenu() + }).id("UIComponentPopupboxMenuHmsymbol0440_02") + } + } + + @Builder + SubMenu() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + symbolEndIcon: this.symbolIconModifier1, + endIcon: this.iconStr + }) + MenuItem({ + content: "子菜单选项", + symbolEndIcon: this.symbolIconModifier2, + endIcon: this.iconStr + }) + } + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0440') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0440_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0450.ets new file mode 100644 index 00000000..f76cc804 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0450.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0450 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ + content: "菜单选项", + builder: (): void => this.SubMenu() + }).id("UIComponentPopupboxMenuHmsymbol0450_02") + } + } + + @Builder + SubMenu() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + symbolStartIcon: this.symbolIconModifier1, + }) + MenuItem({ + content: "子菜单选项", + symbolStartIcon: this.symbolIconModifier2, + }) + } + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0450') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0450_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0460.ets new file mode 100644 index 00000000..8051df37 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0460.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0460 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ + content: "菜单选项", + builder: (): void => this.SubMenu() + }).id("UIComponentPopupboxMenuHmsymbol0460_02") + } + } + + @Builder + SubMenu() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + symbolStartIcon: this.symbolIconModifier1, + startIcon: this.iconStr + }) + MenuItem({ + content: "子菜单选项", + symbolStartIcon: this.symbolIconModifier2, + startIcon: this.iconStr + }) + } + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0460') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0460_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0470.ets new file mode 100644 index 00000000..35a24d6f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0470.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0470 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier1, }).enabled(false) + MenuItem({ content: "菜单选项", symbolStartIcon: this.symbolIconModifier2, }).enabled(false) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0470') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0470_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0480.ets new file mode 100644 index 00000000..2f965cdf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0480.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0480 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State selected: boolean = false; + + @Builder + MyMenu() { + Menu() { + MenuItem({ + symbolStartIcon: this.symbolIconModifier1, + content: "菜单选项1", + symbolEndIcon: this.symbolIconModifier1, + }) + .id("UIComponentPopupboxMenuHmsymbol0480_02") + .onChange((selected: boolean) => { + this.selected = selected; + }).selected(this.selected) + + MenuItem({ + symbolStartIcon: this.symbolIconModifier1, + content: "菜单选项2", symbolEndIcon: this.symbolIconModifier2, }).selected(this.selected) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0480') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0480_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0490.ets new file mode 100644 index 00000000..5f704148 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0490.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0490 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isSeleected: boolean = true; + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + .selected($$this.isSeleected) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0490') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0490_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0500.ets new file mode 100644 index 00000000..7aa338b5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0500.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0500 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State bgColor: ResourceColor = Color.Grey; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier1}) + MenuItem({ content: "菜单选项", symbolEndIcon: this.symbolIconModifier1 }) + }.backgroundColor(this.bgColor) + + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0500') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0500_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + Button("change Properties") + .id("UIComponentPopupboxMenuHmsymbol0500_02") + .onClick(() => { + this.bgColor = Color.Pink; + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0510.ets new file mode 100644 index 00000000..99b71482 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0510.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0510 { + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + Menu() { + MenuItem({ + symbolStartIcon: this.symbolIconModifier1, + content: "菜单选项1", + symbolEndIcon: this.symbolIconModifier1, + }) + MenuItem({ + symbolStartIcon: this.symbolIconModifier1, + content: "菜单选项2", symbolEndIcon: this.symbolIconModifier2, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0510') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0510_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + placement: Placement.Top + }) + + Button('ChangeStyle') + .id("UIComponentPopupboxMenuHmsymbol0510_02") + .onClick(() => { + this.symbolIconModifier1.backgroundColor(Color.Pink); + this.symbolIconModifier2.backgroundColor(Color.Orange); + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0520.ets new file mode 100644 index 00000000..4288019c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0520.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0520 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State fontColor: ResourceColor = Color.Black; + @State fontSize: number = -1; + @State menuHeight: number = -1; + @State menuWidth: number = -1; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", symbolEndIcon: null, endIcon: this.iconStr }) + MenuItem({ content: "菜单选项", symbolEndIcon: null, endIcon: this.iconStr }) + }.fontColor(this.fontColor) + .fontSize(this.fontSize) + .height(this.menuHeight) + .width(this.menuWidth) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0520') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0520_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + Button("change Properties") + .id("UIComponentPopupboxMenuHmsymbol0520_02") + .onClick(() => { + this.fontColor = Color.Pink; + this.fontSize = 24; + this.menuHeight = 100; + this.menuWidth = 200; + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0530.ets new file mode 100644 index 00000000..e6369a23 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0530.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; +import window from '@ohos.window'; +import common from '@ohos.app.ability.common'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0530 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State isFullScreen: boolean = false + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + @Builder + MyMenu() { + Menu() { + MenuItem({ + symbolStartIcon: this.symbolIconModifier1, + content: "菜单选项", + symbolEndIcon: this.symbolIconModifier1, + }) + MenuItem({ + symbolStartIcon: this.symbolIconModifier1, + content: "菜单选项", symbolEndIcon: this.symbolIconModifier2, }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0530') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0530_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + placement: Placement.Top + }) + Button("横竖屏切换") + .id('UIComponentPopupboxMenuHmsymbol0530_02') + .onClick(() => { + this.horVerSwitch() + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0540.ets new file mode 100644 index 00000000..4744e7dc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0540.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuHmsymbol0540 { + private iconStr: ResourceStr = $r("app.media.icon") + @State symbolIconModifier1: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + @State symbolIconModifier2: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_photo')).fontSize('24vp'); + + @Builder + MyMenu() { + WithTheme({ colorMode: ThemeColorMode.DARK }) { + Menu() { + MenuItem({ + symbolStartIcon: this.symbolIconModifier1, + content: "菜单选项1", + symbolEndIcon: this.symbolIconModifier1, + }) + MenuItem({ + symbolStartIcon: this.symbolIconModifier1, + content: "菜单选项2", symbolEndIcon: this.symbolIconModifier2, }) + }.backgroundColor($r('sys.color.background_primary')) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('longPressShowMenu-0540') + .height(80) + .id("UIComponentPopupboxMenuHmsymbol0540_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0010.ets new file mode 100644 index 00000000..5e07cf50 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0010.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 UIComponentPopupboxMenuInterface0010 { + private iconStr: ResourceStr = "../media/icon.png" + + build() { + Column({ space: 50 }) { + Button("ClickMenu-0010") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0010_01") + .bindMenu([ + { + value: 'Menu1', + icon:this.iconStr, + action: () => { + console.info('handle Menu1 select'); + } + }, + { + value: 'Menu2', + icon:this.iconStr, + action: () => { + console.info('handle Menu2 select'); + } + }, + ]) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0020.ets new file mode 100644 index 00000000..b59b3ce6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0020.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 UIComponentPopupboxMenuInterface002 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0020_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0030.ets new file mode 100644 index 00000000..40efa297 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0030.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 UIComponentPopupboxMenuInterface0030 { + build() { + Column({ space: 50 }) { + Button("ClickMenu-0030") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0030_01") + .bindMenu([ + { + value: 'Menu1', + action: () => { + console.info('handle Menu1 select'); + } + }, + { + value: 'Menu2', + action: () => { + console.info('handle Menu2 select'); + } + }, + ], { + showInSubWindow: true + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0040.ets new file mode 100644 index 00000000..f6ed8744 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0040.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 UIComponentPopupboxMenuInterface004 { + @State listData: number[] = [0, 0, 0] + @Builder MenuBuilder() { + Flex({ direction: FlexDirection.Column, justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + ForEach(this.listData, (item:number, index) => { + Column() { + Row() { + Image($r("app.media.icon")).width(20).height(20).margin({ right: 5 }) + Text(`Menu${index as number + 1}`).fontSize(20) + } + .width('100%') + .height(30) + .justifyContent(FlexAlign.Center) + .align(Alignment.Center) + .onClick(() => { + console.info(`Menu${index as number + 1} Clicked!`) + }) + + if (index != this.listData.length - 1) { + Divider().height(10).width('80%').color('#ccc') + } + }.padding(5).height(40) + }) + }.width(100) + } + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0040_001") + .bindMenu(this.MenuBuilder, { + showInSubWindow: false + }) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0060.ets new file mode 100644 index 00000000..d50aaa70 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0060.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 UIComponentPopupboxMenuInterface0060 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0060") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0060_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + offset: { x: "30px", y: "30px" } + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0070.ets new file mode 100644 index 00000000..ef537923 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0070.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 UIComponentPopupboxMenuInterface0070 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0070") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0070_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + offset: { x: "30px", y: "30px" } + }) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0080.ets new file mode 100644 index 00000000..24cf8fa3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0080.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 UIComponentPopupboxMenuInterface0080 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0080") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0080_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + offset: { x: $r("app.string.size_30_px"), y: $r("app.string.size_30_px") } + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0100.ets new file mode 100644 index 00000000..6483957d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0100.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 promptAction from '@ohos.promptAction' + +@Entry +@Component +struct UIComponentPopupboxMenuInterface0100 { + private iconStr: ResourceStr = $r("app.media.icon") + @State onAppearMsg: string = '' + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Text(this.onAppearMsg).fontSize(18) + Button("LongPressMenu-0010") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0100_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + onAppear: () => { + this.onAppearMsg = 'onAppear触发'; + } + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0110.ets new file mode 100644 index 00000000..67b73bd4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0110.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 promptAction from '@ohos.promptAction' + +@Entry +@Component +struct UIComponentPopupboxMenuInterface011 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0110_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + onDisappear:() => { + console.log(`renyj bindContextMenu onDisappear`) + promptAction.showToast({ message: "renyj bindContextMenu onDisappear" }) + } + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0120.ets new file mode 100644 index 00000000..0460701e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0120.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 UIComponentPopupboxMenuInterface0120 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.backgroundColor(Color.Pink) + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0120") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0120_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0130.ets new file mode 100644 index 00000000..20cbc5e2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0130.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 UIComponentPopupboxMenuInterface0130 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.backgroundColor(0x008000) + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0150") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0130_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0140.ets new file mode 100644 index 00000000..bfb7a91b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0140.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 UIComponentPopupboxMenuInterface014 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + // .backgroundColor("#ee4508de") + } + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0140_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0150.ets new file mode 100644 index 00000000..f44f4545 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0150.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 UIComponentPopupboxMenuInterface0150 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.backgroundColor(Color.Gray) + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0150") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0150_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0170.ets new file mode 100644 index 00000000..67207184 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0170.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 UIComponentPopupboxMenuInterface017 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + .backgroundBlurStyle(BlurStyle.Thin) + } + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0170_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0180.ets new file mode 100644 index 00000000..d8fe964c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0180.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 UIComponentPopupboxMenuInterface0180 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.backgroundBlurStyle(BlurStyle.Regular) + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0180") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0180_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0190.ets new file mode 100644 index 00000000..1d2c0e24 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0190.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 UIComponentPopupboxMenuInterface019 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + .backgroundBlurStyle(BlurStyle.Thick) + } + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0190_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + // .alignItems(HorizontalAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0200.ets new file mode 100644 index 00000000..01bd1ee8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0200.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 UIComponentPopupboxMenuInterface0200 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.backgroundBlurStyle(BlurStyle.BACKGROUND_THIN) + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0200") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0200_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0210.ets new file mode 100644 index 00000000..2d938ee1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0210.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 UIComponentPopupboxMenuInterface0210 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.backgroundBlurStyle(BlurStyle.BACKGROUND_REGULAR) + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0210") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0210_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0220.ets new file mode 100644 index 00000000..dbcf2dad --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0220.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 UIComponentPopupboxMenuInterface022 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + .backgroundBlurStyle(BlurStyle.BACKGROUND_THICK) + } + + build() { + Column({ space: 50 }) { + Button("BACKGROUND_THICK") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0220_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0230.ets new file mode 100644 index 00000000..9a8c0529 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0230.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 UIComponentPopupboxMenuInterface023 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Button("BACKGROUND_ULTRA_THICK") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0230_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + backgroundBlurStyle: BlurStyle.BACKGROUND_ULTRA_THICK + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0240.ets new file mode 100644 index 00000000..50611b85 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0240.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 UIComponentPopupboxMenuInterface0240 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.backgroundBlurStyle(BlurStyle.NONE) + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0240") + .width('50%') + .margin({ top: 5 }) + .key("UIComponentPopupboxMenuInterface0240_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0250.ets new file mode 100644 index 00000000..430a3fce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0250.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 UIComponentPopupboxMenuInterface025 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + .backgroundBlurStyle(BlurStyle.COMPONENT_ULTRA_THIN) + } + + build() { + Column({ space: 50 }) { + Button("COMPONENT_ULTRA_THIN") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0250_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0260.ets new file mode 100644 index 00000000..1f0bcab0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0260.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 UIComponentPopupboxMenuInterface026 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + .backgroundBlurStyle(BlurStyle.COMPONENT_THIN) + } + + build() { + Column({ space: 50 }) { + Button("COMPONENT_THIN") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0260_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0270.ets new file mode 100644 index 00000000..92a4df5b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0270.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 UIComponentPopupboxMenuInterface027 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + .backgroundBlurStyle(BlurStyle.COMPONENT_REGULAR) + } + + build() { + Column({ space: 50 }) { + Button("COMPONENT_REGULAR") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0270_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0280.ets new file mode 100644 index 00000000..1b923d72 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0280.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 UIComponentPopupboxMenuInterface028 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + .backgroundBlurStyle(BlurStyle.COMPONENT_THICK) + } + + build() { + Column({ space: 50 }) { + Button("COMPONENT_THICK") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0280_001") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0290.ets new file mode 100644 index 00000000..6ff30a42 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0290.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 UIComponentPopupboxMenuInterface0290 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MenuBuilder() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.backgroundBlurStyle(BlurStyle.COMPONENT_ULTRA_THICK) + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0290") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuInterface0290_01") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress, { + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0160.ets new file mode 100644 index 00000000..6a18fb38 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0160.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. + */ + +@CustomDialog +struct PCBottomVoid1_Builder0160 { + public index: number = 0; + controller?: CustomDialogController + cancel: () => void = () => { + } + confirm: () => void = () => { + } + + build() { + Column({ space: 30 }) { + Text('第' + this.index + '对话框') + Button("点我关闭").onClick(() => { + this.cancel() + }) + }.height('40%').width('40%') + } +} + +@Entry +@Component +struct UIComponentPopupboxMenuLocation0160 { + @State popCounter: number = 0; + + build() { + Column({ space: 5 }) { + Button('CustomDialog') + .id("UIComponentPopupboxMenuLocation0160_01") + .onClick(() => { + this.popCounter++; + let dialogController = new CustomDialogController({ + builder: PCBottomVoid1_Builder0160({ + index: this.popCounter, + cancel: () => { + dialogController.close() + }, + confirm: () => { + } + }), + + autoCancel: true, + backgroundColor: Color.Pink, + alignment: DialogAlignment.BottomEnd, + offset: { dx: -50, dy: -50 }, + gridCount: 4, + showInSubWindow: true, + isModal: true, + customStyle: false, + cornerRadius: 10, + }) + dialogController.open() + }) + Button('AlertDalog') + .id("UIComponentPopupboxMenuLocation0160_02") + .onClick(() => { + this.popCounter++; + + AlertDialog.show( + { + title: '第' + this.popCounter + '层弹窗', + message: 'text', + autoCancel: true, + alignment: DialogAlignment.Bottom, + offset: { dx: -50, dy: -50 }, + gridCount: 3, + showInSubWindow: true, + isModal: true, + confirm: { + value: '关闭', + action: () => { + console.info('Button-clicking callback') + } + }, + cancel: () => { + console.info('Closed callbacks') + } + } + ) + + }) + .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/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0190.ets new file mode 100644 index 00000000..2d64475f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0190.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. + */ + +@CustomDialog +struct PCBottomVoid1_Builder0190 { + public index: number = 0; + controller?: CustomDialogController + cancel: () => void = () => { + } + confirm: () => void = () => { + } + + build() { + Column({ space: 30 }) { + Text('第' + this.index + '对话框') + Button("点我关闭").onClick(() => { + this.cancel() + }) + }.height('40%').width('40%') + } +} + +@Entry +@Component +struct UIComponentPopupboxMenuLocation0190 { + @State popCounter: number = 0; + + build() { + Column({ space: 5 }) { + Button('CustomDialog') + .id("UIComponentPopupboxMenuLocation0190_01") + .onClick(() => { + this.popCounter++; + let dialogController = new CustomDialogController({ + builder: PCBottomVoid1_Builder0190({ + index: this.popCounter, + cancel: () => { + dialogController.close() + }, + confirm: () => { + } + }), + + autoCancel: true, + backgroundColor: Color.Pink, + alignment: DialogAlignment.BottomEnd, + offset: { dx: -50, dy: -50 }, + gridCount: 4, + showInSubWindow: true, + isModal: false, + customStyle: false, + cornerRadius: 10, + }) + dialogController.open() + }) + Button('AlertDalog') + .id("UIComponentPopupboxMenuLocation0190_02") + .onClick(() => { + this.popCounter++; + + AlertDialog.show( + { + title: '第' + this.popCounter + '层弹窗', + message: 'text', + autoCancel: true, + alignment: DialogAlignment.Bottom, + offset: { dx: -50, dy: -50 }, + gridCount: 3, + showInSubWindow: true, + isModal: false, + confirm: { + value: '关闭', + action: () => { + console.info('Button-clicking callback') + } + }, + cancel: () => { + console.info('Closed callbacks') + } + } + ) + + }) + .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/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0010.ets new file mode 100644 index 00000000..c8ff256c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0010.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. + */ + +@Entry +@Component +struct UIComponentPopupboxMenuPcheight0010 { + build() { + Column({ space: 50 }) { + Button("ClickMenu-0010") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuPcheight0010_01") + .bindMenu([ + { + value: 'Menu1', + action: () => { + console.info('handle Menu1 select'); + } + }, { + value: 'Menu2', + action: () => { + console.info('handle Menu2 select'); + } + }, { + value: 'Menu3', + action: () => { + console.info('handle Menu3 select'); + } + }, { + value: 'Menu4', + action: () => { + console.info('handle Menu4 select'); + } + }, { + value: 'Menu5', + action: () => { + console.info('handle Menu5 select'); + } + }, { + value: 'Menu6', + action: () => { + console.info('handle Menu6 select'); + } + }, { + value: 'Menu7', + action: () => { + console.info('handle Menu7 select'); + } + }, { + value: 'Menu8', + action: () => { + console.info('handle Menu8 select'); + } + }, { + value: 'Menu9', + action: () => { + console.info('handle Menu9 select'); + } + }, { + value: 'Menu10', + action: () => { + console.info('handle Menu10 select'); + } + }, { + value: 'Menu11', + action: () => { + console.info('handle Menu11 select'); + } + }, { + value: 'Menu12', + action: () => { + console.info('handle Menu12 select'); + } + }, { + value: 'Menu13', + action: () => { + console.info('handle Menu13 select'); + } + }, { + value: 'Menu14', + action: () => { + console.info('handle Menu14 select'); + } + }, { + value: 'Menu15', + action: () => { + console.info('handle Menu15 select'); + } + }, { + value: 'Menu16', + action: () => { + console.info('handle Menu16 select'); + } + }, { + value: 'Menu17', + action: () => { + console.info('handle Menu17 select'); + } + }, { + value: 'Menu18', + action: () => { + console.info('handle Menu18 select'); + } + }, { + value: 'Menu19', + action: () => { + console.info('handle Menu19 select'); + } + }, { + value: 'Menu20', + action: () => { + console.info('handle Menu20 select'); + } + }, + ], { + showInSubWindow: true + }) + } + .height('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0020.ets new file mode 100644 index 00000000..7b43b661 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0020.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 UIComponentPopupboxMenuPcheight002 { + @State select: boolean = true + private iconStr: ResourceStr = $r("app.media.icon") + private iconStr2: ResourceStr = $r("app.media.icon") + @State listData: number[] = [] + + aboutToAppear(): void { + for (let i = 0; i < 20; i++) { + this.listData.push(1) + } + } + + @Builder + MyMenu(){ + Menu() { + ForEach(this.listData,(item:number) => { + MenuItem({ + startIcon: $r("app.media.icon"), + content: "菜单选项"+item}) + }) + } + } + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuPcheight0020_001") + .bindMenu(this.MyMenu()) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0070.ets new file mode 100644 index 00000000..ad31e3d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0070.ets @@ -0,0 +1,175 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxMenuPcheight007 { + @State select: boolean = true + private iconStr: ResourceStr = $r("app.media.icon") + private iconStr2: ResourceStr = $r("app.media.icon") + @State listData: number[] = [] + + aboutToAppear(): void { + for (let i = 0; i < 20; i++) { + this.listData.push(1) + } + } + @Builder + SubMenu() { + Menu() { + ForEach(this.listData,(item:number) => { + MenuItem({ startIcon: $r("app.media.icon"), content: "菜单选项"+item }) + }) + } + } + + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuPcheight0070_001") + .bindMenu([ + { + value: 'Menu1', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + }, + { + value: 'Menu2', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu3', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu4', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu5', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu6', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu7', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu8', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu9', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu10', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu11', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu12', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu13', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu14', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu15', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu16', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu17', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu18', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu19', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + },{ + value: 'Menu20', + action: () => { + this.SubMenu(); + console.info('handle Menu1 select'); + }, + }, + ]) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0080.ets new file mode 100644 index 00000000..69b8bb8c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0080.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 UIComponentPopupboxMenuPcheight008 { + @State select: boolean = true + private iconStr: ResourceStr = $r("app.media.icon") + private iconStr2: ResourceStr = $r("app.media.icon") + @State listData: number[] = [] + + aboutToAppear(): void { + for (let i = 0; i < 20; i++) { + this.listData.push(1) + } + } + @Builder + SubMenu() { + Menu() { + ForEach(this.listData,(item:number) => { + MenuItem({ startIcon: $r("app.media.icon"), content: "菜单选项"+item }) + }) + } + } + + @Builder + MyMenu(){ + Menu() { + MenuItem({ + startIcon: $r("app.media.icon"), + content: "11111", + builder: ():void=>this.SubMenu()}) + .id('UIComponentPopupboxMenuPcheight0080_002') + ForEach(this.listData,(item:number) => { + MenuItem({ + startIcon: $r("app.media.icon"), + content: "菜单选项"+item, + builder: ():void=>this.SubMenu()}) + }) + } + } + + + build() { + Column({ space: 50 }) { + Button("backgroundColor") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuPcheight0080_001") + .bindMenu(this.MyMenu()) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0220.ets new file mode 100644 index 00000000..dea84209 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0220.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 UIComponentPopupboxMenuPcheight0220 { + private iconStr: ResourceStr = $r("app.media.icon") + @State listData: number[] = [0, 0, 0, 0, 0, 0, 0] + @Builder MenuBuilder() { + List(){ + ForEach(this.listData, (item:number, index) => { + ListItem() { + Row(){ + Image($r("app.media.icon")).width(30).height(30) + Text(`Menu${index as number + 1}`) + TextInput() + }.padding(5).height(60) + } + .width('100%') + .height(80) + .align(Alignment.Center) + .onClick(() => { + console.info(`Menu${index as number + 1} Clicked!`); + }) + }) + }.id("UIComponentPopupboxMenuPcheight0220_01") + .height('85%') + } + + build() { + Column({ space: 50 }) { + Button("LongPressMenu-0220") + .width('50%') + .margin({ top: 5 }) + .id("UIComponentPopupboxMenuPcheight0220_02") + .bindContextMenu(this.MenuBuilder, ResponseType.LongPress) + } + .height('100%') + .width('100%') + .margin({ left: 20, right: 20 }) + .justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0370.ets new file mode 100644 index 00000000..f2c48921 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0370.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 UIComponentPopupboxMenuScenarios0370 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-0370') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0370_01") + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0380.ets new file mode 100644 index 00000000..8e5b600a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0380.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 UIComponentPopupboxMenuScenarios0380 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('70%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0380') + .height('50%') + .width('50%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0380_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopLeft, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0390.ets new file mode 100644 index 00000000..2cb27e6a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0390.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 UIComponentPopupboxMenuScenarios0390 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-0390') + .height('50%') + .width('10%') + .margin({ right: '15%' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0390_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom, + arrowOffset: '30%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0400.ets new file mode 100644 index 00000000..1d28504f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0400.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 UIComponentPopupboxMenuScenarios0400 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Column() /*({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center })*/ { + Text('longPressShowMenu-0400') + .height('50%') + .width('10%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0400_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomLeft, + arrowOffset: '0%' + }) + } + .justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0410.ets new file mode 100644 index 00000000..7ef821a7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0410.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 UIComponentPopupboxMenuScenarios0410 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0410') + .height('50%') + .width('10%') + .margin({ left: '15%' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0410_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomLeft, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0420.ets new file mode 100644 index 00000000..1a36f421 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0420.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 UIComponentPopupboxMenuScenarios0420 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0420') + .height('50%') + .width('10%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0420_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.BottomLeft, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0430.ets new file mode 100644 index 00000000..0119ef70 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0430.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 UIComponentPopupboxMenuScenarios0430 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0430') + .height('50%') + .width('10%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0430_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.BottomRight, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0440.ets new file mode 100644 index 00000000..18e9dca5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0440.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 UIComponentPopupboxMenuScenarios0440 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0440') + .onClick(() => { + this.isShown = !this.isShown; + }) + .height('50%') + .width('10%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0440_01") + .bindContextMenu(this.isShown, this.MyMenu, + { + enableArrow: true, + placement:Placement.BottomRight, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0450.ets new file mode 100644 index 00000000..ffb8d59b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0450.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 UIComponentPopupboxMenuScenarios0450 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0450') + .height('50%') + .width('10%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0450_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0460.ets new file mode 100644 index 00000000..e919b1c4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0460.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 UIComponentPopupboxMenuScenarios0460 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0460') + .height('50%') + .width('10%') + .margin({ left: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0460_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopLeft, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0470.ets new file mode 100644 index 00000000..c62c19eb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0470.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 UIComponentPopupboxMenuScenarios0470 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0470') + .height('50%') + .width('10%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0470_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.TopLeft, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0480.ets new file mode 100644 index 00000000..99dca5ee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0480.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 UIComponentPopupboxMenuScenarios0480 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0480') + .height('50%') + .width('10%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0480_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.TopLeft, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0490.ets new file mode 100644 index 00000000..7627c8da --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0490.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 UIComponentPopupboxMenuScenarios0490 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0490') + .height('50%') + .width('10%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0490_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.TopRight, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0500.ets new file mode 100644 index 00000000..9474dca8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0500.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 UIComponentPopupboxMenuScenarios0500 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('30%').height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0500') + .height('50%') + .width('10%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0500_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '100%', + placement: Placement.TopRight + }) + }.backgroundColor(Color.Black) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0510.ets new file mode 100644 index 00000000..95a0e79b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0510.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 UIComponentPopupboxMenuScenarios0510 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0510') + .height('50%') + .width('10%') + .margin({ left: '15%' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0510_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopRight, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0520.ets new file mode 100644 index 00000000..004e6cd6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0520.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 UIComponentPopupboxMenuScenarios0520 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0520') + .height('50%') + .width('10%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0520_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.Top, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0530.ets new file mode 100644 index 00000000..96c9f640 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0530.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 UIComponentPopupboxMenuScenarios0530 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0530') + .height('50%') + .width('10%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0530_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Top, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0540.ets new file mode 100644 index 00000000..398ea7fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0540.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 UIComponentPopupboxMenuScenarios0540 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0540') + .height('50%') + .width('10%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0540_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.Top, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0550.ets new file mode 100644 index 00000000..94381d5a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0550.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 UIComponentPopupboxMenuScenarios0550 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%').width('30%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0550') + .height('50%') + .width('10%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0550_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.Top, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0560.ets new file mode 100644 index 00000000..e9a40a1d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0560.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 UIComponentPopupboxMenuScenarios0560 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0560') + .height('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0560_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.LeftBottom, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0570.ets new file mode 100644 index 00000000..93985384 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0570.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 UIComponentPopupboxMenuScenarios0570 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0570') + .height('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0570_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0580.ets new file mode 100644 index 00000000..420be27a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0580.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 UIComponentPopupboxMenuScenarios0580 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center}) { + Text('longPressShowMenu-0580') + .height('50%') + .margin({ right: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0580_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0590.ets new file mode 100644 index 00000000..5402975c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0590.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 UIComponentPopupboxMenuScenarios0590 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0590') + .height('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0590_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.LeftBottom, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0600.ets new file mode 100644 index 00000000..a853c99a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0600.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 UIComponentPopupboxMenuScenarios0600 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-0600') + .height(80) + .width('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0600_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0610.ets new file mode 100644 index 00000000..04e24bab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0610.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 UIComponentPopupboxMenuScenarios0610 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0610') + .height('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0610_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0620.ets new file mode 100644 index 00000000..1a92f54b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0620.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 UIComponentPopupboxMenuScenarios0620 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0620') + .height('50%') + .margin({ right: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0620_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0630.ets new file mode 100644 index 00000000..6bb75ddb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0630.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 UIComponentPopupboxMenuScenarios0630 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0630') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0630_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0640.ets new file mode 100644 index 00000000..6113e277 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0640.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 UIComponentPopupboxMenuScenarios0640 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0640') + .height('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0640_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0650.ets new file mode 100644 index 00000000..66ccbc5a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0650.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 UIComponentPopupboxMenuScenarios0650 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0650') + .height('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0650_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.Left, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0660.ets new file mode 100644 index 00000000..3666bc71 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0660.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 UIComponentPopupboxMenuScenarios0660 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0660') + .height('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0660_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0670.ets new file mode 100644 index 00000000..7643564c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0670.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 UIComponentPopupboxMenuScenarios0670 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0670') + .height('50%') + // .margin({top:'25%'}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0670_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.Left, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0680.ets new file mode 100644 index 00000000..639f367b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0680.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 UIComponentPopupboxMenuScenarios0680 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0680') + .height('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0680_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0690.ets new file mode 100644 index 00000000..04665d80 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0690.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 UIComponentPopupboxMenuScenarios0690 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0690') + .height('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0690_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0700.ets new file mode 100644 index 00000000..32a119f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0700.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 UIComponentPopupboxMenuScenarios0700 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0700') + .height('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0700_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0710.ets new file mode 100644 index 00000000..723407f5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0710.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 UIComponentPopupboxMenuScenarios0710 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0710') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0710_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.RightBottom, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0720.ets new file mode 100644 index 00000000..390e75c0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0720.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 UIComponentPopupboxMenuScenarios0720 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0720') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0720_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0730.ets new file mode 100644 index 00000000..a1fb2908 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0730.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 UIComponentPopupboxMenuScenarios0730 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0730') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0730_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '10%', + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0740.ets new file mode 100644 index 00000000..e1201b20 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0740.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 UIComponentPopupboxMenuScenarios0740 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0740') + .height('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0740_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0750.ets new file mode 100644 index 00000000..8330501e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0750.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 UIComponentPopupboxMenuScenarios0750 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End }) { + Text('longPressShowMenu-0750') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0750_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0760.ets new file mode 100644 index 00000000..2b6964a8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0760.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 UIComponentPopupboxMenuScenarios0760 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0760') + .height('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0760_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.Right, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0770.ets new file mode 100644 index 00000000..0264ea4b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0770.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 UIComponentPopupboxMenuScenarios0770 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0770') + .height('50%') + .margin({ right: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0770_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0780.ets new file mode 100644 index 00000000..6567c32a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0780.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 UIComponentPopupboxMenuScenarios0780 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0780') + .height('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0780_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0790.ets new file mode 100644 index 00000000..2c56a56d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0790.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 UIComponentPopupboxMenuScenarios0790 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0790') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0790_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0800.ets new file mode 100644 index 00000000..314a7d43 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0800.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 UIComponentPopupboxMenuScenarios0800 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0800') + .height('50%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0800_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0810.ets new file mode 100644 index 00000000..bcfe7b5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0810.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 UIComponentPopupboxMenuScenarios0810 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center}) { + Text('longPressShowMenu-0810') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0810_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0820.ets new file mode 100644 index 00000000..2ea6c7e6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0820.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 UIComponentPopupboxMenuScenarios0820 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0820') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0820_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.LeftBottom, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0830.ets new file mode 100644 index 00000000..65835d75 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0830.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 UIComponentPopupboxMenuScenarios0830 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center}) { + Text('longPressShowMenu-0830') + .height('50%') + .margin({ left: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0830_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0840.ets new file mode 100644 index 00000000..6f285f53 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0840.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 UIComponentPopupboxMenuScenarios0840 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0840') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0840_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0850.ets new file mode 100644 index 00000000..cc0faf48 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0850.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 UIComponentPopupboxMenuScenarios0850 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0850') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0850_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0860.ets new file mode 100644 index 00000000..0f0b9011 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0860.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 UIComponentPopupboxMenuScenarios0860 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center}) { + Text('longPressShowMenu-0860') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0860_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0870.ets new file mode 100644 index 00000000..8ac71eb7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0870.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 UIComponentPopupboxMenuScenarios0870 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center}) { + Text('longPressShowMenu-0870') + .height('50%') + .margin({ left: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0870_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0880.ets new file mode 100644 index 00000000..a1c1bb01 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0880.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 UIComponentPopupboxMenuScenarios0880 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0880') + .height('50%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0880_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.Left, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0890.ets new file mode 100644 index 00000000..51e00105 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0890.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 UIComponentPopupboxMenuScenarios0890 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0890') + .height('50%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0890_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.Left, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0900.ets new file mode 100644 index 00000000..e057e9ec --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0900.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 UIComponentPopupboxMenuScenarios0900 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0900') + .height('50%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0900_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0910.ets new file mode 100644 index 00000000..293cbf1b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0910.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 UIComponentPopupboxMenuScenarios0910 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0910') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0910_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0920.ets new file mode 100644 index 00000000..7013c747 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0920.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 UIComponentPopupboxMenuScenarios0920 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0920') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0920_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '0%', + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0930.ets new file mode 100644 index 00000000..40884e6a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0930.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 UIComponentPopupboxMenuScenarios0930 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center}) { + Text('longPressShowMenu-0930') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0930_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0940.ets new file mode 100644 index 00000000..7c55c85f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0940.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 UIComponentPopupboxMenuScenarios0940 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0940') + .height('50%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0940_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0950.ets new file mode 100644 index 00000000..2555695a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0950.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 UIComponentPopupboxMenuScenarios0950 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0950') + .height('50%') + .margin({ left: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0950_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0960.ets new file mode 100644 index 00000000..6f2f9cb7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0960.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 UIComponentPopupboxMenuScenarios0960 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0960') + .height('50%') + .margin({ left: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0960_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0970.ets new file mode 100644 index 00000000..f787ef83 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0970.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 UIComponentPopupboxMenuScenarios0970 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-0970') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0970_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0980.ets new file mode 100644 index 00000000..2f4d08c2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0980.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 UIComponentPopupboxMenuScenarios0980 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Start,alignItems:ItemAlign.Center}) { + Text('longPressShowMenu-0980') + .height('50%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0980_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.RightTop, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0990.ets new file mode 100644 index 00000000..0b889ef5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0990.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 UIComponentPopupboxMenuScenarios0990 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center}) { + Text('longPressShowMenu-0990') + .height('50%') + .margin({ left: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios0990_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1000.ets new file mode 100644 index 00000000..df0b3a09 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1000.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 UIComponentPopupboxMenuScenarios1000 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-1000') + .height('50%') + .margin({ left: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1000_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right, + arrowOffset: '10%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1010.ets new file mode 100644 index 00000000..6b77fdeb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1010.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 UIComponentPopupboxMenuScenarios1010 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-1010') + .height('50%') + .margin({ left: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1010_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right, + arrowOffset: '100%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1020.ets new file mode 100644 index 00000000..fd1c08f1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1020.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 UIComponentPopupboxMenuScenarios1020 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-1020') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1020_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right, + arrowOffset: '50%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1030.ets new file mode 100644 index 00000000..b3f64c45 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1030.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 UIComponentPopupboxMenuScenarios1030 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1030') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1030_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '0%', + placement: Placement.BottomLeft + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1040.ets new file mode 100644 index 00000000..96f9d28d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1040.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 UIComponentPopupboxMenuScenarios1040 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1040') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1040_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '10%', + placement: Placement.BottomLeft + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1050.ets new file mode 100644 index 00000000..ba6cc2a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1050.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 UIComponentPopupboxMenuScenarios1050 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1050') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1050_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomLeft, + arrowOffset: '100%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1060.ets new file mode 100644 index 00000000..4f8bcad5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1060.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 UIComponentPopupboxMenuScenarios1060 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1060') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1060_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomLeft, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1070.ets new file mode 100644 index 00000000..7885c321 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1070.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 UIComponentPopupboxMenuScenarios1070 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1070') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1070_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1080.ets new file mode 100644 index 00000000..4b4d5f0c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1080.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 UIComponentPopupboxMenuScenarios1080 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1080') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1080_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight, + arrowOffset: '10%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1090.ets new file mode 100644 index 00000000..3c4262bc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1090.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 UIComponentPopupboxMenuScenarios1090 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1090') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1090_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '100%', + placement: Placement.BottomRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1100.ets new file mode 100644 index 00000000..ee8cd2fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1100.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 UIComponentPopupboxMenuScenarios1100 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Start, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1100') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1100_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '50%', + placement: Placement.BottomRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1110.ets new file mode 100644 index 00000000..72231e69 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1110.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 UIComponentPopupboxMenuScenarios1110 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1110') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1110_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Bottom, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1120.ets new file mode 100644 index 00000000..d27506cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1120.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 UIComponentPopupboxMenuScenarios1120 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1120') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1120_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Bottom, + arrowOffset: '10%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1130.ets new file mode 100644 index 00000000..4136e7d4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1130.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 UIComponentPopupboxMenuScenarios1130 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1130') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1130_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Bottom, + arrowOffset: '100%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1140.ets new file mode 100644 index 00000000..5fc64afb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1140.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 UIComponentPopupboxMenuScenarios1140 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1140') + .height(80) + .width('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1140_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1150.ets new file mode 100644 index 00000000..091b0b40 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1150.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 UIComponentPopupboxMenuScenarios1150 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1150') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1150_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '0%', + placement: Placement.TopLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1160.ets new file mode 100644 index 00000000..eb27f8f8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1160.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 UIComponentPopupboxMenuScenarios1160 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1160') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1160_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.TopLeft, + arrowOffset: '10%', + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1170.ets new file mode 100644 index 00000000..c549ab6c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1170.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 UIComponentPopupboxMenuScenarios1170 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1170') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1170_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopLeft, + arrowOffset: '100%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1180.ets new file mode 100644 index 00000000..fd1286fe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1180.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 UIComponentPopupboxMenuScenarios1180 { + private iconStr: ResourceStr = $r("app.media.icon") + @State isShown: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Column() { + Text('longPressShowMenu-1180') + .height(100) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1180_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '50%', + placement:Placement.TopLeft + }) + } + .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/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1190.ets new file mode 100644 index 00000000..ecf94e09 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1190.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 UIComponentPopupboxMenuScenarios1190 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1190') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1190_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '0%', + placement: Placement.TopRight + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1200.ets new file mode 100644 index 00000000..34574b52 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1200.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 UIComponentPopupboxMenuScenarios1200 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1200') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1200_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.TopRight, + arrowOffset: '10%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1210.ets new file mode 100644 index 00000000..e6ddd919 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1210.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 UIComponentPopupboxMenuScenarios1210 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1210') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1210_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '100%', + placement: Placement.TopRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1220.ets new file mode 100644 index 00000000..13d444fb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1220.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 UIComponentPopupboxMenuScenarios1220 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1220') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1220_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.TopRight, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1230.ets new file mode 100644 index 00000000..73bf1183 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1230.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 UIComponentPopupboxMenuScenarios1230 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1230') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1230_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Top, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1240.ets new file mode 100644 index 00000000..679679a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1240.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 UIComponentPopupboxMenuScenarios1240 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1240') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1240_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Top, + arrowOffset: '10%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1250.ets new file mode 100644 index 00000000..588aacaa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1250.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 UIComponentPopupboxMenuScenarios1250 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Text('longPressShowMenu-1250') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1250_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '100%', + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1260.ets new file mode 100644 index 00000000..93edada4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1260.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 UIComponentPopupboxMenuScenarios1260 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.End}) { + Text('longPressShowMenu-1260') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1260_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Top, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1270.ets new file mode 100644 index 00000000..92c61f61 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1270.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 UIComponentPopupboxMenuScenarios1270 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1270') + .height(80) + .width('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1270_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1280.ets new file mode 100644 index 00000000..6e1b0c12 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1280.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 UIComponentPopupboxMenuScenarios1280 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1280') + .height(80) + .width('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1280_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom, + arrowOffset: '100%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1290.ets new file mode 100644 index 00000000..4a783512 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1290.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 UIComponentPopupboxMenuScenarios1290 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1290') + .height(80) + .width('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1290_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1300.ets new file mode 100644 index 00000000..8f1869f5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1300.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 UIComponentPopupboxMenuScenarios1300 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1300') + .height(80) + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1300_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1310.ets new file mode 100644 index 00000000..ad6ac9cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1310.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 UIComponentPopupboxMenuScenarios1310 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1310') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1310_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '100%', + placement: Placement.Right + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1320.ets new file mode 100644 index 00000000..9113c2de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1320.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 UIComponentPopupboxMenuScenarios1320 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1320') + .height(80) + .width('50%') + .margin({right:'20'}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1320_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '50%', + placement: Placement.Right + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1330.ets new file mode 100644 index 00000000..cbed7ce0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1330.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 UIComponentPopupboxMenuScenarios1330 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1330') + .height(80) + .width('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1330_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1340.ets new file mode 100644 index 00000000..c9f0ae1d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1340.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 UIComponentPopupboxMenuScenarios1340 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1340') + .height(80) + .width('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1340_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop, + arrowOffset: '100%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1350.ets new file mode 100644 index 00000000..fe4d1d1d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1350.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 UIComponentPopupboxMenuScenarios1350 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1350') + .height(80) + .width('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1350_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1360.ets new file mode 100644 index 00000000..b68e2ef3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1360.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 UIComponentPopupboxMenuScenarios1360 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1360') + .height(80) + .width('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1360_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1370.ets new file mode 100644 index 00000000..9f8d70b8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1370.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 UIComponentPopupboxMenuScenarios1370 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1370') + .height(80) + .width('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1370_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.LeftBottom, + arrowOffset: '100%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1380.ets new file mode 100644 index 00000000..eef7c8f2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1380.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 UIComponentPopupboxMenuScenarios1380 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1380') + .height(80) + .width('50%') + .margin({right:'15%'}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1380_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '50%', + placement: Placement.LeftBottom + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1390.ets new file mode 100644 index 00000000..b203add4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1390.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 UIComponentPopupboxMenuScenarios1390 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1390') + .height(80) + .width('50%') + .margin({right:'15%'}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1390_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '0%', + placement: Placement.LeftTop + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1400.ets new file mode 100644 index 00000000..b9464d9b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1400.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 UIComponentPopupboxMenuScenarios1400 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End }) { + Text('LongPressShowMenu-1400') + .height(100) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .margin({right:'10%'}) + .id("UIComponentPopupboxMenuScenarios1400_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '100%', + placement: Placement.LeftTop + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1410.ets new file mode 100644 index 00000000..e3043dc0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1410.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 UIComponentPopupboxMenuScenarios1410 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1410') + .height(80) + .width('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1410_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1420.ets new file mode 100644 index 00000000..2910f50f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1420.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 UIComponentPopupboxMenuScenarios1420 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1420') + .height(80) + .width('50%') + .margin({right:"20"}) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1420_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1430.ets new file mode 100644 index 00000000..d47275d3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1430.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 UIComponentPopupboxMenuScenarios1430 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1430') + .height(80) + .width('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1430_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1440.ets new file mode 100644 index 00000000..f754cda6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1440.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 UIComponentPopupboxMenuScenarios1440 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.End, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1440') + .height(80) + .width('50%') + .margin({ right: '20' }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1440_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1450.ets new file mode 100644 index 00000000..96fd0f86 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1450.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 UIComponentPopupboxMenuScenarios1450 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1450') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1450_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight, + arrowOffset: '0%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1460.ets new file mode 100644 index 00000000..95fdd1ad --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1460.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 UIComponentPopupboxMenuScenarios1460 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Start, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1460') + .height('50%') + .margin({ left: "20" }) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1460_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom, + arrowOffset: '30%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1470.ets new file mode 100644 index 00000000..e0d0f79a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1470.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 UIComponentPopupboxMenuScenarios1470 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.height('60%') + } + + build() { + Flex({justifyContent: FlexAlign.End,alignItems:ItemAlign.End}) { + Text('longPressShowMenu-1470') + .height('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1470_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.TopRight, + arrowOffset: '30%' + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1480.ets new file mode 100644 index 00000000..a4297666 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1480.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 UIComponentPopupboxMenuScenarios1480 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('80%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-1480') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1480_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '30%', + placement: Placement.TopRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1490.ets new file mode 100644 index 00000000..2f800dee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1490.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 UIComponentPopupboxMenuScenarios1490 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1490') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1490_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1500.ets new file mode 100644 index 00000000..a36e0f2b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1500.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 UIComponentPopupboxMenuScenarios1500 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Text('longPressShowMenu-1500') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1500_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: false, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1540.ets new file mode 100644 index 00000000..de59a2ae --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1540.ets @@ -0,0 +1,29 @@ +@Entry +@Component +struct UIComponentPopupboxMenuScenarios1540 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1540') + .height(80) + .id("UIComponentPopupboxMenuScenarios1540_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '-1', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1550.ets new file mode 100644 index 00000000..a6959793 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1550.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 UIComponentPopupboxMenuScenarios1550 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1550') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1550_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: 0, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1560.ets new file mode 100644 index 00000000..a9ca15e5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1560.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 UIComponentPopupboxMenuScenarios1560 { + private iconStr: ResourceStr = $r("app.media.icon") + private arrowOffset: string = 'null' + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center }) { + Text('LongPressShowMenu-1560') + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1560_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: this.arrowOffset + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1570.ets new file mode 100644 index 00000000..8c0abf76 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1570.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 UIComponentPopupboxMenuScenarios1570 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Start}) { + Text('LongPressShowMenu-1570') + .height(100) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1570_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: 1000 + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1580.ets new file mode 100644 index 00000000..ea44ea7b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1580.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 UIComponentPopupboxMenuScenarios1580 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1580') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1580_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '50vp', + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1590.ets new file mode 100644 index 00000000..d10bf6e9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1590.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 UIComponentPopupboxMenuScenarios1590 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1590') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1590_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '20px', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1600.ets new file mode 100644 index 00000000..1c67b5f1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1600.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 UIComponentPopupboxMenuScenarios1600 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1600') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1600_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '70px', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1610.ets new file mode 100644 index 00000000..8d420628 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1610.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 UIComponentPopupboxMenuScenarios1610 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1610') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1610_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '', + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1620.ets new file mode 100644 index 00000000..6507d9b7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1620.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 UIComponentPopupboxMenuScenarios1620 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1620') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1620_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: $r('app.float.arrowOffset_1000'), + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1630.ets new file mode 100644 index 00000000..15b80693 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1630.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 UIComponentPopupboxMenuScenarios1630 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1630') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1630_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: $r('app.float.arrowOffset_50vp'), + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1640.ets new file mode 100644 index 00000000..af4fb56c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1640.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 UIComponentPopupboxMenuScenarios1640 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1640') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1640_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '120%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1650.ets new file mode 100644 index 00000000..bf7e878b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1650.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 UIComponentPopupboxMenuScenarios1650 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1650') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1650_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '20%', + }) + } + .height('100%') + .width('100%') + } +} + + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1660.ets new file mode 100644 index 00000000..703c88fc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1660.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 UIComponentPopupboxMenuScenarios1660 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Center }) { + Text('LongPressShowMenu-1660') + .height(100) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1660_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '50%' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1670.ets new file mode 100644 index 00000000..3f05e085 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1670.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 UIComponentPopupboxMenuScenarios1670 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1670') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1670_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '70%', + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1680.ets new file mode 100644 index 00000000..98847892 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1680.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 UIComponentPopupboxMenuScenarios1680 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1680') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1680_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1690.ets new file mode 100644 index 00000000..52059aa7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1690.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 UIComponentPopupboxMenuScenarios1690 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1690') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1690_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '1000px', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1700.ets new file mode 100644 index 00000000..b94d360c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1700.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 UIComponentPopupboxMenuScenarios1700 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1700') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1700_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomLeft, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1710.ets new file mode 100644 index 00000000..742e026e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1710.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 UIComponentPopupboxMenuScenarios1710 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1710') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1710_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomLeft, + arrowOffset: '10%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1720.ets new file mode 100644 index 00000000..40214e5b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1720.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 UIComponentPopupboxMenuScenarios1720 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1720') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1720_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '100%', + placement: Placement.BottomRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1730.ets new file mode 100644 index 00000000..a2934e1f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1730.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 UIComponentPopupboxMenuScenarios1730 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1730') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1730_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.LeftBottom, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1740.ets new file mode 100644 index 00000000..a2d5c979 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1740.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 UIComponentPopupboxMenuScenarios1740 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1740') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1740_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1750.ets new file mode 100644 index 00000000..611a9da2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1750.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 UIComponentPopupboxMenuScenarios1750 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1750') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1750_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement:Placement.BottomRight, + arrowOffset: '10%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1760.ets new file mode 100644 index 00000000..abb55760 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1760.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 UIComponentPopupboxMenuScenarios1760 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1760') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1760_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '100%', + placement: Placement.BottomRight + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1770.ets new file mode 100644 index 00000000..70d0e7d1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1770.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 UIComponentPopupboxMenuScenarios1770 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1770') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1770_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1780.ets new file mode 100644 index 00000000..800efc56 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1780.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 UIComponentPopupboxMenuScenarios1780 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1780') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1780_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopLeft, + arrowOffset: '0%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1790.ets new file mode 100644 index 00000000..b68e9cae --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1790.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 UIComponentPopupboxMenuScenarios1790 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1790') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1790_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '10%', + placement: Placement.Bottom + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1800.ets new file mode 100644 index 00000000..ff0aaa8e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1800.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 UIComponentPopupboxMenuScenarios1800 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1800') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1800_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '100%', + placement: Placement.Bottom + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1810.ets new file mode 100644 index 00000000..e73da136 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1810.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 UIComponentPopupboxMenuScenarios1810 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1810') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1810_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Bottom, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1820.ets new file mode 100644 index 00000000..53049ccc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1820.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 UIComponentPopupboxMenuScenarios1820 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1820') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1820_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '10%', + placement: Placement.TopLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1830.ets new file mode 100644 index 00000000..58b1b420 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1830.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 UIComponentPopupboxMenuScenarios1830 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1830') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1830_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopLeft, + arrowOffset: '100%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1840.ets new file mode 100644 index 00000000..ac2a15af --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1840.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 UIComponentPopupboxMenuScenarios1840 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1840') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1840_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopLeft, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1850.ets new file mode 100644 index 00000000..4183f1cd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1850.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 UIComponentPopupboxMenuScenarios1850 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1850') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1850_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '0%', + placement: Placement.TopRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1860.ets new file mode 100644 index 00000000..948aaccf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1860.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 UIComponentPopupboxMenuScenarios1860 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1860') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1860_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopRight, + arrowOffset: '10%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1870.ets new file mode 100644 index 00000000..753b6c16 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1870.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 UIComponentPopupboxMenuScenarios1870 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1870') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1870_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopRight, + arrowOffset: '100%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1880.ets new file mode 100644 index 00000000..be216ed5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1880.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 UIComponentPopupboxMenuScenarios1880 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start}) { + Text('longPressShowMenu-1880') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1880_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopRight, + arrowOffset: '50%', + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1890.ets new file mode 100644 index 00000000..a5728428 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1890.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 UIComponentPopupboxMenuScenarios1890 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1890') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1890_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '0%', + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1900.ets new file mode 100644 index 00000000..526fdccf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1900.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 UIComponentPopupboxMenuScenarios1900 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1900') + .height(100) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1900_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '10%', + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1910.ets new file mode 100644 index 00000000..16c6d1df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1910.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 UIComponentPopupboxMenuScenarios1910 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1910') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1910_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '100%', + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1920.ets new file mode 100644 index 00000000..e10de1b3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1920.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 UIComponentPopupboxMenuScenarios1920 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + }.width('60%') + } + + build() { + Flex({justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-1920') + .height(80) + .width('50%') + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuScenarios1920_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + arrowOffset: '50%', + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0010.ets new file mode 100644 index 00000000..02cc866e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0010.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 UIComponentPopupboxMenuSegmentedDisplay0010 { + @Builder + MyMenu() { + Menu() { + MenuItem({ + content: "菜单选项", + builder: (): void => this.SubMenu() + }).id("UIComponentPopupboxMenuSegmentedDisplay0010_02") + } + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ + content: "子菜单选项1", + }) + } + + Menu() { + MenuItem({ + content: "子菜单选项2", + }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('clickShowMenu-0010') + .height(80) + .id("UIComponentPopupboxMenuSegmentedDisplay0010_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0030.ets new file mode 100644 index 00000000..3d821e31 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0030.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 UIComponentPopupboxMenuSegmentedDisplay0030 { + @Builder + MyMenu() { + Menu() { + MenuItem({ + content: "菜单选项1", + }) + } + + Menu() { + MenuItem({ + content: "菜单选项1", + }) + MenuItem({ + content: "菜单选项2", + }) + } + + Menu() { + MenuItem({ + content: "菜单选项1", + }) + MenuItem({ + content: "菜单选项2", + }) + MenuItem({ + content: "菜单选项3", + }) + } + + Menu() { + MenuItem({ + content: "菜单选项1", + }) + MenuItem({ + content: "菜单选项2", + }) + MenuItem({ + content: "菜单选项3", + }) + MenuItem({ + content: "菜单选项4", + }) + MenuItem({ + content: "菜单选项5", + }) + MenuItem({ + content: "菜单选项6", + }) + MenuItem({ + content: "菜单选项7", + }) + MenuItem({ + content: "菜单选项8", + }) + MenuItem({ + content: "菜单选项9", + }) + MenuItem({ + content: "菜单选项10", + }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('clickShowMenu-0030') + .height(80) + .id("UIComponentPopupboxMenuSegmentedDisplay0030_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0040.ets new file mode 100644 index 00000000..8836b57f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0040.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 UIComponentPopupboxMenuSegmentedDisplay0040 { + @Builder + MyMenu() { + Menu() { + MenuItem({ + content: "菜单选项1", + }) + MenuItem({ + content: "菜单选项2", + }) + } + + Menu() { + MenuItem({ + content: "菜单选项1", + }) + MenuItem({ + content: "菜单选项2", + }) + } + + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('clickShowMenu-0040') + .height(80) + .id("UIComponentPopupboxMenuSegmentedDisplay0040_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0050.ets new file mode 100644 index 00000000..4437b9e2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0050.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 UIComponentPopupboxMenuSegmentedDisplay0050 { + + @Builder + MyMenu() { + Menu() { + MenuItem({ + content: "菜单选项1超长超长超长超长超长超长" + }).contentFont({ size: 20 }).width(60) + MenuItem({ + content: "菜单选项", + builder: (): void => this.SubMenu() + }).id("UIComponentPopupboxMenuSegmentedDisplay0050_02").contentFont({ size: 10 }).width(40) + } + } + + @Builder + SubMenu() { + Menu() { + MenuItemGroup({ header: '小标题Group' }) { + MenuItem({ + content: "子菜单选项", + }).width(100).height(100).contentFont({ size: 20 }) + MenuItem({ + content: "子菜单选项", + }).width(100).height(100).contentFont({ size: 20 }) + }.width(50).height(50) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('clickShowMenu-0050') + .height(80) + .id("UIComponentPopupboxMenuSegmentedDisplay0050_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0060.ets new file mode 100644 index 00000000..4b5ac94c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0060.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0060 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(2), + endMargin: LengthMetrics.vp(2) + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0060') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0060_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0080.ets new file mode 100644 index 00000000..843417da --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0080.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0080 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.fp(1.5), + startMargin: LengthMetrics.vp(50), + endMargin: LengthMetrics.vp(50) + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0080') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0080_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0090.ets new file mode 100644 index 00000000..48f1bd05 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0090.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 '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0090 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: LengthMetrics.fp(0), + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0090') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0090_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0100.ets new file mode 100644 index 00000000..ad031aaf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0100.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0100 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Orange, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(-1.5), + endMargin: LengthMetrics.vp(-1.5) + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0100') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0100_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0110.ets new file mode 100644 index 00000000..8cfa572c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0110.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0110 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Orange, + strokeWidth: LengthMetrics.vp(10), + startMargin: LengthMetrics.vp(0), + endMargin: LengthMetrics.vp(0) + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0110') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0110_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0120.ets new file mode 100644 index 00000000..952e8999 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0120.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0120 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.fp(1), + startMargin: LengthMetrics.vp(-10), + endMargin: LengthMetrics.vp(-10) + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0120') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0120_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0130.ets new file mode 100644 index 00000000..ed1ccd81 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0130.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0130 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: $r('app.string.menu_divider_color'), + strokeWidth: LengthMetrics.percent(20), + startMargin: LengthMetrics.lpx(120), + endMargin: LengthMetrics.lpx(120) + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0130') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0130_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0140.ets new file mode 100644 index 00000000..ee21c65f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0140.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0140 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: LengthMetrics.fp(3), + startMargin: LengthMetrics.vp(60), + endMargin: LengthMetrics.vp(60) + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0140') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0140_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0150.ets new file mode 100644 index 00000000..ef73e916 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0150.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0150 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Green, + strokeWidth: LengthMetrics.lpx(3), + startMargin: LengthMetrics.percent(30), + endMargin: LengthMetrics.percent(30) + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0150') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0150_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0160.ets new file mode 100644 index 00000000..565cbc3a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0160.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 { ColorMetrics, LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0160 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: ColorMetrics.rgba(57,47,73,0.2).color, + strokeWidth: LengthMetrics.px(3), + startMargin: LengthMetrics.fp(1.5), + endMargin: LengthMetrics.fp(1.5) + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0160') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0160_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0170.ets new file mode 100644 index 00000000..285c62c5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0170.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0170 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 0XFF3C4B34, + strokeWidth: LengthMetrics.px(3), + startMargin: LengthMetrics.px(10), + endMargin: LengthMetrics.px(10) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0170') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0170_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0180.ets new file mode 100644 index 00000000..88725387 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0180.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0180 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: '#392F49', + strokeWidth: LengthMetrics.vp(60), + startMargin: LengthMetrics.vp(1), + endMargin: LengthMetrics.vp(1) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0180') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0180_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0190.ets new file mode 100644 index 00000000..002403ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0190.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 '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0190 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: LengthMetrics.vp(-10), + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0190') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0190_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0200.ets new file mode 100644 index 00000000..5a753c4e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0200.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0200 { + private iconStr: ResourceStr = $r("app.media.icon"); + private strokeWidth: LengthMetrics = { value: 20, unit: -8 }; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: this.strokeWidth, + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0200') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0200_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0210.ets new file mode 100644 index 00000000..5329a76e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0210.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 '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0210 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider(undefined) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0210') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0210_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0220.ets new file mode 100644 index 00000000..aea79fda --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0220.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0220 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 'Color.Pink', + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0220') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0220_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0230.ets new file mode 100644 index 00000000..c46887a9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0230.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 UIComponentPopupboxMenuStyleEnhancement0230 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 'Pink', + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0230') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0230_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0240.ets new file mode 100644 index 00000000..fbbe2310 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0240.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0240 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + MenuItemGroup({ header: 'Group 小标题' }) { + MenuItem({ content: "菜单选项4", }).width(240).height(60) + MenuItem({ content: "菜单选项5", }).width(240).height(60) + MenuItem({ content: "菜单选项6", }).width(240).height(60) + } + + MenuItem({ content: "菜单选项7", }).width(240).height(60) + MenuItem({ content: "菜单选项8", }).width(240).height(60) + MenuItem({ content: "菜单选项9", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(2), + endMargin: LengthMetrics.vp(2) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0240') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0240_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0250.ets new file mode 100644 index 00000000..9eae3ef3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0250.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0250 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + MenuItem({ content: "菜单选项4", }).width(240).height(60) + MenuItem({ content: "菜单选项5", }).width(240).height(60) + MenuItem({ content: "菜单选项6", }).width(240).height(60) + MenuItem({ content: "菜单选项7", }).width(240).height(60) + MenuItem({ content: "菜单选项8", }).width(240).height(60) + MenuItem({ content: "菜单选项9", }).width(240).height(60) + MenuItem({ content: "菜单选项10", }).width(240).height(60) + MenuItem({ content: "菜单选项11", }).width(240).height(60) + MenuItem({ content: "菜单选项12", }).width(240).height(60) + MenuItem({ content: "菜单选项13", }).width(240).height(60) + MenuItem({ content: "菜单选项14", }).width(240).height(60) + MenuItem({ content: "菜单选项15", }).width(240).height(60) + MenuItem({ content: "菜单选项16", }).width(240).height(60) + MenuItem({ content: "菜单选项17", }).width(240).height(60) + MenuItem({ content: "菜单选项18", }).width(240).height(60) + MenuItem({ content: "菜单选项19", }).width(240).height(60) + MenuItem({ content: "菜单选项20", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(2), + endMargin: LengthMetrics.vp(2) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0250') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0250_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0260.ets new file mode 100644 index 00000000..93719583 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0260.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0260 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: LengthMetrics.fp(3), + startMargin: LengthMetrics.vp(60), + endMargin: LengthMetrics.vp(60) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0260') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0260_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0270.ets new file mode 100644 index 00000000..2201b8a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0270.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 window from '@ohos.window'; +import common from '@ohos.app.ability.common'; +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0270 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isFullScreen: boolean = false + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Green, + strokeWidth: LengthMetrics.lpx(3), + startMargin: LengthMetrics.percent(30), + endMargin: LengthMetrics.percent(30) + }) + } + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Column({ space: 30 }) { + Button("横竖屏切换") + .id('UIComponentPopupboxMenuStyleEnhancement0270_02') + .onClick(() => { + this.horVerSwitch() + }) + Button('longPressShowMenu-0270') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0270_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0280.ets new file mode 100644 index 00000000..8d27d863 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0280.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 UIComponentPopupboxMenuStyleEnhancement0280 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider( { + color: undefined, + strokeWidth: undefined, + startMargin: undefined, + endMargin: undefined + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0280') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0280_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0290.ets new file mode 100644 index 00000000..bb363ee1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0290.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 '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0290 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State dividers: DividerStyleOptions[] = [{ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(2), + endMargin: LengthMetrics.vp(2) + }, {}]; + @State dividerIndex: number = 0; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider(this.dividers[this.dividerIndex]) + } + + build() { + Column({ space: 30 }) { + Button('changeDividerStyle') + .id("UIComponentPopupboxMenuStyleEnhancement0290_02") + .onClick(() => { + this.dividerIndex++; + if (this.dividerIndex > this.dividers.length) { + this.dividerIndex = 0; + } + }) + Button('longPressShowMenu-0290') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0290_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0310.ets new file mode 100644 index 00000000..29795f4e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0310.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0310 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(50), + endMargin: LengthMetrics.vp(50) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0310') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0310_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0320.ets new file mode 100644 index 00000000..2665ea0d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0320.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. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0320 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + strokeWidth: LengthMetrics.vp(0), + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0320') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0320_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0330.ets new file mode 100644 index 00000000..4659c12b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0330.ets @@ -0,0 +1,35 @@ + +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0330 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Orange, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(-1.5), + endMargin: LengthMetrics.vp(-1.5) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0330') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0330_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0340.ets new file mode 100644 index 00000000..04c70cf1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0340.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0340 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Orange, + strokeWidth: LengthMetrics.vp(10), + startMargin: LengthMetrics.vp(0), + endMargin: LengthMetrics.vp(0) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0340') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0340_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0350.ets new file mode 100644 index 00000000..45e3baf2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0350.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0350 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1), + startMargin: LengthMetrics.vp(-10), + endMargin: LengthMetrics.vp(-10) + }) + } + + build() { + Column({ space: 30 }) { + Button('LongPressShowMenu-0350') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0350_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0360.ets new file mode 100644 index 00000000..30275951 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0360.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0360 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: $r('app.string.menu_divider_color'), + strokeWidth: LengthMetrics.percent(20), + startMargin: LengthMetrics.lpx(120), + endMargin: LengthMetrics.lpx(120) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0360') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0360_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0370.ets new file mode 100644 index 00000000..56f0930d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0370.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0370 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: LengthMetrics.fp(3), + startMargin: LengthMetrics.vp(60), + endMargin: LengthMetrics.vp(60) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0370') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0370_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0380.ets new file mode 100644 index 00000000..0c215e73 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0380.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0380 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Green, + strokeWidth: LengthMetrics.lpx(3), + startMargin: LengthMetrics.percent(30), + endMargin: LengthMetrics.percent(30) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0380') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0380_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0390.ets new file mode 100644 index 00000000..af9052b5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0390.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 { ColorMetrics, LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0390 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: ColorMetrics.rgba(57,47,73,0.2).color, + strokeWidth: LengthMetrics.px(3), + startMargin: LengthMetrics.fp(1.5), + endMargin: LengthMetrics.fp(1.5) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0390') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0390_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0400.ets new file mode 100644 index 00000000..cbf415d9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0400.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0400 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 0xFF3C4B34, + strokeWidth: LengthMetrics.px(3), + startMargin: LengthMetrics.px(10), + endMargin: LengthMetrics.px(10) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0400') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0400_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0410.ets new file mode 100644 index 00000000..5b5edbea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0410.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0410 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: '#392F49', + strokeWidth: LengthMetrics.vp(60), + startMargin: LengthMetrics.vp(1), + endMargin: LengthMetrics.vp(1) + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0410') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0410_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0420.ets new file mode 100644 index 00000000..862ea036 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0420.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0420 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + strokeWidth: LengthMetrics.vp(-10), + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0420') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0420_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0430.ets new file mode 100644 index 00000000..51c27180 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0430.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0430 { + private iconStr: ResourceStr = $r("app.media.icon"); + private strokeWidth: LengthMetrics = { value: 20, unit: -8 }; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: this.strokeWidth, + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0430') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0430_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0440.ets new file mode 100644 index 00000000..d961c9e6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0440.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. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0440 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider(undefined) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0440') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0440_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0450.ets new file mode 100644 index 00000000..f0daad89 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0450.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0450 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 'Color.Pink', + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0450') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0450_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0460.ets new file mode 100644 index 00000000..7ae4d8bc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0460.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. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0460 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 'Pink', + }) + } + + build() { + Column({ space: 30 }) { + Button('longPressShowMenu-0460') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0460_01") + .bindContextMenu(this.MyMenu,ResponseType.LongPress, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0470.ets new file mode 100644 index 00000000..8ed166d1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0470.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0470 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + MenuItemGroup({ header: 'Group 小标题' }) { + MenuItem({ content: "菜单选项4", }).width(240).height(60) + MenuItem({ content: "菜单选项5", }).width(240).height(60) + MenuItem({ content: "菜单选项6", }).width(240).height(60) + } + + MenuItem({ content: "菜单选项7", }).width(240).height(60) + MenuItem({ content: "菜单选项8", }).width(240).height(60) + MenuItem({ content: "菜单选项9", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(2), + endMargin: LengthMetrics.vp(2) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0470') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0470_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0480.ets new file mode 100644 index 00000000..ade597c7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0480.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0480 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + MenuItem({ content: "菜单选项4", }).width(240).height(60) + MenuItem({ content: "菜单选项5", }).width(240).height(60) + MenuItem({ content: "菜单选项6", }).width(240).height(60) + MenuItem({ content: "菜单选项7", }).width(240).height(60) + MenuItem({ content: "菜单选项8", }).width(240).height(60) + MenuItem({ content: "菜单选项9", }).width(240).height(60) + MenuItem({ content: "菜单选项10", }).width(240).height(60) + MenuItem({ content: "菜单选项11", }).width(240).height(60) + MenuItem({ content: "菜单选项12", }).width(240).height(60) + MenuItem({ content: "菜单选项13", }).width(240).height(60) + MenuItem({ content: "菜单选项14", }).width(240).height(60) + MenuItem({ content: "菜单选项15", }).width(240).height(60) + MenuItem({ content: "菜单选项16", }).width(240).height(60) + MenuItem({ content: "菜单选项17", }).width(240).height(60) + MenuItem({ content: "菜单选项18", }).width(240).height(60) + MenuItem({ content: "菜单选项19", }).width(240).height(60) + MenuItem({ content: "菜单选项20", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(2), + endMargin: LengthMetrics.vp(2) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0480') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0480_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0490.ets new file mode 100644 index 00000000..52739f70 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0490.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 window from '@ohos.window'; +import common from '@ohos.app.ability.common'; +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0490 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isFullScreen: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: LengthMetrics.fp(3), + startMargin: LengthMetrics.vp(60), + endMargin: LengthMetrics.vp(60) + }) + } + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Column({ space: 30 }) { + Button("横竖屏切换") + .id('UIComponentPopupboxMenuStyleEnhancement0490_02') + .onClick(() => { + this.horVerSwitch() + }) + Button('ClickShowMenu-0490') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0490_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0500.ets new file mode 100644 index 00000000..b573f7a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0500.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. + */ + + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import window from '@ohos.window'; +import common from '@ohos.app.ability.common'; +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0500 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isFullScreen: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Green, + strokeWidth: LengthMetrics.lpx(3), + startMargin: LengthMetrics.percent(30), + endMargin: LengthMetrics.percent(30) + }) + } + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Column({ space: 30 }) { + Button("横竖屏切换") + .id('UIComponentPopupboxMenuStyleEnhancement0500_02') + .onClick(() => { + this.horVerSwitch() + }) + Button('ClickShowMenu-0500') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0500_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0510.ets new file mode 100644 index 00000000..5bbb74ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0510.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0510 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: undefined, + strokeWidth: undefined, + startMargin: undefined, + endMargin: undefined + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0510') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0510_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0520.ets new file mode 100644 index 00000000..ca277914 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0520.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. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0520 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(2), + startMargin: LengthMetrics.vp(-10), + endMargin: LengthMetrics.vp(-10) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0520') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0520_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0540.ets new file mode 100644 index 00000000..07afbd58 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0540.ets @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0540 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(50), + endMargin: LengthMetrics.vp(50) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0540') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0540_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0550.ets new file mode 100644 index 00000000..96d099bf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0550.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0550 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + strokeWidth: LengthMetrics.vp(0), + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0550') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0550_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0560.ets new file mode 100644 index 00000000..1198a7a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0560.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0560 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Orange, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(-1.5), + endMargin: LengthMetrics.vp(-1.5) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0560') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0560_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0570.ets new file mode 100644 index 00000000..2a9185ff --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0570.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. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0570 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Orange, + strokeWidth: LengthMetrics.vp(10), + startMargin: LengthMetrics.vp(0), + endMargin: LengthMetrics.vp(0) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0570') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0570_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0580.ets new file mode 100644 index 00000000..53228ae9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0580.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0580 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1), + startMargin: LengthMetrics.vp(-10), + endMargin: LengthMetrics.vp(-10) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0580') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0580_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0590.ets new file mode 100644 index 00000000..d2790616 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0590.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0590 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: $r('app.string.menu_divider_color'), + strokeWidth: LengthMetrics.percent(20), + startMargin: LengthMetrics.lpx(120), + endMargin: LengthMetrics.lpx(120) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0590') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0590_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0600.ets new file mode 100644 index 00000000..1166f839 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0600.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0600 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: LengthMetrics.fp(3), + startMargin: LengthMetrics.vp(60), + endMargin: LengthMetrics.vp(60) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0600') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0600_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0610.ets new file mode 100644 index 00000000..503c1ec0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0610.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0610 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Green, + strokeWidth: LengthMetrics.lpx(3), + startMargin: LengthMetrics.percent(30), + endMargin: LengthMetrics.percent(30) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0610') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0610_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0620.ets new file mode 100644 index 00000000..d63b640d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0620.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 { ColorMetrics, LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0620 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: ColorMetrics.rgba(57,47,73,0.2).color, + strokeWidth: LengthMetrics.px(3), + startMargin: LengthMetrics.fp(1.5), + endMargin: LengthMetrics.fp(1.5) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0620') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0620_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0630.ets new file mode 100644 index 00000000..6eb70d12 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0630.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0630 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 0xFF3C4B34, + strokeWidth: LengthMetrics.px(3), + startMargin: LengthMetrics.px(10), + endMargin: LengthMetrics.px(10) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0630') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0630_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0640.ets new file mode 100644 index 00000000..afaceb31 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0640.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0640 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: '#392F49', + strokeWidth: LengthMetrics.vp(60), + startMargin: LengthMetrics.vp(1), + endMargin: LengthMetrics.vp(1) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0640') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0640_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0650.ets new file mode 100644 index 00000000..2c2b8f72 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0650.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0650 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + strokeWidth: LengthMetrics.vp(-10), + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0650') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0650_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0660.ets new file mode 100644 index 00000000..ee5e81f2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0660.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0660 { + private iconStr: ResourceStr = $r("app.media.icon"); + private strokeWidth: LengthMetrics = { value: 20, unit: -8 }; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: this.strokeWidth, + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0660') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0660_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0670.ets new file mode 100644 index 00000000..cb4a69a5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0670.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 UIComponentPopupboxMenuStyleEnhancement0670 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider(undefined) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0670') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0670_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0680.ets new file mode 100644 index 00000000..b9be6f04 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0680.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 UIComponentPopupboxMenuStyleEnhancement0680 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 'Color.Pink', + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0680') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0680_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0690.ets new file mode 100644 index 00000000..ea3be225 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0690.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 UIComponentPopupboxMenuStyleEnhancement0690 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 'Pink', + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0690') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0690_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0700.ets new file mode 100644 index 00000000..6417b7e1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0700.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0700 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + MenuItemGroup({ header: 'Group 小标题' }) { + MenuItem({ content: "菜单选项4", }).width(240).height(60) + MenuItem({ content: "菜单选项5", }).width(240).height(60) + MenuItem({ content: "菜单选项6", }).width(240).height(60) + } + + MenuItem({ content: "菜单选项7", }).width(240).height(60) + MenuItem({ content: "菜单选项8", }).width(240).height(60) + MenuItem({ content: "菜单选项9", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(2), + endMargin: LengthMetrics.vp(2) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0700') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0700_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0710.ets new file mode 100644 index 00000000..48626755 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0710.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0710 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + MenuItem({ content: "菜单选项4", }).width(240).height(60) + MenuItem({ content: "菜单选项5", }).width(240).height(60) + MenuItem({ content: "菜单选项6", }).width(240).height(60) + MenuItem({ content: "菜单选项7", }).width(240).height(60) + MenuItem({ content: "菜单选项8", }).width(240).height(60) + MenuItem({ content: "菜单选项9", }).width(240).height(60) + MenuItem({ content: "菜单选项10", }).width(240).height(60) + MenuItem({ content: "菜单选项11", }).width(240).height(60) + MenuItem({ content: "菜单选项12", }).width(240).height(60) + MenuItem({ content: "菜单选项13", }).width(240).height(60) + MenuItem({ content: "菜单选项14", }).width(240).height(60) + MenuItem({ content: "菜单选项15", }).width(240).height(60) + MenuItem({ content: "菜单选项16", }).width(240).height(60) + MenuItem({ content: "菜单选项17", }).width(240).height(60) + MenuItem({ content: "菜单选项18", }).width(240).height(60) + MenuItem({ content: "菜单选项19", }).width(240).height(60) + MenuItem({ content: "菜单选项20", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(2), + endMargin: LengthMetrics.vp(2) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0710') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0710_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0720.ets new file mode 100644 index 00000000..33a3b70a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0720.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 window from '@ohos.window'; +import common from '@ohos.app.ability.common'; +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0720 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isFullScreen: boolean = false + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: LengthMetrics.fp(3), + startMargin: LengthMetrics.vp(60), + endMargin: LengthMetrics.vp(60) + }) + } + + build() { + Column({ space: 30 }) { + Button("横竖屏切换") + .id('UIComponentPopupboxMenuStyleEnhancement0720_02') + .onClick(() => { + this.horVerSwitch() + }) + Button('ClickShowMenu-0720') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0720_01") + .bindMenu(this.MyMenu, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0730.ets new file mode 100644 index 00000000..4ffbe95a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0730.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 window from '@ohos.window'; +import common from '@ohos.app.ability.common'; +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0730 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isFullScreen: boolean = false + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Green, + strokeWidth: LengthMetrics.lpx(3), + startMargin: LengthMetrics.percent(30), + endMargin: LengthMetrics.percent(30) + }) + } + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Column({ space: 30 }) { + Button("横竖屏切换") + .id('UIComponentPopupboxMenuStyleEnhancement0730_02') + .onClick(() => { + this.horVerSwitch() + }) + Button('ClickShowMenu-0730') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0730_01") + .bindMenu(this.MyMenu, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0740.ets new file mode 100644 index 00000000..fd715c49 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0740.ets @@ -0,0 +1,78 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0740 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: undefined, + strokeWidth: undefined, + startMargin: undefined, + endMargin: undefined + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0740') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0740_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0750.ets new file mode 100644 index 00000000..728cb174 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0750.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. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0750 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State dividers: DividerStyleOptions[] = [{ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(2), + endMargin: LengthMetrics.vp(2) + }, {}]; + @State dividerIndex: number = 0; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider(this.dividers[this.dividerIndex]) + } + + build() { + Column({ space: 30 }) { + Button('changeDividerStyle') + .id("UIComponentPopupboxMenuStyleEnhancement0750_02") + .onClick(() => { + this.dividerIndex++; + if (this.dividerIndex > this.dividers.length) { + this.dividerIndex = 0; + } + }) + Button('ClickShowMenu-0750') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0750_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0770.ets new file mode 100644 index 00000000..267ec527 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0770.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0770 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(50), + endMargin: LengthMetrics.vp(50) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0770') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0770_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0780.ets new file mode 100644 index 00000000..3031f19f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0780.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0780 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + strokeWidth: LengthMetrics.vp(0), + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0780') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0780_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0790.ets new file mode 100644 index 00000000..dbe15c23 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0790.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0790 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Orange, + strokeWidth: LengthMetrics.vp(1.5), + startMargin: LengthMetrics.vp(-1.5), + endMargin: LengthMetrics.vp(-1.5) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0790') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0790_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0800.ets new file mode 100644 index 00000000..68f8f5dd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0800.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0800 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Orange, + strokeWidth: LengthMetrics.vp(10), + startMargin: LengthMetrics.vp(0), + endMargin: LengthMetrics.vp(0) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0800') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0800_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0810.ets new file mode 100644 index 00000000..8eaa595a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0810.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0810 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Pink, + strokeWidth: LengthMetrics.vp(1), + startMargin: LengthMetrics.vp(-10), + endMargin: LengthMetrics.vp(-10) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0810') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0810_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0820.ets new file mode 100644 index 00000000..132001eb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0820.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0820 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: $r('app.string.menu_divider_color'), + strokeWidth: LengthMetrics.percent(20), + startMargin: LengthMetrics.lpx(120), + endMargin: LengthMetrics.lpx(120) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0820') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0820_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0830.ets new file mode 100644 index 00000000..7ea813bc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0830.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0830 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: LengthMetrics.fp(3), + startMargin: LengthMetrics.vp(60), + endMargin: LengthMetrics.vp(60) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0830') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0830_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0840.ets new file mode 100644 index 00000000..9dc0ca89 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0840.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0840 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Green, + strokeWidth: LengthMetrics.lpx(3), + startMargin: LengthMetrics.percent(30), + endMargin: LengthMetrics.percent(30) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0840') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0840_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0850.ets new file mode 100644 index 00000000..72ae48b5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0850.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 { ColorMetrics, LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0850 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: ColorMetrics.rgba(57,47,73,0.2).color, + strokeWidth: LengthMetrics.px(3), + startMargin: LengthMetrics.fp(1.5), + endMargin: LengthMetrics.fp(1.5) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0850') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0850_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0860.ets new file mode 100644 index 00000000..dede0e40 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0860.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0860 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 0XFF3C4B344, + strokeWidth: LengthMetrics.px(3), + startMargin: LengthMetrics.px(10), + endMargin: LengthMetrics.px(10) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0860') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0860_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0870.ets new file mode 100644 index 00000000..db1ea0df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0870.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 } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0870 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: '#392F49', + strokeWidth: LengthMetrics.vp(60), + startMargin: LengthMetrics.vp(1), + endMargin: LengthMetrics.vp(1) + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0870') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0870_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0880.ets new file mode 100644 index 00000000..a134ab1b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0880.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0880 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + strokeWidth: LengthMetrics.vp(-10), + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0880') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0880_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0890.ets new file mode 100644 index 00000000..494b1d93 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0890.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0890 { + private iconStr: ResourceStr = $r("app.media.icon"); + private strokeWidth: LengthMetrics = { value: 20, unit: -8 }; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: Color.Red, + strokeWidth: this.strokeWidth, + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0890') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0890_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0900.ets new file mode 100644 index 00000000..c12d00e8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0900.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. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0900 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider(undefined) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0900') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0900_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0910.ets new file mode 100644 index 00000000..be835fe7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0910.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0910 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 'Color.Pink', + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0910') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0910_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0920.ets new file mode 100644 index 00000000..f6708324 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0920.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 { LengthMetrics } from '@ohos.arkui.node'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0920 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + .menuItemDivider({ + color: 'Pink', + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0920') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0920_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0930.ets new file mode 100644 index 00000000..ab62cc9d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0930.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 UIComponentPopupboxMenuStyleEnhancement0930 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", builder: (): void => this.SubMenu() }) + .id('UIComponentPopupboxMenuStyleEnhancement0930_02') + .width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项1", }) + .enabled(false) + .id('UIComponentPopupboxMenuStyleEnhancement0930_03') + MenuItem({ content: "二级菜单选项2", }) + MenuItem({ content: "二级菜单选项3", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0930') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0930_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0940.ets new file mode 100644 index 00000000..5a54d278 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0940.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 UIComponentPopupboxMenuStyleEnhancement0940 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", builder: (): void => this.SubMenu() }) + .id('UIComponentPopupboxMenuStyleEnhancement0940_02') + .width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + }.subMenuExpandingMode(SubMenuExpandingMode.EMBEDDED_EXPAND) + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项1", }) + MenuItem({ content: "二级菜单选项2", }) + MenuItem({ content: "二级菜单选项3", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0940') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0940_01") + .bindMenu(this.MyMenu, + { + }) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0950.ets new file mode 100644 index 00000000..aaf040ba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0950.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 UIComponentPopupboxMenuStyleEnhancement0950 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", builder: (): void => this.SubMenu() }) + .id('UIComponentPopupboxMenuStyleEnhancement0950_02') + .width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + }.subMenuExpandingMode(SubMenuExpandingMode.STACK_EXPAND) + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项1", }).id('UIComponentPopupboxMenuStyleEnhancement0950_03') + MenuItem({ content: "二级菜单选项2", }) + MenuItem({ content: "二级菜单选项3", }).id('UIComponentPopupboxMenuStyleEnhancement0950_04') + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0950') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0950_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0960.ets new file mode 100644 index 00000000..b572b8a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0960.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. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0960 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", builder: (): void => this.SubMenu() }) + .id('UIComponentPopupboxMenuStyleEnhancement0960_02') + .width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + }.subMenuExpandingMode(SubMenuExpandingMode.STACK_EXPAND) + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项1", }) + MenuItem({ content: "二级菜单选项2", }) + MenuItem({ content: "二级菜单选项3", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0960') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0960_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0970.ets new file mode 100644 index 00000000..20093946 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0970.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. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0970 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", builder: (): void => this.SubMenu() }) + .id('UIComponentPopupboxMenuStyleEnhancement0970_02') + .width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + }.subMenuExpandingMode(undefined) + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项1", }) + MenuItem({ content: "二级菜单选项2", }) + MenuItem({ content: "二级菜单选项3", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0970') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0970_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0980.ets new file mode 100644 index 00000000..94db6474 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0980.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. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement0980 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", builder: (): void => this.SubMenu() }) + .id('UIComponentPopupboxMenuStyleEnhancement0980_02') + .width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + }.subMenuExpandingMode(-1) + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项1", }) + MenuItem({ content: "二级菜单选项2", }) + MenuItem({ content: "二级菜单选项3", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0980') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0980_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0990.ets new file mode 100644 index 00000000..402fbd12 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0990.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 UIComponentPopupboxMenuStyleEnhancement0990 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", builder: (): void => this.SubMenu() }) + .id('UIComponentPopupboxMenuStyleEnhancement0990_02') + .width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + }.subMenuExpandingMode(SubMenuExpandingMode.SIDE_EXPAND) + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项1", }) + MenuItem({ content: "二级菜单选项2", }) + MenuItem({ content: "二级菜单选项3", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0990') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement0990_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1000.ets new file mode 100644 index 00000000..6826e0bb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1000.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 UIComponentPopupboxMenuStyleEnhancement1000 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", builder: (): void => this.SubMenu() }) + .id('UIComponentPopupboxMenuStyleEnhancement1000_02') + .width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + /* + SubMenuExpandingMode.EMBEDDED_EXPAND 无法正常弹出二级菜单 + */ + }.subMenuExpandingMode(SubMenuExpandingMode.SIDE_EXPAND /*SubMenuExpandingMode.EMBEDDED_EXPAND*/) + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项1", }) + MenuItem({ content: "二级菜单选项2", builder: (): void => this.SubMenu3() }) + .id('UIComponentPopupboxMenuStyleEnhancement1000_03') + MenuItem({ content: "二级菜单选项3", }) + }.subMenuExpandingMode(SubMenuExpandingMode.STACK_EXPAND) + } + + @Builder + SubMenu3() { + Menu() { + MenuItem({ content: "三级菜单选项1", }) + MenuItem({ content: "三级菜单选项2", }).id('UIComponentPopupboxMenuStyleEnhancement1000_04') + MenuItem({ content: "三级菜单选项3", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-1000') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement1000_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1030.ets new file mode 100644 index 00000000..2f52170a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1030.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 UIComponentPopupboxMenuStyleEnhancement1030 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", builder: (): void => this.SubMenu() }) + .id('UIComponentPopupboxMenuStyleEnhancement1030_02') + .width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + }.subMenuExpandingMode(SubMenuExpandingMode.EMBEDDED_EXPAND) + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项1", }) + MenuItem({ content: "二级菜单选项2", }) + MenuItem({ content: "二级菜单选项3", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-1030') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement1030_01") + .bindMenu(this.MyMenu, + { + }) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1060.ets new file mode 100644 index 00000000..d3bd3f65 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1060.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 window from '@ohos.window'; +import common from '@ohos.app.ability.common'; + +@Entry +@Component +struct UIComponentPopupboxMenuStyleEnhancement1060 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isFullScreen: boolean = false + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项1", }).width(240).height(60) + MenuItem({ content: "菜单选项2", }).width(240).height(60) + MenuItem({ content: "菜单选项3", }).width(240).height(60) + } + } + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Column({ space: 30 }) { + Button("横竖屏切换") + .id('UIComponentPopupboxMenuStyleEnhancement1060_02') + .onClick(() => { + this.horVerSwitch() + }) + Button('ClickShowMenu-1060') + .height(80) + .id("UIComponentPopupboxMenuStyleEnhancement1060_01") + .bindMenu(this.MyMenu, + { + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0010.ets new file mode 100644 index 00000000..43a205e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0010.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 UIComponentPopupboxMenuTouch0010 { + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).enabled(false) + MenuItem({ content: "菜单选项", }).enabled(false) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0010') + .height(80) + .id("UIComponentPopupboxMenuTouch0010_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0020.ets new file mode 100644 index 00000000..72d05af8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0020.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 UIComponentPopupboxMenuTouch0020 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State menuCloseMsg: string = ""; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }).id("UIComponentPopupboxMenuTouch0020_02") + } + .draggable(true) + .onDisAppear(() => { + this.menuCloseMsg = "Menu onDisAppear called !!!!!" + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0020') + .height(80) + .id("UIComponentPopupboxMenuTouch0020_01") + .bindMenu(this.MyMenu, + {}) + Text(this.menuCloseMsg).fontColor(Color.Red) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0030.ets new file mode 100644 index 00000000..0dd368e4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0030.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 UIComponentPopupboxMenuTouch0030 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State menuCloseMsg: string = ""; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + .onDisAppear(() => { + this.menuCloseMsg = "Menu onDisAppear called !!!!!" + }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0030') + .height(80) + .id("UIComponentPopupboxMenuTouch0030_01") + .bindMenu(this.MyMenu, + {}) + Text(this.menuCloseMsg).fontColor(Color.Red) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0040.ets new file mode 100644 index 00000000..0d2608b6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0040.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 UIComponentPopupboxMenuTouch0040 { + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).selected(true) + MenuItem({ content: "菜单选项", }).selected(false) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('ClickShowMenu-0040') + .height(80) + .id("UIComponentPopupboxMenuTouch0040_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0060.ets new file mode 100644 index 00000000..077e00df --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0060.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 UIComponentPopupboxMenuTouch0060 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).id("UIComponentPopupboxMenuTouch0060_02") + MenuItem({ content: "菜单选项", }).id("UIComponentPopupboxMenuTouch0060_03") + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0060') + .height(80) + .id("UIComponentPopupboxMenuTouch0060_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0070.ets new file mode 100644 index 00000000..1f428ee5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0070.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 UIComponentPopupboxMenuTouch0070 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", builder: (): void => this.SubMenu() }).id("UIComponentPopupboxMenuTouch0070_02") + MenuItem({ content: "菜单选项", }) + } + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项", }) + MenuItem({ content: "二级菜单选项", }).id("UIComponentPopupboxMenuTouch0070_03") + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0070') + .height(80) + .id("UIComponentPopupboxMenuTouch0070_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0090.ets new file mode 100644 index 00000000..e57fd73e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0090.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 UIComponentPopupboxMenuTouch0090 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State menuCloseMsg: string = ""; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", builder: (): void => this.SubMenu() }).id("UIComponentPopupboxMenuTouch0090_02") + MenuItem({ content: "菜单选项", }) + } + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项", }).id("UIComponentPopupboxMenuTouch0090_04") + MenuItem({ content: "二级菜单选项", }).id("UIComponentPopupboxMenuTouch0090_03") + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0090') + .height(80) + .id("UIComponentPopupboxMenuTouch0090_01") + .bindMenu(this.MyMenu, + {}) + Text(this.menuCloseMsg).fontColor(Color.Red) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0100.ets new file mode 100644 index 00000000..7e860d94 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0100.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 window from '@ohos.window'; +import common from '@ohos.app.ability.common'; + +@Entry +@Component +struct UIComponentPopupboxMenuTouch0100 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State isFullScreen: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }).id('UIComponentPopupboxMenuTouch0100_03') + } + } + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Column({ space: 200 }) { + Button("横竖屏切换") + .id('UIComponentPopupboxMenuTouch0100_02') + .onClick(() => { + this.horVerSwitch() + }) + + Button('ClickShowMenu-0100') + .height(80) + .id("UIComponentPopupboxMenuTouch0100_01") + .bindMenu(this.MyMenu, + {}) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0110.ets new file mode 100644 index 00000000..d9c170f8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0110.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 UIComponentPopupboxMenuTouch0110 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }).id("UIComponentPopupboxMenuTouch0110_02") + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0110') + .height(80) + .id("UIComponentPopupboxMenuTouch0110_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0120.ets new file mode 100644 index 00000000..dc5738a2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0120.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 UIComponentPopupboxMenuTouch0120 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).id("UIComponentPopupboxMenuTouch0120_02") + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0120') + .height(80) + .id("UIComponentPopupboxMenuTouch0120_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0130.ets new file mode 100644 index 00000000..f022a161 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0130.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 UIComponentPopupboxMenuTouch0130 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State testButtonBg:ResourceColor = Color.Gray; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }).id("UIComponentPopupboxMenuTouch0130_02") + } + } + + build() { + Column({ space: 30 }) { + Button('test-0130') + .id("UIComponentPopupboxMenuTouch0130_03") + .backgroundColor(this.testButtonBg) + .onTouch((event:TouchEvent)=>{ + this.testButtonBg = Color.Pink; + }) + + Button('ClickShowMenu-0130') + .height(80) + .id("UIComponentPopupboxMenuTouch0130_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0140.ets new file mode 100644 index 00000000..b647d178 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0140.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 UIComponentPopupboxMenuTouch0140 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", builder: (): void => this.SubMenu() }).id("UIComponentPopupboxMenuTouch0140_02") + MenuItem({ content: "菜单选项", }) + } + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项", }) + MenuItem({ content: "二级菜单选项", }).id("UIComponentPopupboxMenuTouch0140_03") + MenuItem({ content: "二级菜单选项", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0140') + .height(80) + .id("UIComponentPopupboxMenuTouch0140_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0150.ets new file mode 100644 index 00000000..fc404cd7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0150.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 UIComponentPopupboxMenuTouch0150 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }).id("UIComponentPopupboxMenuTouch0150_02") + }.padding(80) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0150') + .height(80) + .id("UIComponentPopupboxMenuTouch0150_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0160.ets new file mode 100644 index 00000000..7664036b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0160.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 UIComponentPopupboxMenuTouch0160 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }).id("UIComponentPopupboxMenuTouch0160_02") + }.margin({ left: 80, right: 80 }) + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0160') + .height(80) + .id("UIComponentPopupboxMenuTouch0160_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0170.ets new file mode 100644 index 00000000..f9d4d6cc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0170.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 UIComponentPopupboxMenuTouch0170 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }).id("UIComponentPopupboxMenuTouch0170_02") + }.width('70%') + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0170') + .height(80) + .id("UIComponentPopupboxMenuTouch0170_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0180.ets new file mode 100644 index 00000000..5baea0e5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0180.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 UIComponentPopupboxMenuTouch0180 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项33333333333", builder: (): void => this.SubMenu() }).id("UIComponentPopupboxMenuTouch0180_02") + MenuItem({ content: "菜单选项222", }) + } + } + + @Builder + SubMenu() { + Menu() { + MenuItem({ content: "二级菜单选项2333333333", }) + MenuItem({ content: "二级菜单选项3333333", }).id("UIComponentPopupboxMenuTouch0180_03") + MenuItem({ content: "二级菜单选项444", }) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0180') + .height(80) + .id("UIComponentPopupboxMenuTouch0180_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0190.ets new file mode 100644 index 00000000..92135cd5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0190.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 UIComponentPopupboxMenuTouch0190 { + private iconStr: ResourceStr = $r("app.media.icon") + @State menuItemHeight: number = -1; + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }).height(this.menuItemHeight) + MenuItem({ content: "菜单选项", }).height(this.menuItemHeight) + .id("UIComponentPopupboxMenuTouch0190_03") + } + } + + build() { + Column({ space: 30 }) { + Button("设置Item高度 90") + .id("UIComponentPopupboxMenuTouch0190_02") + .onClick(() => { + this.menuItemHeight = 90; + }) + Button('ClickShowMenu-0190') + .height(80) + .id("UIComponentPopupboxMenuTouch0190_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0010.ets new file mode 100644 index 00000000..280cd667 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0010.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 UIComponentPopupboxMenuUxconsistency0010 { + build() { + Column() { + Button('clickMenu-0010') + .id("UIComponentPopupboxMenuUxconsistency0010_01") + .bindMenu([ + { + value: 'Menu1', + enabled:true, + action: () => { + } + }, + { + value: 'Menu2', + enabled:true, + action: () => { + } + }, + ]) + } + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0020.ets new file mode 100644 index 00000000..d820614f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0020.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 UIComponentPopupboxMenuUxconsistency0020 { + private iconStr: ResourceStr = $r("app.media.icon") + build() { + Column() { + Button('clickMenu-0020') + .id("UIComponentPopupboxMenuUxconsistency0020_01") + .bindMenu([ + { + value: 'Menu1', + icon: this.iconStr, + enabled: false, + action: () => { + } + }, + { + value: 'Menu2', + icon: this.iconStr, + enabled: false, + action: () => { + } + }, + ]) + } + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0030.ets new file mode 100644 index 00000000..b24d5cb3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0030.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 UIComponentPopupboxMenuUxconsistency0030 { + build() { + Column() { + Button('clickMenu-0030') + .id("UIComponentPopupboxMenuUxconsistency0030_01") + .bindMenu([ + { + value: '百度', + action: () => { + } + }, + { + value: 'Menu2', + action: () => { + } + }, + ]) + } + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0040.ets new file mode 100644 index 00000000..b9f01d8e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0040.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 UIComponentPopupboxMenuUxconsistency0040 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-0040') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuUxconsistency0040_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0050.ets new file mode 100644 index 00000000..1504a6f7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0050.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 UIComponentPopupboxMenuUxconsistency0050 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0050') + .height(80) + .backgroundColor(Color.Gray) + .id("UIComponentPopupboxMenuUxconsistency0050_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0070.ets new file mode 100644 index 00000000..4da96415 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0070.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 UIComponentPopupboxMenuUxconsistency0070 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Text('longPressShowMenu-0070') + .height(80) + .backgroundColor(Color.Gray) + .textAlign(TextAlign.Center) + .id("UIComponentPopupboxMenuUxconsistency0070_01") + .bindContextMenu(this.MyMenu, ResponseType.RightClick, + { + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0080.ets new file mode 100644 index 00000000..0705dfb6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0080.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 UIComponentPopupboxMenuUxconsistency0080 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column() { + Button('preview-builder-0080') + .width(200) + .id("UIComponentPopupboxMenuUxconsistency0080_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + preview: MenuPreviewMode.NONE + }) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0090.ets new file mode 100644 index 00000000..7aab37eb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0090.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 UIComponentPopupboxMenuUxconsistency0090 { + private iconStr: ResourceStr = $r("app.media.icon") + @State dragMsg: string = '' + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Text('preview-image-0090') + .id("UIComponentPopupboxMenuUxconsistency0090_01") + .width(200) + .height(100) + .draggable(true) + .onDragStart(() => { + this.dragMsg = '预览图可拖拽' + }) + .textAlign(TextAlign.Center) + .margin(100) + .fontSize(30) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { preview: MenuPreviewMode.IMAGE, + previewAnimationOptions: { scale: [0.8, 1.0] }, + placement: Placement.Top + }) + .backgroundColor("#ff3df2f5") + + Text(this.dragMsg).fontSize(20).margin(50) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0100.ets new file mode 100644 index 00000000..6e839334 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0100.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 { SymbolGlyphModifier } from '@ohos.arkui.modifier'; + +@Entry +@Component +struct UIComponentPopupboxMenuUxconsistency0100 { + @State startIconModifier: SymbolGlyphModifier = new SymbolGlyphModifier($r('sys.symbol.ohos_mic')).fontSize('24vp'); + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + @Builder + MyPreview() { + Menu() { + MenuItem({ symbolStartIcon: this.startIconModifier, content: "预览菜单选项1" }) + MenuItem({ symbolStartIcon: this.startIconModifier, content: "预览菜单选项2" }) + MenuItem({ symbolStartIcon: this.startIconModifier, content: "预览菜单选项3" }) + } + } + + build() { + Column() { + Button('preview-builder-0100') + .width(200) + .id("UIComponentPopupboxMenuUxconsistency0100_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + preview: this.MyPreview() + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0110.ets new file mode 100644 index 00000000..9c9f5534 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0110.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 UIComponentPopupboxMenuUxconsistency0110 { + private iconStr: ResourceStr = $r("app.media.icon") + @State menuPopup: string[] = []; + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + @Builder + MyMenu2() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "预览菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "预览菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "预览菜单选项" }) + }.onAppear(()=>{ + this.menuPopup.push("点击预览图菜单弹出"); + }) + } + + @Builder + MyPreview() { + Column() { + Button("可拖拽preview") + .fontSize(50) + .bindMenu(this.MyMenu2()) + .draggable(true) + .hitTestBehavior(HitTestMode.Block) + .onDragStart(() => { + }) + .id("UIComponentPopupboxMenuUxconsistency0110_02") + }.onAppear(()=>{ + this.menuPopup.push("自定义预览图弹出"); + }) + } + + build() { + Column({ space: 50 }) { + Button('preview-builder-0110') + .width(200) + .id("UIComponentPopupboxMenuUxconsistency0110_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + preview: this.MyPreview() + }) + Text('' + this.menuPopup).fontSize(20).margin(50) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0120.ets new file mode 100644 index 00000000..091488b0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0120.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 { LengthMetrics } from '@ohos.arkui.node' + +@Entry +@Component +struct UIComponentPopupboxMenuUxconsistency0120 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项1" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项2" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项3" }) + } + } + + @Builder + MyPreview() { + Column() { + Text("Menu可拖拽preview文本-0120") + .fontSize(50) + .selection(0, 100) + .draggable(true) + .onDragStart(() => { + }) + .id("UIComponentPopupboxMenuUxconsistency0120_02") + .hitTestBehavior(HitTestMode.Block) + .copyOption(CopyOptions.InApp) + } + } + + build() { + Flex({ space: { main: LengthMetrics.vp(20) }, + justifyContent: FlexAlign.Center, + alignItems: ItemAlign.Center, + direction: FlexDirection.Column, + }) { + Button('ClickShowMenu-0120') + .height(80) + .id("UIComponentPopupboxMenuUxconsistency0120_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, { + enableArrow: true, + preview: this.MyPreview() + }); + TextArea().width('100%').height(80).id("UIComponentPopupboxMenuUxconsistency0120_03") + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0130.ets new file mode 100644 index 00000000..444a19f1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0130.ets @@ -0,0 +1,129 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import uniformTypeDescriptor from '@ohos.data.uniformTypeDescriptor' +import unifiedDataChannel from '@ohos.data.unifiedDataChannel' + +@Entry +@Component +struct UIComponentPopupboxMenuUxconsistency0130 { + @State uri: string = "" + @State AblockArr: string[] = [] + @State BblockArr: string[] = [] + @State AVisible: Visibility = Visibility.Visible + @State dragSuccess: Boolean = false + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + @Builder + MyPreview() { + Column() { + Image($r('app.media.icon')) + .width(100) + .height(100) + .draggable(true) + .onDragStart(() => { + }) + .backgroundColor("#ff3df2f5") + .id("UIComponentPopupboxMenuUxconsistency0130_03") + } + } + + build() { + Column() { + Flex({ direction: FlexDirection.Row, alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceAround }) { + Text("Preive拖拽测试") + .height(80) + .width(200) + .textAlign(TextAlign.Center) + .fontColor(Color.Pink) + .id("UIComponentPopupboxMenuUxconsistency0130_01") + .backgroundColor(Color.Blue) + .draggable(true) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + preview: this.MyPreview(), + previewAnimationOptions: { scale: [0.8, 1.0] }, + placement: Placement.Top + }) + .onDragStart(() => { + }) + .onDragEnd((event: DragEvent) => { + let ret = event.getResult(); + if (ret == 0) { + this.AVisible = Visibility.Hidden; + } else { + this.AVisible = Visibility.Visible; + } + }) + } + .margin({ bottom: 20 }) + + Row() { + Column() { + Text('可释放区域') + .fontSize('15dp') + .height('10%') + List() { + ForEach(this.BblockArr, (item: string, index) => { + ListItem() { + Image(item) + .width(100) + .height(100) + .border({ width: 1 }) + } + .margin({ left: 30, top: 30 }) + }, (item: string) => item) + } + .id("UIComponentPopupboxMenuUxconsistency0130_02") + .border({ width: 1 }) + .height('90%') + .width('100%') + .allowDrop([uniformTypeDescriptor.UniformDataType.IMAGE]) + .onDrop((event?: DragEvent, extraParams?: string) => { + console.log("enter onDrop") + let dragData: UnifiedData = (event as DragEvent).getData() as UnifiedData; + if (dragData != undefined) { + let arr: Array = dragData.getRecords(); + if (arr.length > 0) { + let image = arr[0] as unifiedDataChannel.Image; + this.uri = image.imageUri; + this.BblockArr.splice(JSON.parse(extraParams as string).insertIndex, 0, this.uri); + } else { + console.log(`dragData arr is null`) + } + } else { + console.log(`dragData is undefined`) + } + console.log("ondrop udmf data"); + this.dragSuccess = true + }) + } + .height("50%") + .width("45%") + .border({ width: 1 }) + .margin({ left: 12 }) + } + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0140.ets new file mode 100644 index 00000000..ee43b800 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0140.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 UIComponentPopupboxMenuUxconsistency0140 { + private iconStr: ResourceStr = $r("app.media.icon") + @State dragMsg: string = '' + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + build() { + Column({ space: 50 }) { + Text('preview-image-0140') + .id("UIComponentPopupboxMenuUxconsistency0140_01") + .width(200) + .height(100) + .draggable(true) + .onDragStart(() => { + this.dragMsg = '预览图可拖拽' + }) + .textAlign(TextAlign.Center) + .margin(100) + .fontSize(30) + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { preview: MenuPreviewMode.IMAGE, + previewAnimationOptions: { scale: [0.8, 1.0] }, + placement: Placement.Top + }) + .backgroundColor("#ff3df2f5") + + Text(this.dragMsg).fontSize(20).margin(50) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0150.ets new file mode 100644 index 00000000..2b6c7af2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0150.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 UIComponentPopupboxMenuUxconsistency0150 { + private iconStr: ResourceStr = $r("app.media.icon") + @State dragMsg: string = '' + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + @Builder + MyPreview() { + Column() { + Text("可拖拽preview") + .fontSize(50) + .draggable(true) + .hitTestBehavior(HitTestMode.Block) + .onDragStart(() => { + this.dragMsg = '自定义预览可拖拽' + }) + .copyOption(CopyOptions.InApp) + .backgroundColor("#ff3df2f5") + .id("UIComponentPopupboxMenuUxconsistency0150_02") + } + } + + build() { + Column() { + Button('preview-builder-0150') + .width(200) + .id("UIComponentPopupboxMenuUxconsistency0150_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + preview: this.MyPreview(), + placement: Placement.Top + }) + Text(this.dragMsg).fontSize(20).margin(50) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0160.ets new file mode 100644 index 00000000..ac03aa65 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0160.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 UIComponentPopupboxMenuUxconsistency0160 { + private iconStr: ResourceStr = $r("app.media.icon") + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + @Builder + MyPreview() { + Column() { + Text("可拖拽preview") + .fontSize(50) + .selection(0, 100) + .draggable(true) + .hitTestBehavior(HitTestMode.Block) + .onDragStart(() => { + }) + .id("UIComponentPopupboxMenuUxconsistency0160_02") + .copyOption(CopyOptions.InApp) + } + } + + build() { + Column() { + Button('preview-builder-0160') + .width(200) + .id("UIComponentPopupboxMenuUxconsistency0160_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + preview: this.MyPreview() + }) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0170.ets new file mode 100644 index 00000000..b8b85fe6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0170.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 UIComponentPopupboxMenuUxconsistency0170 { + private iconStr: ResourceStr = $r("app.media.icon") + @State dragMsg: string = '' + + @Builder + MyMenu() { + Menu() { + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + MenuItem({ startIcon: this.iconStr, content: "菜单选项" }) + } + } + + @Builder + MyPreview() { + Column() { + Text("可拖拽preview") + .fontSize(50) + .draggable(true) + .hitTestBehavior(HitTestMode.Block) + .onDragStart(() => { + this.dragMsg = '自定义预览可拖拽' + }) + .backgroundColor("#ff3df2f5") + .id("UIComponentPopupboxMenuUxconsistency0170_02") + } + } + + build() { + Column() { + Button('preview-builder-0170') + .width(200) + .id("UIComponentPopupboxMenuUxconsistency0170_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + preview: this.MyPreview(), + placement: Placement.Top + }) + Text(this.dragMsg).fontSize(20).margin(50) + }.width('100%').height('100%').justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0180.ets new file mode 100644 index 00000000..984f7ed6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0180.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 window from '@ohos.window'; +import common from '@ohos.app.ability.common'; + +@Entry +@Component +struct UIComponentPopupboxMenuUxconsistency0180 { + + @State isFullScreen: boolean = false + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + @Builder + MyPreview() { + Column() { + Text("可拖拽preview") + .fontSize(20) + .draggable(true) + .onDragStart(() => { + }) + .backgroundColor("#ff3df2f5") + .id("UIComponentPopupboxMenuUxconsistency0180_03") + } + } + + horVerSwitch() { + let context = getContext(this) as common.UIAbilityContext; + window.getLastWindow(context).then((lastWindow) => { + lastWindow.setPreferredOrientation(this.isFullScreen ? window.Orientation.PORTRAIT : window.Orientation.LANDSCAPE) + this.isFullScreen = !this.isFullScreen + }) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('ClickShowMenu-0180') + .height(80) + .id("UIComponentPopupboxMenuUxconsistency0180_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + preview: this.MyPreview(), + placement: Placement.Top + }) + Button("横竖屏切换") + .id('UIComponentPopupboxMenuUxconsistency0180_02') + .onClick(() => { + this.horVerSwitch() + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0900.ets new file mode 100644 index 00000000..49c957b7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0900.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 UIComponentPopupboxMenuWidthAndPlacementConformux0900 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0900') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux0900_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0910.ets new file mode 100644 index 00000000..cddd9335 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0910.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 UIComponentPopupboxMenuWidthAndPlacementConformux0910 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0910') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux0910_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0920.ets new file mode 100644 index 00000000..ae0d9267 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0920.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 UIComponentPopupboxMenuWidthAndPlacementConformux0920 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0920') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux0920_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0930.ets new file mode 100644 index 00000000..c5b6d836 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0930.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 UIComponentPopupboxMenuWidthAndPlacementConformux0930 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0930') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux0930_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0940.ets new file mode 100644 index 00000000..f38c553a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0940.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 UIComponentPopupboxMenuWidthAndPlacementConformux0940 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0940') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux0940_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0950.ets new file mode 100644 index 00000000..1d3611e5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0950.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 UIComponentPopupboxMenuWidthAndPlacementConformux0950 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-0950') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux0950_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0960.ets new file mode 100644 index 00000000..952e6f47 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0960.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 UIComponentPopupboxMenuWidthAndPlacementConformux0960 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0960') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux0960_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0970.ets new file mode 100644 index 00000000..b36dba45 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0970.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 UIComponentPopupboxMenuWidthAndPlacementConformux0970 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0970') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux0970_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0980.ets new file mode 100644 index 00000000..bbbdef55 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0980.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 UIComponentPopupboxMenuWidthAndPlacementConformux0980 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0980') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux0980_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0990.ets new file mode 100644 index 00000000..a2e9d94c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0990.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 UIComponentPopupboxMenuWidthAndPlacementConformux0990 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-0990') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux0990_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1000.ets new file mode 100644 index 00000000..df009b5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1000.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 UIComponentPopupboxMenuWidthAndPlacementConformux1000 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1000') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1000_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1010.ets new file mode 100644 index 00000000..136c7c9e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1010.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 UIComponentPopupboxMenuWidthAndPlacementConformux1010 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1010') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1010_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Top + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1020.ets new file mode 100644 index 00000000..e004469f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1020.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 UIComponentPopupboxMenuWidthAndPlacementConformux1020 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1020') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1020_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1030.ets new file mode 100644 index 00000000..29fa4daa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1030.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 UIComponentPopupboxMenuWidthAndPlacementConformux1030 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1030') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1030_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1040.ets new file mode 100644 index 00000000..598a8f0e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1040.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 UIComponentPopupboxMenuWidthAndPlacementConformux1040 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1040') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1040_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1050.ets new file mode 100644 index 00000000..6fff9522 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1050.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 UIComponentPopupboxMenuWidthAndPlacementConformux1050 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1050') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1050_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1060.ets new file mode 100644 index 00000000..6a8b9218 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1060.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 UIComponentPopupboxMenuWidthAndPlacementConformux1060 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1060') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1060_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1070.ets new file mode 100644 index 00000000..00626b91 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1070.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 UIComponentPopupboxMenuWidthAndPlacementConformux1070 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1070') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1070_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1080.ets new file mode 100644 index 00000000..91eb00fa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1080.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 UIComponentPopupboxMenuWidthAndPlacementConformux1080 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1080') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1080_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopRight + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1090.ets new file mode 100644 index 00000000..f629ded3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1090.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 UIComponentPopupboxMenuWidthAndPlacementConformux1090 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1090') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1090_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.TopRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1100.ets new file mode 100644 index 00000000..87691900 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1100.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 UIComponentPopupboxMenuWidthAndPlacementConformux1100 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1100') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1100_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1110.ets new file mode 100644 index 00000000..9d700717 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1110.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 UIComponentPopupboxMenuWidthAndPlacementConformux1110 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1110') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1110_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1120.ets new file mode 100644 index 00000000..2c45456a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1120.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 UIComponentPopupboxMenuWidthAndPlacementConformux1120 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1120') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1120_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1130.ets new file mode 100644 index 00000000..02afa316 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1130.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 UIComponentPopupboxMenuWidthAndPlacementConformux1130 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1130') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1130_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1140.ets new file mode 100644 index 00000000..ae983914 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1140.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 UIComponentPopupboxMenuWidthAndPlacementConformux1140 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1140') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1140_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1150.ets new file mode 100644 index 00000000..7413b755 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1150.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 UIComponentPopupboxMenuWidthAndPlacementConformux1150 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1150') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1150_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1160.ets new file mode 100644 index 00000000..29c2835e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1160.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 UIComponentPopupboxMenuWidthAndPlacementConformux1160 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1160') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1160_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1170.ets new file mode 100644 index 00000000..b1a2435b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1170.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 UIComponentPopupboxMenuWidthAndPlacementConformux1170 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1170') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1170_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1180.ets new file mode 100644 index 00000000..4f7c2928 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1180.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 UIComponentPopupboxMenuWidthAndPlacementConformux1180 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1180') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1180_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1190.ets new file mode 100644 index 00000000..fa59a3d3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1190.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 UIComponentPopupboxMenuWidthAndPlacementConformux1190 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1190') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1190_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1200.ets new file mode 100644 index 00000000..4857ec4e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1200.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 UIComponentPopupboxMenuWidthAndPlacementConformux1200 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1200') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1200_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1210.ets new file mode 100644 index 00000000..e6cb1d03 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1210.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 UIComponentPopupboxMenuWidthAndPlacementConformux1210 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1210') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1210_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1220.ets new file mode 100644 index 00000000..aac17012 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1220.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 UIComponentPopupboxMenuWidthAndPlacementConformux1220 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1220') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1220_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1230.ets new file mode 100644 index 00000000..5e9cf90d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1230.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 UIComponentPopupboxMenuWidthAndPlacementConformux1230 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1230') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1230_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1240.ets new file mode 100644 index 00000000..dcd23ab4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1240.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 UIComponentPopupboxMenuWidthAndPlacementConformux1240 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1240') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1240_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1250.ets new file mode 100644 index 00000000..848986f9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1250.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 UIComponentPopupboxMenuWidthAndPlacementConformux1250 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1250') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1250_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1260.ets new file mode 100644 index 00000000..37a2e5ed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1260.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 UIComponentPopupboxMenuWidthAndPlacementConformux1260 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1260') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1260_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1270.ets new file mode 100644 index 00000000..7b6f60e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1270.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 UIComponentPopupboxMenuWidthAndPlacementConformux1270 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1270') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1270_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1280.ets new file mode 100644 index 00000000..0fe5c267 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1280.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 UIComponentPopupboxMenuWidthAndPlacementConformux1280 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1280') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1280_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1290.ets new file mode 100644 index 00000000..a9cb01d6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1290.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 UIComponentPopupboxMenuWidthAndPlacementConformux1290 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1290') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1290_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1300.ets new file mode 100644 index 00000000..93834a73 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1300.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 UIComponentPopupboxMenuWidthAndPlacementConformux1300 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1300') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1300_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1310.ets new file mode 100644 index 00000000..437012ed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1310.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 UIComponentPopupboxMenuWidthAndPlacementConformux1310 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1310') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1310_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1320.ets new file mode 100644 index 00000000..376620e9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1320.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 UIComponentPopupboxMenuWidthAndPlacementConformux1320 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1320') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1320_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1330.ets new file mode 100644 index 00000000..8a4930cc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1330.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 UIComponentPopupboxMenuWidthAndPlacementConformux1330 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1330') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1330_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Left + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1340.ets new file mode 100644 index 00000000..870f4990 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1340.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 UIComponentPopupboxMenuWidthAndPlacementConformux1340 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1340') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1340_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1350.ets new file mode 100644 index 00000000..f6d20c5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1350.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 UIComponentPopupboxMenuWidthAndPlacementConformux1350 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1350') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1350_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1360.ets new file mode 100644 index 00000000..dfdaf864 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1360.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 UIComponentPopupboxMenuWidthAndPlacementConformux1360 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1360') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1360_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1370.ets new file mode 100644 index 00000000..e6f01cbc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1370.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 UIComponentPopupboxMenuWidthAndPlacementConformux1370 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1370') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1370_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Right + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1380.ets new file mode 100644 index 00000000..61f497e7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1380.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 UIComponentPopupboxMenuWidthAndPlacementConformux1380 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1380') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1380_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Bottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1390.ets new file mode 100644 index 00000000..cba261b8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1390.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 UIComponentPopupboxMenuWidthAndPlacementConformux1390 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1390') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1390_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Bottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1400.ets new file mode 100644 index 00000000..3861f8b6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1400.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 UIComponentPopupboxMenuWidthAndPlacementConformux1400 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1400') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1400_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Bottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1410.ets new file mode 100644 index 00000000..e4526094 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1410.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 UIComponentPopupboxMenuWidthAndPlacementConformux1410 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1410') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1410_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.Bottom + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1420.ets new file mode 100644 index 00000000..1254b945 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1420.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 UIComponentPopupboxMenuWidthAndPlacementConformux1420 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1420') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1420_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1430.ets new file mode 100644 index 00000000..1886dd3e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1430.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 UIComponentPopupboxMenuWidthAndPlacementConformux1430 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1430') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1430_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1440.ets new file mode 100644 index 00000000..2ae5236b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1440.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 UIComponentPopupboxMenuWidthAndPlacementConformux1440 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1440') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1440_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1450.ets new file mode 100644 index 00000000..df9239ee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1450.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 UIComponentPopupboxMenuWidthAndPlacementConformux1450 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1450') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1450_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomLeft + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1460.ets new file mode 100644 index 00000000..a35a73ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1460.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 UIComponentPopupboxMenuWidthAndPlacementConformux1460 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1460') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1460_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1470.ets new file mode 100644 index 00000000..a04ba53f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1470.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 UIComponentPopupboxMenuWidthAndPlacementConformux1470 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1470') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1470_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1480.ets new file mode 100644 index 00000000..aad4859e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1480.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 UIComponentPopupboxMenuWidthAndPlacementConformux1480 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1480') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1480_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1490.ets new file mode 100644 index 00000000..14f6d619 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1490.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 UIComponentPopupboxMenuWidthAndPlacementConformux1490 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1490') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1490_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.BottomRight + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1500.ets new file mode 100644 index 00000000..f306e035 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1500.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 UIComponentPopupboxMenuWidthAndPlacementConformux1500 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1500') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1500_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1510.ets new file mode 100644 index 00000000..c11714c1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1510.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 UIComponentPopupboxMenuWidthAndPlacementConformux1510 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1510') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1510_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1520.ets new file mode 100644 index 00000000..20cb62b0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1520.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 UIComponentPopupboxMenuWidthAndPlacementConformux1520 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1520') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1520_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1530.ets new file mode 100644 index 00000000..5eaafdcd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1530.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 UIComponentPopupboxMenuWidthAndPlacementConformux1530 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1530') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1530_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1540.ets new file mode 100644 index 00000000..0ca94202 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1540.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 UIComponentPopupboxMenuWidthAndPlacementConformux1540 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1540') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1540_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1550.ets new file mode 100644 index 00000000..0733e137 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1550.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 UIComponentPopupboxMenuWidthAndPlacementConformux1550 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1550') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1550_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1560.ets new file mode 100644 index 00000000..7688b805 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1560.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 UIComponentPopupboxMenuWidthAndPlacementConformux1560 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1560') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1560_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1570.ets new file mode 100644 index 00000000..6f406dda --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1570.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 UIComponentPopupboxMenuWidthAndPlacementConformux1570 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1570') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1570_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.LeftBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1580.ets new file mode 100644 index 00000000..a73134bf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1580.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 UIComponentPopupboxMenuWidthAndPlacementConformux1580 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1580') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1580_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1590.ets new file mode 100644 index 00000000..a5640368 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1590.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 UIComponentPopupboxMenuWidthAndPlacementConformux1590 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1590') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1590_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1600.ets new file mode 100644 index 00000000..bb9efc4c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1600.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 UIComponentPopupboxMenuWidthAndPlacementConformux1600 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1600') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1600_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1610.ets new file mode 100644 index 00000000..7f58e879 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1610.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 UIComponentPopupboxMenuWidthAndPlacementConformux1610 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1610') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1610_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1620.ets new file mode 100644 index 00000000..fbd9dd0f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1620.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 UIComponentPopupboxMenuWidthAndPlacementConformux1620 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1620') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1620_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1630.ets new file mode 100644 index 00000000..1fccdf61 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1630.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 UIComponentPopupboxMenuWidthAndPlacementConformux1630 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1630') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1630_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1640.ets new file mode 100644 index 00000000..cc16474e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1640.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 UIComponentPopupboxMenuWidthAndPlacementConformux1640 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1640') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1640_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1650.ets new file mode 100644 index 00000000..073a56a8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1650.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 UIComponentPopupboxMenuWidthAndPlacementConformux1650 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1650') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1650_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightBottom + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1660.ets new file mode 100644 index 00000000..3cfeed6a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1660.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 UIComponentPopupboxMenuWidthAndPlacementConformux1660 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(100) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1660') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1660_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1670.ets new file mode 100644 index 00000000..9baabc68 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1670.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 UIComponentPopupboxMenuWidthAndPlacementConformux1670 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(48) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1670') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1670_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1680.ets new file mode 100644 index 00000000..986b0673 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1680.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 UIComponentPopupboxMenuWidthAndPlacementConformux1680 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width(64) + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Start }) { + Button('longPressShowMenu-1680') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1680_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1690.ets new file mode 100644 index 00000000..27a28a53 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1690.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 UIComponentPopupboxMenuWidthAndPlacementConformux1690 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + } + } + + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }) { + Button('longPressShowMenu-1690') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1690_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1700.ets new file mode 100644 index 00000000..9ea8f536 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1700.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 UIComponentPopupboxMenuWidthAndPlacementConformux1700 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width('20%').height('50%') + } + + build() { + Column() { + Row().width('100%').height('66%') + Button('longPressShowMenu-1700') + .height(80) + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1700_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1710.ets new file mode 100644 index 00000000..9410a5cc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1710.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 UIComponentPopupboxMenuWidthAndPlacementConformux1710 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + Menu() { + MenuItem({ content: "菜单选项", }) + MenuItem({ content: "菜单选项", }) + }.width('20%').height('70%') + } + + build() { + Column() { + Row().width('100%').height('80%') + Button('longPressShowMenu-1710') + .width(64) + .id("UIComponentPopupboxMenuWidthAndPlacementConformux1710_01") + .bindContextMenu(this.MyMenu, ResponseType.LongPress, + { + enableArrow: true, + placement: Placement.RightTop + }) + } + .height('100%') + .width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0030.ets new file mode 100644 index 00000000..38bb2bee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0030.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 { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0030 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + shadow:ShadowStyle.OUTER_DEFAULT_XS + }) + + build() { + Row() { + Stack() { + Column() { + Button("LoadingDialog") + .width(96) + .height(40) + .id('UIComponentPopupboxSpecificationsShadow0030_001') + .onClick(() => { + this.dialogControllerProgress.open() + }) + }.margin({ bottom: 300 }) + }.align(Alignment.Bottom) + .width('100%').height('100%') + } + .backgroundImageSize({ width: '100%', height: '100%' }) + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0040.ets new file mode 100644 index 00000000..e4f32ea1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0040.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 { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0040 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + shadow: ShadowStyle.OUTER_FLOATING_MD + }) + + build() { + Row() { + Stack() { + Column() { + Button("LoadingDialog") + .width(96) + .height(40) + .id('UIComponentPopupboxSpecificationsShadow0040_001') + .onClick(() => { + this.dialogControllerProgress.open() + }) + }.margin({ bottom: 300 }) + }.align(Alignment.Bottom) + .width('100%').height('100%') + } + .backgroundImageSize({ width: '100%', height: '100%' }) + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0050.ets new file mode 100644 index 00000000..6e38fc1e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0050.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 { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0050 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + shadow: ShadowStyle.OUTER_FLOATING_SM + }) + + build() { + Row() { + Stack() { + Column() { + Button("LoadingDialog") + .width(96) + .height(40) + .id('UIComponentPopupboxSpecificationsShadow0050_001') + .onClick(() => { + this.dialogControllerProgress.open() + }) + }.margin({ bottom: 300 }) + }.align(Alignment.Bottom) + .width('100%').height('100%') + } + .backgroundImageSize({ width: '100%', height: '100%' }) + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0060.ets new file mode 100644 index 00000000..38f8879a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0060.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 { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0060 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + shadow:{ + radius: $r('app.string.loadingDialogRadius'), + type: ShadowType.COLOR, + color: Color.Black, + offsetX: $r('app.string.loadingDialogRadius'), + offsetY: $r('app.string.loadingDialogRadius'), + fill: true + } + }) + + build() { + Row() { + Stack() { + Column() { + Button("LoadingDialog") + .width(96) + .height(40) + .id('UIComponentPopupboxSpecificationsShadow0060_001') + .onClick(() => { + this.dialogControllerProgress.open() + }) + }.margin({ bottom: 300 }) + }.align(Alignment.Bottom) + .width('100%').height('100%') + } + .backgroundImageSize({ width: '100%', height: '100%' }) + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0070.ets new file mode 100644 index 00000000..843de57f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0070.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 { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0070 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + shadow:{ + radius: $r('app.integer.integer100'), + type: ShadowType.COLOR, + color: ColoringStrategy.AVERAGE, + offsetX: $r('app.integer.integer30'), + offsetY: $r('app.integer.integer30'), + fill: false + } + }) + + build() { + Row() { + Stack() { + Column() { + Button("LoadingDialog") + .width(96) + .height(40) + .id('UIComponentPopupboxSpecificationsShadow0070_001') + .onClick(() => { + this.dialogControllerProgress.open() + }) + }.margin({ bottom: 300 }) + }.align(Alignment.Bottom) + .width('100%').height('100%') + } + .backgroundImageSize({ width: '100%', height: '100%' }) + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0080.ets new file mode 100644 index 00000000..3c5993b8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0080.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 { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0080 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + shadow:{ + radius: $r('app.integer.integer100'), + type: ShadowType.COLOR, + color: ColoringStrategy.INVERT, + offsetX: $r('app.integer.integer100'), + offsetY: $r('app.integer.integer100'), + fill: false + } + }) + + build() { + Row() { + Stack() { + Column() { + Button("LoadingDialog") + .width(96) + .height(40) + .id('UIComponentPopupboxSpecificationsShadow0080_001') + .onClick(() => { + this.dialogControllerProgress.open() + }) + }.margin({ bottom: 300 }) + }.align(Alignment.Bottom) + .width('100%').height('100%') + } + .backgroundImageSize({ width: '100%', height: '100%' }) + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0090.ets new file mode 100644 index 00000000..cdec8ec2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0090.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 { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0090 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + shadow:{ + radius: $r('app.integer.integer100'), + type: ShadowType.COLOR, + color: ColoringStrategy.PRIMARY, + offsetX: $r('app.integer.integer30'), + offsetY: $r('app.integer.integer30'), + fill: false + } + }) + + build() { + Row() { + Stack() { + Column() { + Button("LoadingDialog") + .width(96) + .height(40) + .id('UIComponentPopupboxSpecificationsShadow0090_001') + .onClick(() => { + this.dialogControllerProgress.open() + }) + }.margin({ bottom: 300 }) + }.align(Alignment.Bottom) + .width('100%').height('100%') + } + .backgroundImageSize({ width: '100%', height: '100%' }) + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0110.ets new file mode 100644 index 00000000..2de62570 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0110.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 { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0110 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + shadow:{ + radius: $r('app.integer.integer30'), + type: ShadowType.COLOR, + color: $r('app.color.color3'), + offsetX: $r('app.integer.integer100'), + offsetY: $r('app.integer.integer100'), + fill: false + } + }) + + build() { + Row() { + Stack() { + Column() { + Button("LoadingDialog") + .width(96) + .height(40) + .id('UIComponentPopupboxSpecificationsShadow0110_001') + .onClick(() => { + this.dialogControllerProgress.open() + }) + }.margin({ bottom: 300 }) + }.align(Alignment.Bottom) + .width('100%').height('100%') + } + .backgroundImageSize({ width: '100%', height: '100%' }) + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0820.ets new file mode 100644 index 00000000..a184892e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0820.ets @@ -0,0 +1,39 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0820 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + shadow: undefined + }) + + build() { + Column() { + Button("LoadingDialog") + .width(200) + .height(80) + .id('UIComponentPopupboxSpecificationsShadow0820_01') + .onClick(() => { + this.dialogControllerProgress.open() + }) + }.margin({ bottom: 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/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0890.ets new file mode 100644 index 00000000..db760fc8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0890.ets @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0890 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + }) + + build() { + Column() { + Button("LoadingDialog") + .width(200) + .height(80) + .id('UIComponentPopupboxSpecificationsShadow0890_01') + .onClick(() => { + this.dialogControllerProgress.open() + }) + } + .width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0960.ets new file mode 100644 index 00000000..d0f139ef --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0960.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 { LoadingDialog } from '@ohos.arkui.advanced.Dialog' + +@Entry +@Component +struct UIComponentPopupboxSpecificationsShadow0890 { + dialogControllerProgress: CustomDialogController = new CustomDialogController({ + builder: LoadingDialog({ + content: '文本文本文本文本文本...', + }), + shadow: ShadowStyle.OUTER_DEFAULT_MD + }) + + build() { + Column() { + Button("LoadingDialog") + .width(200) + .height(80) + .id('UIComponentPopupboxSpecificationsShadow0960_01') + .onClick(() => { + this.dialogControllerProgress.open() + }) + } + .width('100%').height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0030.ets new file mode 100644 index 00000000..a575e6ee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0030.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 UIComponentPopupwantUIExtensionComponent0030 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentAbility0030", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0040.ets new file mode 100644 index 00000000..6948b53a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0040.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 UIComponentPopupwantUIExtensionComponent0040 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentAbility0040", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0050.ets new file mode 100644 index 00000000..4275436b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0050.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 UIComponentPopupwantUIExtensionComponent0050 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentAbility0050", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0060.ets new file mode 100644 index 00000000..ccad41cf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0060.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 UIComponentPopupwantUIExtensionComponent0060 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentAbility0060", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0070.ets new file mode 100644 index 00000000..3934bccf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0070.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 UIComponentPopupwantUIExtensionComponent0070 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentAbility0070", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0080.ets new file mode 100644 index 00000000..08b88c7b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0080.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 UIComponentPopupwantUIExtensionComponent0080 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentAbility0080", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0090.ets new file mode 100644 index 00000000..77745c82 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0090.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 UIComponentPopupwantUIExtensionComponent0090 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentAbility0090", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0030.ets new file mode 100644 index 00000000..fe136b78 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0030.ets @@ -0,0 +1,31 @@ +import EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[UIExtensionComponentAbility0030]' +export default class UIExtensionComponentAbility0030 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0030', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0040.ets new file mode 100644 index 00000000..7c0f74e8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0040.ets @@ -0,0 +1,31 @@ +import EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[UIExtensionComponentAbility0040]' +export default class UIExtensionComponentAbility0040 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0040', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0050.ets new file mode 100644 index 00000000..3cfcc249 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0050.ets @@ -0,0 +1,31 @@ +import EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[UIExtensionComponentAbility0050]' +export default class UIExtensionComponentAbility0050 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0050', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0060.ets new file mode 100644 index 00000000..b7883430 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0060.ets @@ -0,0 +1,31 @@ +import EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[UIExtensionComponentAbility0060]' +export default class UIExtensionComponentAbility0060 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0060', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0070.ets new file mode 100644 index 00000000..68b670a7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0070.ets @@ -0,0 +1,31 @@ +import EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[UIExtensionComponentAbility0070]' +export default class UIExtensionComponentAbility0070 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0070', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0080.ets new file mode 100644 index 00000000..1f50fafb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0080.ets @@ -0,0 +1,31 @@ +import EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[UIExtensionComponentAbility0080]' +export default class UIExtensionComponentAbility0080 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0080', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0090.ets new file mode 100644 index 00000000..1ac1903b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0090.ets @@ -0,0 +1,31 @@ +import EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[UIExtensionComponentAbility0090]' +export default class UIExtensionComponentAbility0090 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0090', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0030.ets new file mode 100644 index 00000000..74565043 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0030.ets @@ -0,0 +1,103 @@ +// 扩展Ability入口页面文件extension.ets +import { UIExtensionContentSession } from '@kit.AbilityKit'; + +let storage = LocalStorage.getShared() +AppStorage.setOrCreate('message', 'UIExtensionAbility') + +@Entry(storage) +@Component +struct UIExtensionComponentPage0030 { + @StorageLink('message') storageLink: string = ''; + private session: UIExtensionContentSession | undefined = storage.get('session'); + pathStack: NavPathStack = new NavPathStack() + + @Builder + PageMap(name: string) { + if (name === "hello") { + pageOneTmp() + } + } + + onPageShow() { + if (this.session != undefined) { + this.session.setReceiveDataCallback((data)=> { + this.storageLink = JSON.stringify(data) + console.info("invoke for test, handle callback set by setReceiveDataCallback successfully"); + }) + + this.session.setReceiveDataForResultCallback(func1) + } + } + + build() { + Navigation(this.pathStack) { + Row() { + Column() { + Text(this.storageLink) + .fontSize(20) + .fontWeight(FontWeight.Bold) + Button("点击向Component发送数据").id('UIComponentPopupwantUIExtensionComponent0030_01').onClick(()=>{ + if (this.session != undefined) { + this.session.sendData({"data": 543321}) + console.info('send 543321, for test') + } + }) + Button("terminate").onClick(()=> { + if (this.session != undefined) { + this.session.terminateSelf(); + } + storage.clear() + }) + Button("terminate with result").id('UIComponentPopupwantUIExtensionComponent0030_03').onClick(()=>{ + if (this.session != undefined) { + this.session.terminateSelfWithResult({ + resultCode: 0, + want: { + bundleName: "myBundleName", + parameters: { "xxx": 123456 } + } + }) + } + storage.clear() + }) + + Button("点击跳转").onClick(()=> { + this.pathStack.pushPath({ name: "hello"}) + }) + } + } + .height('100%') + }.navDestination(this.PageMap) + .mode(NavigationMode.Stack) + } +} + +// pageOne +@Component +export struct pageOneTmp { + pathStack: NavPathStack = new NavPathStack() + + build() { + NavDestination() { + Column() { + Text("Hello World") + }.width('100%').height('100%') + }.title("pageOne") + .onBackPressed(() => { + const popDestinationInfo = this.pathStack.pop() // 弹出路由栈栈顶元素 + console.log('pop' + '返回值' + JSON.stringify(popDestinationInfo)) + return true + }) + .onReady((context: NavDestinationContext) => { + this.pathStack = context.pathStack + }) + } +} + +function func1(data: Record): Record { + let linkToMsg: SubscribedAbstractProperty = AppStorage.link('message'); + linkToMsg.set(JSON.stringify(data)) + console.info("invoke for test, handle callback set by setReceiveDataForResultCallback successfully"); + return data; +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0040.ets new file mode 100644 index 00000000..b5795ce2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0040.ets @@ -0,0 +1,103 @@ +// 扩展Ability入口页面文件extension.ets +import { UIExtensionContentSession } from '@kit.AbilityKit'; + +let storage = LocalStorage.getShared() +AppStorage.setOrCreate('message', 'UIExtensionAbility') + +@Entry(storage) +@Component +struct UIExtensionComponentPage0040 { + @StorageLink('message') storageLink: string = ''; + private session: UIExtensionContentSession | undefined = storage.get('session'); + pathStack: NavPathStack = new NavPathStack() + + @Builder + PageMap(name: string) { + if (name === "hello") { + pageOneTmp() + } + } + + onPageShow() { + if (this.session != undefined) { + this.session.setReceiveDataCallback((data)=> { + this.storageLink = JSON.stringify(data) + console.info("invoke for test, handle callback set by setReceiveDataCallback successfully"); + }) + + this.session.setReceiveDataForResultCallback(func1) + } + } + + build() { + Navigation(this.pathStack) { + Row() { + Column() { + Text(this.storageLink) + .fontSize(20) + .fontWeight(FontWeight.Bold) + Button("点击向Component发送数据").id('UIComponentPopupwantUIExtensionComponent0040_01').onClick(()=>{ + if (this.session != undefined) { + this.session.sendData({"data": 543321}) + console.info('send 543321, for test') + } + }) + Button("terminate").onClick(()=> { + if (this.session != undefined) { + this.session.terminateSelf(); + } + storage.clear() + }) + Button("terminate with result").id('UIComponentPopupwantUIExtensionComponent0040_03').onClick(()=>{ + if (this.session != undefined) { + this.session.terminateSelfWithResult({ + resultCode: 0, + want: { + bundleName: "myBundleName", + parameters: { "xxx": 123456, "yyy":"data" } + } + }) + } + storage.clear() + }) + + Button("点击跳转").onClick(()=> { + this.pathStack.pushPath({ name: "hello"}) + }) + } + } + .height('100%') + }.navDestination(this.PageMap) + .mode(NavigationMode.Stack) + } +} + +// pageOne +@Component +export struct pageOneTmp { + pathStack: NavPathStack = new NavPathStack() + + build() { + NavDestination() { + Column() { + Text("Hello World") + }.width('100%').height('100%') + }.title("pageOne") + .onBackPressed(() => { + const popDestinationInfo = this.pathStack.pop() // 弹出路由栈栈顶元素 + console.log('pop' + '返回值' + JSON.stringify(popDestinationInfo)) + return true + }) + .onReady((context: NavDestinationContext) => { + this.pathStack = context.pathStack + }) + } +} + +function func1(data: Record): Record { + let linkToMsg: SubscribedAbstractProperty = AppStorage.link('message'); + linkToMsg.set(JSON.stringify(data)) + console.info("invoke for test, handle callback set by setReceiveDataForResultCallback successfully"); + return data; +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0050.ets new file mode 100644 index 00000000..14e06683 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0050.ets @@ -0,0 +1,73 @@ +import { UIExtensionContentSession } from '@kit.AbilityKit'; +import { uiExtension, window } from '@kit.ArkUI'; +import { BusinessError } from '@kit.BasicServicesKit'; +let storage = LocalStorage.getShared() + +@Entry(storage) +@Component +struct UIExtensionComponentPage0050 { + @State message: string = 'EmbeddedUIExtensionAbility Index'; + private session: UIExtensionContentSession | undefined = storage.get('session'); + private extensionWindow: uiExtension.WindowProxy | undefined = this.session?.getUIExtensionWindowProxy(); + private subWindow: window.Window | undefined = undefined; + + aboutToAppear(): void { + this.extensionWindow?.on('windowSizeChange', (size: window.Size) => { + console.info(`size = ${JSON.stringify(size)}`); + }); + this.extensionWindow?.on('avoidAreaChange', (info: uiExtension.AvoidAreaInfo) => { + console.info(`type = ${JSON.stringify(info.type)}, area = ${JSON.stringify(info.area)}`); + }); + } + + aboutToDisappear(): void { + this.extensionWindow?.off('windowSizeChange'); + this.extensionWindow?.off('avoidAreaChange'); + } + + build() { + Column() { + Text(this.message) + .fontSize(20) + .fontWeight(FontWeight.Bold) + Button("获取系统规避区信息").id("UIComponentPopupwantUIExtensionComponent0050_01").width('90%').margin({top: 5, bottom: 5}).fontSize(16).onClick(() => { + let avoidArea: window.AvoidArea | undefined = this.extensionWindow?.getWindowAvoidArea(window.AvoidAreaType.TYPE_SYSTEM); + console.info(`系统规避区: ${JSON.stringify(avoidArea)}`); + }) + Button("创建子窗口").id("UIComponentPopupwantUIExtensionComponent0050_03").width('90%').margin({top: 5, bottom: 5}).fontSize(16).onClick(() => { + let subWindowOpts: window.SubWindowOptions = { + 'title': 'This is a subwindow', + decorEnabled: true + }; + this.extensionWindow?.createSubWindowWithOptions('subWindowForHost', subWindowOpts) + .then((subWindow: window.Window) => { + this.subWindow = subWindow; + this.subWindow.loadContent('pages/Index', storage, (err, data) =>{ + if (err && err.code != 0) { + return; + } + this.subWindow?.resize(300, 300, (err, data)=>{ + if (err && err.code != 0) { + return; + } + this.subWindow?.moveWindowTo(100, 100, (err, data)=>{ + if (err && err.code != 0) { + return; + } + this.subWindow?.showWindow((err, data) => { + if (err && err.code == 0) { + console.info(`The subwindow has been shown!`); + } else { + console.error(`Failed to show the subwindow!`); + } + }); + }); + }); + }); + }).catch((error: BusinessError) => { + console.error(`Create subwindow failed: ${JSON.stringify(error)}`); + }) + }) + }.width('100%').height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0060.ets new file mode 100644 index 00000000..85f38d1d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0060.ets @@ -0,0 +1,73 @@ +import { UIExtensionContentSession } from '@kit.AbilityKit'; +import { uiExtension, window } from '@kit.ArkUI'; +import { BusinessError } from '@kit.BasicServicesKit'; +let storage = LocalStorage.getShared() + +@Entry(storage) +@Component +struct UIExtensionComponentPage0060 { + @State message: string = 'EmbeddedUIExtensionAbility Index'; + private session: UIExtensionContentSession | undefined = storage.get('session'); + private extensionWindow: uiExtension.WindowProxy | undefined = this.session?.getUIExtensionWindowProxy(); + private subWindow: window.Window | undefined = undefined; + + aboutToAppear(): void { + this.extensionWindow?.on('windowSizeChange', (size: window.Size) => { + console.info(`size = ${JSON.stringify(size)}`); + }); + this.extensionWindow?.on('avoidAreaChange', (info: uiExtension.AvoidAreaInfo) => { + console.info(`type = ${JSON.stringify(info.type)}, area = ${JSON.stringify(info.area)}`); + }); + } + + aboutToDisappear(): void { + this.extensionWindow?.off('windowSizeChange'); + this.extensionWindow?.off('avoidAreaChange'); + } + + build() { + Column() { + Text(this.message) + .fontSize(20) + .fontWeight(FontWeight.Bold) + Button("获取系统规避区信息").id("UIComponentPopupwantUIExtensionComponent0060_01").width('90%').margin({top: 5, bottom: 5}).fontSize(16).onClick(() => { + let avoidArea: window.AvoidArea | undefined = this.extensionWindow?.getWindowAvoidArea(window.AvoidAreaType.TYPE_SYSTEM); + console.info(`系统规避区: ${JSON.stringify(avoidArea)}`); + }) + Button("创建子窗口").id("UIComponentPopupwantUIExtensionComponent0060_03").width('90%').margin({top: 5, bottom: 5}).fontSize(16).onClick(() => { + let subWindowOpts: window.SubWindowOptions = { + 'title': 'This is a subwindow', + decorEnabled: true + }; + this.extensionWindow?.createSubWindowWithOptions('subWindowForHost', subWindowOpts) + .then((subWindow: window.Window) => { + this.subWindow = subWindow; + this.subWindow.loadContent('pages/Index', storage, (err, data) =>{ + if (err && err.code != 0) { + return; + } + this.subWindow?.resize(300, 300, (err, data)=>{ + if (err && err.code != 0) { + return; + } + this.subWindow?.moveWindowTo(100, 100, (err, data)=>{ + if (err && err.code != 0) { + return; + } + this.subWindow?.showWindow((err, data) => { + if (err && err.code == 0) { + console.info(`The subwindow has been shown!`); + } else { + console.error(`Failed to show the subwindow!`); + } + }); + }); + }); + }); + }).catch((error: BusinessError) => { + console.error(`Create subwindow failed: ${JSON.stringify(error)}`); + }) + }) + }.width('100%').height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0070.ets new file mode 100644 index 00000000..e3f0cfa0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0070.ets @@ -0,0 +1,73 @@ +import { UIExtensionContentSession } from '@kit.AbilityKit'; +import { uiExtension, window } from '@kit.ArkUI'; +import { BusinessError } from '@kit.BasicServicesKit'; +let storage = LocalStorage.getShared() + +@Entry(storage) +@Component +struct UIExtensionComponentPage0070 { + @State message: string = 'EmbeddedUIExtensionAbility Index'; + private session: UIExtensionContentSession | undefined = storage.get('session'); + private extensionWindow: uiExtension.WindowProxy | undefined = this.session?.getUIExtensionWindowProxy(); + private subWindow: window.Window | undefined = undefined; + + aboutToAppear(): void { + this.extensionWindow?.on('windowSizeChange', (size: window.Size) => { + console.info(`size = ${JSON.stringify(size)}`); + }); + this.extensionWindow?.on('avoidAreaChange', (info: uiExtension.AvoidAreaInfo) => { + console.info(`type = ${JSON.stringify(info.type)}, area = ${JSON.stringify(info.area)}`); + }); + } + + aboutToDisappear(): void { + this.extensionWindow?.off('windowSizeChange'); + this.extensionWindow?.off('avoidAreaChange'); + } + + build() { + Column() { + Text(this.message) + .fontSize(20) + .fontWeight(FontWeight.Bold) + Button("获取系统规避区信息").id("UIComponentPopupwantUIExtensionComponent0070_01").width('90%').margin({top: 5, bottom: 5}).fontSize(16).onClick(() => { + let avoidArea: window.AvoidArea | undefined = this.extensionWindow?.getWindowAvoidArea(window.AvoidAreaType.TYPE_SYSTEM); + console.info(`系统规避区: ${JSON.stringify(avoidArea)}`); + }) + Button("创建子窗口").id("UIComponentPopupwantUIExtensionComponent0070_03").width('90%').margin({top: 5, bottom: 5}).fontSize(16).onClick(() => { + let subWindowOpts: window.SubWindowOptions = { + 'title': 'This is a subwindow', + decorEnabled: true + }; + this.extensionWindow?.createSubWindowWithOptions('subWindowForHost', subWindowOpts) + .then((subWindow: window.Window) => { + this.subWindow = subWindow; + this.subWindow.loadContent('pages/Index', storage, (err, data) =>{ + if (err && err.code != 0) { + return; + } + this.subWindow?.resize(300, 300, (err, data)=>{ + if (err && err.code != 0) { + return; + } + this.subWindow?.moveWindowTo(100, 100, (err, data)=>{ + if (err && err.code != 0) { + return; + } + this.subWindow?.showWindow((err, data) => { + if (err && err.code == 0) { + console.info(`The subwindow has been shown!`); + } else { + console.error(`Failed to show the subwindow!`); + } + }); + }); + }); + }); + }).catch((error: BusinessError) => { + console.error(`Create subwindow failed: ${JSON.stringify(error)}`); + }) + }) + }.width('100%').height('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0080.ets new file mode 100644 index 00000000..b1932a08 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0080.ets @@ -0,0 +1,74 @@ +// 扩展Ability入口页面文件extension.ets +import { UIExtensionContentSession } from '@kit.AbilityKit'; + +let storage = LocalStorage.getShared() +AppStorage.setOrCreate('message', 'UIExtensionAbility') + +@Entry(storage) +@Component +struct UIExtensionComponentPage0080 { + @StorageLink('message') storageLink: string = ''; + private session: UIExtensionContentSession | undefined = storage.get('session'); + pathStack: NavPathStack = new NavPathStack() + @Builder + PageMap(name: string) { + if (name === "hello") { + pageOneTmp() + } + } + + onPageShow() { + if (this.session != undefined) { + this.session.setReceiveDataCallback((data)=> { + this.storageLink = JSON.stringify(data) + console.info("invoke for test, handle callback set by setReceiveDataCallback successfully"); + }) + + this.session.setReceiveDataForResultCallback(func1) + } + } + + build() { + Navigation(this.pathStack) { + Row() { + Column() { + Text(this.storageLink) + .fontSize(20) + .fontWeight(FontWeight.Bold) + }.width(100).height(100).backgroundColor(Color.Red) + } + .height('100%') + }.navDestination(this.PageMap) + .mode(NavigationMode.Stack) + } +} + +// pageOne +@Component +export struct pageOneTmp { + pathStack: NavPathStack = new NavPathStack() + + build() { + NavDestination() { + Column() { + Text("Hello World") + }.width('100%').height('100%') + }.title("pageOne") + .onBackPressed(() => { + const popDestinationInfo = this.pathStack.pop() // 弹出路由栈栈顶元素 + console.log('pop' + '返回值' + JSON.stringify(popDestinationInfo)) + return true + }) + .onReady((context: NavDestinationContext) => { + this.pathStack = context.pathStack + }) + } +} + +function func1(data: Record): Record { + let linkToMsg: SubscribedAbstractProperty = AppStorage.link('message'); + linkToMsg.set(JSON.stringify(data)) + console.info("invoke for test, handle callback set by setReceiveDataForResultCallback successfully"); + return data; +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0090.ets new file mode 100644 index 00000000..3a5a034f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0090.ets @@ -0,0 +1,74 @@ +// 扩展Ability入口页面文件extension.ets +import { UIExtensionContentSession } from '@kit.AbilityKit'; + +let storage = LocalStorage.getShared() +AppStorage.setOrCreate('message', 'UIExtensionAbility') + +@Entry(storage) +@Component +struct UIExtensionComponentPage0090 { + @StorageLink('message') storageLink: string = ''; + private session: UIExtensionContentSession | undefined = storage.get('session'); + pathStack: NavPathStack = new NavPathStack() + @Builder + PageMap(name: string) { + if (name === "hello") { + pageOneTmp() + } + } + + onPageShow() { + if (this.session != undefined) { + this.session.setReceiveDataCallback((data)=> { + this.storageLink = JSON.stringify(data) + console.info("invoke for test, handle callback set by setReceiveDataCallback successfully"); + }) + + this.session.setReceiveDataForResultCallback(func1) + } + } + + build() { + Navigation(this.pathStack) { + Row() { + Column() { + Text(this.storageLink) + .fontSize(20) + .fontWeight(FontWeight.Bold) + }.width(100).height(100).backgroundColor(Color.Red) + } + .height('100%') + }.navDestination(this.PageMap) + .mode(NavigationMode.Stack) + } +} + +// pageOne +@Component +export struct pageOneTmp { + pathStack: NavPathStack = new NavPathStack() + + build() { + NavDestination() { + Column() { + Text("Hello World") + }.width('100%').height('100%') + }.title("pageOne") + .onBackPressed(() => { + const popDestinationInfo = this.pathStack.pop() // 弹出路由栈栈顶元素 + console.log('pop' + '返回值' + JSON.stringify(popDestinationInfo)) + return true + }) + .onReady((context: NavDestinationContext) => { + this.pathStack = context.pathStack + }) + } +} + +function func1(data: Record): Record { + let linkToMsg: SubscribedAbstractProperty = AppStorage.link('message'); + linkToMsg.set(JSON.stringify(data)) + console.info("invoke for test, handle callback set by setReceiveDataForResultCallback successfully"); + return data; +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSliderSliderInterface/UIComponentSliderSliderInterface002.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSliderSliderInterface/UIComponentSliderSliderInterface002.ets new file mode 100644 index 00000000..49bd0adf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSliderSliderInterface/UIComponentSliderSliderInterface002.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 common from '@ohos.app.ability.common'; +import window from '@ohos.window'; + +@Entry +@Component +struct UIComponentSliderSliderInterface002 { + @State sliderValue: number = 0; + @State sliderChangeMode: SliderChangeMode = SliderChangeMode.Begin; + + build() { + Column({ space: 8 }) { + Slider({ + value: this.sliderValue, + min: 0, + max: 100 + }) + .onChange((value, mode) => { + this.sliderValue = value; + }) + .width('80%') + Text('sliderValue:'+this.sliderValue) + Text('sliderChangeMode:'+this.sliderChangeMode) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedAbilityEmbeddComponent0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedAbilityEmbeddComponent0060.ets new file mode 100644 index 00000000..6e5cae81 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedAbilityEmbeddComponent0060.ets @@ -0,0 +1,31 @@ +import EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbilityEmbeddComponent0060]' +export default class EmbeddedAbilityEmbeddComponent0060 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedPageEmbeddComponent0060', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedPageEmbeddComponent0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedPageEmbeddComponent0060.ets new file mode 100644 index 00000000..89bde0b4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedPageEmbeddComponent0060.ets @@ -0,0 +1,37 @@ +@Entry +@Component +struct EmbeddedPageEmbeddComponent0060 { + @State arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] + + build() { + Column({ space: 10 }) { + Button('EmbeddedPageEmbeddComponent0060') + .width('80%').height(80) + Image($r('app.media.icon')).height(80).width(80) + TextInput({ text: 'Text input' }).width('80%').height(80).enabled(false) + + List({ space: 20, initialIndex: 0 }) { + ForEach(this.arr, (item: number, index?: number) => { + ListItem() { + Flex({ direction: FlexDirection.Row, alignItems: ItemAlign.Center }) { + Text('' + item) + .width('100%') + .height(80) + .fontSize(20) + .textAlign(TextAlign.Center) + .borderRadius(10) + .backgroundColor(0xFFFFFF) + .flexShrink(1) + } + } + }, (item: string) => item) + }.width('50%') + .id("UIComponentSpecialComponentsEmbeddComponent0060_02") + .scrollBar(BarState.Off) + .friction(0.6) + } + .backgroundColor(Color.Gray) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/UIComponentSpecialComponentsEmbeddComponent0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/UIComponentSpecialComponentsEmbeddComponent0060.ets new file mode 100644 index 00000000..4685a3f3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/UIComponentSpecialComponentsEmbeddComponent0060.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 UIComponentSpecialComponentsEmbeddComponent0060 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbilityEmbeddComponent0060", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(20).width('100%') + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0010.ets new file mode 100644 index 00000000..ca477040 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0010.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0010 { + @State message: string = 'Message: '; + @State width1: string = '15vp'; + @State height1: string = 'null'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0010'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0010_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0010'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0030.ets new file mode 100644 index 00000000..e3733e4f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0030.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0030 { + @State message: string = 'Message: '; + @State width1: string = '15vp'; + @State height1: string = '15vp'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0030'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0030_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0030'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0050.ets new file mode 100644 index 00000000..78075e9b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0050.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0050 { + @State message: string = 'Message: '; + @State width1: string = '15vp'; + @State height1: string = '10vp'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0050'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0050_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0050'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0060.ets new file mode 100644 index 00000000..d3bab75e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0060.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0060 { + @State message: string = 'Message: '; + @State width1: string = '5vp'; + @State height1: string = '15vp'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0060'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0060_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0060'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0070.ets new file mode 100644 index 00000000..e74e8f15 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0070.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0070 { + @State message: string = 'Message: '; + @State width1: string = '-5vp'; + @State height1: string = '-5vp'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0070'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0070_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0070'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0080.ets new file mode 100644 index 00000000..637a28e9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0080.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0080 { + @State message: string = 'Message: '; + @State width1: string = '0vp'; + @State height1: string = '0vp'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0080'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0080_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0080'); + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0090.ets new file mode 100644 index 00000000..f61a57f6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0090.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0090 { + @State message: string = 'Message: '; + @State width1: string = 'null'; + @State height1: string = 'null'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0090'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0090_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0090'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0100.ets new file mode 100644 index 00000000..3c3673b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0100.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0100 { + @State message: string = 'Message: '; + @State width1: string = 'undefined'; + @State height1: string = 'undefined'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0100'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0100_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0100'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0110.ets new file mode 100644 index 00000000..7a1dd2a9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0110.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0110 { + @State message: string = 'Message: '; + @State width1: string = '15vp'; + @State height1: string = '15vp'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('set height=undefined').width('30%') + .onClick(() => { + this.width1 = '15vp'; + this.height1 = 'undefined'; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0110_001'); + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0110'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0110_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0110'); + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0120.ets new file mode 100644 index 00000000..37ecbdf2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0120.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0120 { + @State message: string = 'Message: '; + @State width1: string = '15vp'; + @State height1: string = 'null'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0120'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0120_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0120'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0130.ets new file mode 100644 index 00000000..741efddf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0130.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0130 { + @State message: string = 'Message: '; + @State width1: string = '5vp'; + @State height1: string = 'undefined'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0130'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0130_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0130'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0140.ets new file mode 100644 index 00000000..f305ae72 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0140.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0140 { + @State message: string = 'Message: '; + @State width1: string = '5vp'; + @State height1: string = 'null'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0140'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0140_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0140'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0150.ets new file mode 100644 index 00000000..9d1cc3dc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0150.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0150 { + @State message: string = 'Message: '; + @State width1: string = 'null'; + @State height1: string = 'undefined'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0150'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0150_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'this is EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0150'); + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0160.ets new file mode 100644 index 00000000..9d2f2c36 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0160.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0160 { + @State message: string = 'Message: '; + @State width1: string = '100%'; + @State height1: string = '100%'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Row() { + Button('set width/height=5vp').width('30%') + .onClick(() => { + this.width1 = '5vp'; + this.height1 = '5vp'; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0160_001'); + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0160'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0160_002'); + } + Column() { + Text(this.message).fontSize(30); + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0160'); + } + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0180.ets new file mode 100644 index 00000000..0e6ee8ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0180.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0180 { + @State message: string = 'Message: '; + @State width1: string = '15vp'; + @State height1: string = '15vp'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('set width/height=null').width('30%') + .onClick(() => { + this.width1 = 'null'; + this.height1 = 'null'; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0180_001'); + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0180'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0180_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'EmbeddedComponent'; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0180'); + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0190.ets new file mode 100644 index 00000000..6c62d4c6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0190.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 { Want } from '@kit.AbilityKit'; + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentMinsize0190 { + @State message: string = 'Message: '; + @State width1: string = '15vp'; + @State height1: string = '15vp'; + private want: Want = { + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + } + + build() { + Row() { + Column() { + Button('set height=undefined').width('30%') + .onClick(() => { + this.width1 = 'undefined'; + this.height1 = 'undefined'; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0190_001'); + Button('get width/height').width('30%') + .onClick(() => { + let widget1 = getInspectorByKey('UIComponentSpecialComponentsEmbeddComponentMinsize0190'); + this.message = 'width=' + JSON.parse(widget1).$attrs.width + ', height=' + JSON.parse(widget1) + .$attrs + .height; + }).id('UIComponentSpecialComponentsEmbeddComponentMinsize0190_002'); + Text(this.message).fontSize(30); + + EmbeddedComponent(this.want, EmbeddedType.EMBEDDED_UI_EXTENSION) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'width=' + this.width1 + ', height=' + this.height1; + }) + .width(this.width1) + .height(this.height1) + .id('UIComponentSpecialComponentsEmbeddComponentMinsize0190'); + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0020.ets new file mode 100644 index 00000000..07405da7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0020.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbility0020]' +export default class EmbeddedAbility0020 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0080', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0040.ets new file mode 100644 index 00000000..3f5f2a0e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0040.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[RestrictnesTing0040]' +export default class EmbeddedAbility0060 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0040_2.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0040_2.ets new file mode 100644 index 00000000..8d1c572a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0040_2.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[RestrictnesTing0040_2]' +export default class EmbeddedAbility0060 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040_2', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0060.ets new file mode 100644 index 00000000..4a9cd2a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0060.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbility0060]' +export default class EmbeddedAbility0060 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0060', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0080.ets new file mode 100644 index 00000000..26936486 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0080.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbility0080]' +export default class EmbeddedAbility0080 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0080', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbilityRestrictnesTing0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbilityRestrictnesTing0070.ets new file mode 100644 index 00000000..d7f80d10 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbilityRestrictnesTing0070.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbilityRestrictnesTing0070]' +export default class EmbeddedAbilityRestrictnesTing0070 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPageRestrictnesTing0070', storage); + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040.ets new file mode 100644 index 00000000..4d958448 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040.ets @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// @Entry +// @Component +// struct EmbeddedAbility0040 { +// build() { +// Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { +// Button('EmbeddedAbility0040') +// .height(80) +// } +// .backgroundColor(Color.Blue) +// .height('100%') +// .width('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. + */ +@Entry +@Component +struct EmbeddedAbility0040 { + @State message: string = 'EmbedWindow: ' + @State range: number = 500 + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "RestrictnesTing0040_2", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text("EmbeddedAbility0040") + UIExtensionComponent(this.want) + .width("90%") + .height(this.range) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') .backgroundColor(Color.Yellow) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040_2.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040_2.ets new file mode 100644 index 00000000..953d26f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040_2.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 EmbeddedAbility0040_2 { + build() { + Row() { + Text('EmbeddedAbility0040_2') + .height(80) + } + .backgroundColor(Color.Blue) + .height('50%') + .width('500%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0060.ets new file mode 100644 index 00000000..177f67cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0060.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 EmbeddedPage0060 { + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('EmbeddedPageButton-0060') + .height(80) + } + .backgroundColor(Color.Blue) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0080.ets new file mode 100644 index 00000000..3485d26c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0080.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 EmbeddedPage0080 { + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('EmbeddedPageButton-0080') + .height(80) + } + .backgroundColor(Color.Blue) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPageRestrictnesTing0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPageRestrictnesTing0070.ets new file mode 100644 index 00000000..aa30c8bb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPageRestrictnesTing0070.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 { BuilderNode, FrameNode, NodeController } from '@ohos.arkui.node'; + +class Params0070 { + message: string = "" + + constructor(text: string) { + this.message = text; + } +} + +@Builder +function buildText(params: Params0070) { + + Column() { + Text(params.message).fontSize(30) + + EmbeddedComponent({ + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + }, + EmbeddedType.EMBEDDED_UI_EXTENSION) + .width('100%') + .height('90%') + .onTerminated((info) => { + params.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + AppStorage.setOrCreate("UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070", `${error.code}`); + params.message = 'Error: code = ' + error.code; + }) + }.width('100%') +} + +class TextNodeControllerRestrictnesTing0070 extends NodeController { + private textNode: BuilderNode<[Params0070]> | null = null; + private message: string = "DEFAULT"; + + constructor(message: string) { + super(); + this.message = message; + } + + makeNode(context: UIContext): FrameNode | null { + this.textNode = new BuilderNode(context); + this.textNode.build(wrapBuilder<[Params0070]>(buildText), new Params0070(this.message)) + + return this.textNode.getFrameNode(); + } +} + +@Entry +@Component +struct EmbeddedPageRestrictnesTing0070 { + @State text: string = ''; + + build() { + + Column() { + Button("点击显示加载信息") + .id("UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070_01") + .onClick(() => { + let text: SubscribedAbstractProperty = AppStorage.link('UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070') + this.text = JSON.parse(JSON.stringify(text)).source_.wrappedValue_ + }) + NodeContainer(new TextNodeControllerRestrictnesTing0070("")) + .width('100%') + .height('30%') + .backgroundColor('#FFF0F0F0') + + Text(`ERROR:${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/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0020.ets new file mode 100644 index 00000000..00c8199f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0020.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 UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0020 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0020", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030.ets new file mode 100644 index 00000000..fce36f0b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030.ets @@ -0,0 +1,90 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { BuilderNode, FrameNode, NodeController } from '@ohos.arkui.node'; + +class Params0030 { + message: string = "" + + constructor(text: string) { + this.message = text; + } +} + +@Builder +function buildText(params: Params0030) { + + Column() { + Text(params.message).fontSize(30) + + EmbeddedComponent({ + bundleName: "com.example.embeddeddemo", + abilityName: "ExampleEmbeddedAbility", + }, + EmbeddedType.EMBEDDED_UI_EXTENSION) + .width('100%') + .height('90%') + .onTerminated((info) => { + params.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + AppStorage.setOrCreate("UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030", `${error.code}`); + params.message = 'Error: code = ' + error.code; + }) + }.width('100%') +} + +class TextNodeControllerRestrictnesTing0030 extends NodeController { + private textNode: BuilderNode<[Params0030]> | null = null; + private message: string = "DEFAULT"; + + constructor(message: string) { + super(); + this.message = message; + } + + makeNode(context: UIContext): FrameNode | null { + this.textNode = new BuilderNode(context); + this.textNode.build(wrapBuilder<[Params0030]>(buildText), new Params0030(this.message)) + + return this.textNode.getFrameNode(); + } +} + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030 { + @State text: string = ''; + + build() { + + Column() { + Button("点击显示加载信息") + .id("UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030_01") + .onClick(() => { + let text: SubscribedAbstractProperty = AppStorage.link('UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030') + this.text = JSON.parse(JSON.stringify(text)).source_.wrappedValue_ + }) + NodeContainer(new TextNodeControllerRestrictnesTing0030("")) + .width('100%') + .height('30%') + .backgroundColor('#FFF0F0F0') + + Text(`ERROR:${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/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0040.ets new file mode 100644 index 00000000..72a19607 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0040.ets @@ -0,0 +1,80 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { BuilderNode, FrameNode, NodeController } from '@ohos.arkui.node'; + +class Params0030 { + message: string = "" + + constructor(text: string) { + this.message = text; + } +} + +@Builder +function buildText(params: Params0030) { + + Column() { + Text(params.message).fontSize(30) + EmbeddedComponent({ + bundleName: "com.example.uicompare", + abilityName: "RestrictnesTing0040", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + }, + EmbeddedType.EMBEDDED_UI_EXTENSION) + .width('100%') + .height('90%') + }.width('100%') +} + +class TextNodeControllerRestrictnesTing0040 extends NodeController { + private textNode: BuilderNode<[Params0030]> | null = null; + private message: string = "DEFAULT"; + + constructor(message: string) { + super(); + this.message = message; + } + + makeNode(context: UIContext): FrameNode | null { + this.textNode = new BuilderNode(context); + this.textNode.build(wrapBuilder<[Params0030]>(buildText), new Params0030(this.message)) + + return this.textNode.getFrameNode(); + } +} + +@Entry +@Component +struct UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0040 { + @State text: string = ''; + + build() { + + Column() { + Button("TextNodeControllerRestrictnesTing0040") + NodeContainer(new TextNodeControllerRestrictnesTing0040("")) + .width('100%') + .height('30%') + .backgroundColor('#FFF0F0F0') + + Text(`ERROR:${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/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0050.ets new file mode 100644 index 00000000..a9f24530 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0050.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 UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0050 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0050", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0060.ets new file mode 100644 index 00000000..c1b5f6a5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0060.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 UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0060 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0060", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070.ets new file mode 100644 index 00000000..fd7274ca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070.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 UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbilityRestrictnesTing0070", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0080.ets new file mode 100644 index 00000000..11367d0e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0080.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 UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0080 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0080", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0080.ets new file mode 100644 index 00000000..bd14c1b2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0080.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 UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0080 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentAccessibilityReportProvider0080", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }).backgroundColor(Color.Red) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0090.ets new file mode 100644 index 00000000..ac70eff4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0090.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 UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0090 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentAccessibilityReportProvider0090", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }).backgroundColor(Color.Red) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0080.ets new file mode 100644 index 00000000..de59a695 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0080.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 UIExtensionComponentAccessibilityReportPage0080 { + @State clickState: string[] = [] + + build() { + Column({ space: 30 }) { + Text('' + this.clickState).fontSize(20).fontColor(Color.Pink) + Button('Button', { type: ButtonType.Normal, stateEffect: true }) + .borderRadius(8) + .width('80%') + .height(80) + .id("UIExtensionComponentAccessibilityReportPage0080_01") + .onHover((isHover: boolean) => { + if (isHover) { + this.clickState.push('hoverEnter'); + } else { + this.clickState.push('hoverExit'); + } + }) + .accessibilityGroup(true) + .accessibilityLevel("yes") + .accessibilityText("button_accessibilityText") + } + .padding(20) + .justifyContent(FlexAlign.Center) + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0090.ets new file mode 100644 index 00000000..bac3ea1d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0090.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 UIExtensionComponentAccessibilityReportPage0090 { + @State clickState: string[] = [] + + build() { + Column({ space: 30 }) { + Text('' + this.clickState).fontSize(20).fontColor(Color.Pink) + Button('Button', { type: ButtonType.Normal, stateEffect: true }) + .borderRadius(8) + .width('80%') + .height(80) + .id("UIExtensionComponentAccessibilityReportPage0090_01") + .onHover((isHover: boolean) => { + if (isHover) { + this.clickState.push('hoverEnter'); + } else { + this.clickState.push('hoverExit'); + } + }) + .accessibilityGroup(true) + .accessibilityLevel("yes") + .accessibilityText("button_accessibilityText") + } + .padding(20) + .justifyContent(FlexAlign.Center) + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0010.ets new file mode 100644 index 00000000..cdb5d1a8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0010.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[Avoidader0010]' +export default class EmbeddedAbility0010_331 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0010', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0020.ets new file mode 100644 index 00000000..0277b32a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0020.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[Avoidader0020]' +export default class EmbeddedAbility0010_331 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0020', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0030.ets new file mode 100644 index 00000000..156d7511 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0030.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[Avoidader0030]' +export default class EmbeddedAbility0010_331 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0030', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0140.ets new file mode 100644 index 00000000..017bda65 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0140.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[Avoidader0140]' +export default class EmbeddedAbility0010_331 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0140', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0010.ets new file mode 100644 index 00000000..7170589e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0010.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 { UIExtensionContentSession } from '@kit.AbilityKit'; +import { BusinessError } from '@kit.BasicServicesKit'; +import { display, uiExtensionHost, window } from '@kit.ArkUI'; + +let storage = LocalStorage.getShared() + +@Entry(storage) +@Component +struct AvoidaderPage0010 { + @State withX: number |undefined= 0; + @State heightX: number |undefined = 0; + @State leftX: number |undefined = 0; + @State topX: number |undefined = 0; + @State Screen: string = ""; + private session: UIExtensionContentSession | undefined = storage.get('session'); + private extensionWindow: uiExtensionHost.UIExtensionHostWindowProxy | undefined = this.session?.getUIExtensionHostWindowProxy(); + private subWindow: window.Window | undefined = undefined; + + aboutToAppear(): void { + this.extensionWindow?.on('windowSizeChange', (size) => { + console.info(`size = ${JSON.stringify(size)}`); + }); + this.extensionWindow?.on('avoidAreaChange', (info) => { + console.info(`type = ${JSON.stringify(info.type)}, area = ${JSON.stringify(info.area)}`); + }); + let promise = this.extensionWindow?.hideNonSecureWindows(true); + promise?.then(()=> { + console.log(`Succeeded in hiding the non-secure windows.`); + }).catch((err: BusinessError)=> { + console.log(`Failed to hide the non-secure windows. Cause:${JSON.stringify(err)}`); + }) + } + + aboutToDisappear(): void { + this.extensionWindow?.off('windowSizeChange'); + this.extensionWindow?.off('avoidAreaChange'); + let promise = this.extensionWindow?.hideNonSecureWindows(false); + promise?.then(()=> { + console.log(`Succeeded in showing the non-secure windows.`); + }).catch((err: BusinessError)=> { + console.log(`Failed to show the non-secure windows. Cause:${JSON.stringify(err)}`); + }) + } + + build() { + Column() { + Button("AvoidaderPage0010获取屏幕状态").id("AvoidaderPage0010").onClick(()=>{ + let rotation: number = display.getDefaultDisplaySync().orientation // 获取当前屏幕的枚举值 + console.log('' + rotation); + if (rotation == 0) { + this.Screen="竖屏" + let rect = this.extensionWindow?.properties.uiExtensionHostWindowProxyRect; + this.withX=rect?.left + this.heightX=rect?.height + this.leftX=rect?.left + this.topX=rect?.top + } else if (rotation == 1) { + let rect = this.extensionWindow?.properties.uiExtensionHostWindowProxyRect; + this.withX=rect?.left + this.heightX=rect?.height + this.leftX=rect?.left + this.topX=rect?.top + this.Screen="横屏" + } else if (rotation == 2) { + this.Screen="反向竖屏" + } else { + this.Screen="反向横屏" + } + }) + Text(`当前屏幕状态为${this.Screen}时,UIExtensionComponent的宽高和位置信息为`) + .fontSize(20) + .fontWeight(FontWeight.Bold) + Text(`with:${this.withX},height:${this.heightX},left:${this.leftX},right:${this.topX},`) + .fontSize(14) + .fontWeight(FontWeight.Bold) + }.width('100%').height('100%').backgroundColor(Color.Gray) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0020.ets new file mode 100644 index 00000000..556c4089 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0020.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 { UIExtensionContentSession } from '@kit.AbilityKit'; +import { BusinessError } from '@kit.BasicServicesKit'; +import { display, uiExtensionHost, window } from '@kit.ArkUI'; + +let storage = LocalStorage.getShared() + +@Entry(storage) +@Component +struct AvoidaderPage0020 { + @State withX: number |undefined= 0; + @State heightX: number |undefined = 0; + @State leftX: number |undefined = 0; + @State topX: number |undefined = 0; + @State Screen: string = ""; + private session: UIExtensionContentSession | undefined = storage.get('session'); + private extensionWindow: uiExtensionHost.UIExtensionHostWindowProxy | undefined = this.session?.getUIExtensionHostWindowProxy(); + private subWindow: window.Window | undefined = undefined; + + aboutToAppear(): void { + this.extensionWindow?.on('windowSizeChange', (size) => { + console.info(`size = ${JSON.stringify(size)}`); + }); + this.extensionWindow?.on('avoidAreaChange', (info) => { + console.info(`type = ${JSON.stringify(info.type)}, area = ${JSON.stringify(info.area)}`); + }); + let promise = this.extensionWindow?.hideNonSecureWindows(true); + promise?.then(()=> { + console.log(`Succeeded in hiding the non-secure windows.`); + }).catch((err: BusinessError)=> { + console.log(`Failed to hide the non-secure windows. Cause:${JSON.stringify(err)}`); + }) + } + + aboutToDisappear(): void { + this.extensionWindow?.off('windowSizeChange'); + this.extensionWindow?.off('avoidAreaChange'); + let promise = this.extensionWindow?.hideNonSecureWindows(false); + promise?.then(()=> { + console.log(`Succeeded in showing the non-secure windows.`); + }).catch((err: BusinessError)=> { + console.log(`Failed to show the non-secure windows. Cause:${JSON.stringify(err)}`); + }) + } + + build() { + Column() { + Button("获取屏幕状态").id("AvoidaderPage0020").onClick(()=>{ + let rotation: number = display.getDefaultDisplaySync().orientation // 获取当前屏幕的枚举值 + console.log('' + rotation); + if (rotation == 0) { + this.Screen="竖屏" + let rect = this.extensionWindow?.properties.uiExtensionHostWindowProxyRect; + this.withX=rect?.left + this.heightX=rect?.height + this.leftX=rect?.left + this.topX=rect?.top + } else if (rotation == 1) { + let rect = this.extensionWindow?.properties.uiExtensionHostWindowProxyRect; + this.withX=rect?.left + this.heightX=rect?.height + this.leftX=rect?.left + this.topX=rect?.top + this.Screen="横屏" + } else if (rotation == 2) { + this.Screen="反向竖屏" + } else { + this.Screen="反向横屏" + } + }) + Text(`当前屏幕状态为${this.Screen}时,UIExtensionComponent的宽高和位置信息为`) + .fontSize(20) + .fontWeight(FontWeight.Bold) + Text(`with:${this.withX},height:${this.heightX},left:${this.leftX},right:${this.topX},`) + .fontSize(14) + .fontWeight(FontWeight.Bold) + }.width('100%').height('100%').backgroundColor(Color.Gray) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0030.ets new file mode 100644 index 00000000..fdc65ebd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0030.ets @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { UIExtensionContentSession } from '@kit.AbilityKit'; +import { BusinessError } from '@kit.BasicServicesKit'; +import { uiExtensionHost, window } from '@kit.ArkUI'; + +let storage = LocalStorage.getShared() + +interface Rects { + left: number; + top: number; + width: number; + height: number; +} + +@Entry(storage) +@Component +struct AvoidaderPage0030 { + @State visible: boolean | undefined = undefined; + @State leftRect: Rects = { left: 1, top: 1, width: 1, height: 1 }; + @State bottomRect: Rects = { left: 1, top: 1, width: 1, height: 1}; + @State topRect: Rects = { left: 1, top: 1, width: 1, height: 1 }; + @State rightRect: Rects = { left: 1, top: 1, width: 1, height: 1 }; + private session: UIExtensionContentSession | undefined = storage.get('session'); + private extensionWindow: uiExtensionHost.UIExtensionHostWindowProxy | undefined = + this.session?.getUIExtensionHostWindowProxy(); + + aboutToAppear(): void { + this.extensionWindow?.on('windowSizeChange', (size) => { + console.info(`size = ${JSON.stringify(size)}`); + }); + this.extensionWindow?.on('avoidAreaChange', (info) => { + console.info(`type = ${JSON.stringify(info.type)}, area = ${JSON.stringify(info.area)}`); + }); + let promise = this.extensionWindow?.hideNonSecureWindows(true); + promise?.then(() => { + console.log(`Succeeded in hiding the non-secure windows.`); + }).catch((err: BusinessError) => { + console.log(`Failed to hide the non-secure windows. Cause:${JSON.stringify(err)}`); + }) + } + + aboutToDisappear(): void { + this.extensionWindow?.off('windowSizeChange'); + this.extensionWindow?.off('avoidAreaChange'); + let promise = this.extensionWindow?.hideNonSecureWindows(false); + promise?.then(() => { + console.log(`Succeeded in showing the non-secure windows.`); + }).catch((err: BusinessError) => { + console.log(`Failed to show the non-secure windows. Cause:${JSON.stringify(err)}`); + }) + } + + build() { + Column() { + + Button("获取系统规避区信息").id("AvoidaderPage0030").width('90%').margin({ top: 5, bottom: 5 }).fontSize(16).onClick(() => { + let avoidArea: window.AvoidArea | undefined = + this.extensionWindow?.getWindowAvoidArea(window.AvoidAreaType.TYPE_SYSTEM); + this.visible = avoidArea?.visible + if (avoidArea?.leftRect !== undefined) { + this.leftRect.left = avoidArea?.leftRect.left + this.leftRect.top = avoidArea?.leftRect.top + this.leftRect.width = avoidArea?.leftRect.width + this.leftRect.height = avoidArea?.leftRect.height + } + if (avoidArea?.topRect !== undefined) { + this.topRect.left = avoidArea?.topRect.left + this.topRect.top = avoidArea?.topRect.top + this.topRect.width = avoidArea?.topRect.width + this.topRect.height = avoidArea?.topRect.height + } + if (avoidArea?.rightRect !== undefined) { + this.rightRect.left = avoidArea?.rightRect.left + this.rightRect.top = avoidArea?.rightRect.top + this.rightRect.width = avoidArea?.rightRect.width + this.rightRect.height = avoidArea?.rightRect.height + } + if (avoidArea?.bottomRect !== undefined) { + this.bottomRect.left = avoidArea?.bottomRect.left + this.bottomRect.top = avoidArea?.bottomRect.top + this.bottomRect.width = avoidArea?.bottomRect.width + this.bottomRect.height = avoidArea?.bottomRect.height + } + console.info(`系统规避区: ${JSON.stringify(avoidArea)}`); + }) + Text(`当前屏幕状态系统规避区信息信息为`) + .fontSize(20) + .fontWeight(FontWeight.Bold) + Text(`visible`+this.visible) + .fontSize(14) + .fontWeight(FontWeight.Bold) + Text(`leftRect`+JSON.stringify(this.leftRect)) + .fontSize(14) + .fontWeight(FontWeight.Bold) + Text(`bottomRect`+JSON.stringify(this.bottomRect)) + .fontSize(14) + .fontWeight(FontWeight.Bold) + Text(`rightRect`+JSON.stringify(this.rightRect)) + .fontSize(14) + .fontWeight(FontWeight.Bold) + Text(`topRect`+JSON.stringify(this.topRect)) + .fontSize(14) + .fontWeight(FontWeight.Bold) + }.width('100%').height('100%').backgroundColor(Color.Gray) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0140.ets new file mode 100644 index 00000000..48dc49e6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0140.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 { UIExtensionContentSession } from '@kit.AbilityKit'; +import { BusinessError } from '@kit.BasicServicesKit'; +import { display, uiExtensionHost, window } from '@kit.ArkUI'; + +let storage = LocalStorage.getShared() + +interface Rects { + left: number; + top: number; + width: number; + height: number; +} + +@Entry(storage) +@Component +struct AvoidaderPage0140 { + @State visible: boolean | undefined = undefined; + @State leftRect: Rects = { left: 1, top: 1, width: 1, height: 1, }; + @State bottomRect: Rects = { left: 1, top: 1, width: 1, height: 1, }; + @State topRect: Rects = { left: 1, top: 1, width: 1, height: 1, }; + @State rightRect: Rects = { left: 1, top: 1, width: 1, height: 1, }; + @State Screen: string = ""; + private session: UIExtensionContentSession | undefined = storage.get('session'); + private extensionWindow: uiExtensionHost.UIExtensionHostWindowProxy | undefined = + this.session?.getUIExtensionHostWindowProxy(); + + aboutToAppear(): void { + this.extensionWindow?.on('windowSizeChange', (size) => { + console.info(`size = ${JSON.stringify(size)}`); + }); + this.extensionWindow?.on('avoidAreaChange', (info) => { + console.info(`type = ${JSON.stringify(info.type)}, area = ${JSON.stringify(info.area)}`); + }); + let promise = this.extensionWindow?.hideNonSecureWindows(true); + promise?.then(() => { + console.log(`Succeeded in hiding the non-secure windows.`); + }).catch((err: BusinessError) => { + console.log(`Failed to hide the non-secure windows. Cause:${JSON.stringify(err)}`); + }) + } + + aboutToDisappear(): void { + this.extensionWindow?.off('windowSizeChange'); + this.extensionWindow?.off('avoidAreaChange'); + let promise = this.extensionWindow?.hideNonSecureWindows(false); + promise?.then(() => { + console.log(`Succeeded in showing the non-secure windows.`); + }).catch((err: BusinessError) => { + console.log(`Failed to show the non-secure windows. Cause:${JSON.stringify(err)}`); + }) + } + + build() { + Column() { + Button("获取系统规避区信息").id("AvoidaderPage0140").width('90%').margin({ top: 5, bottom: 5 }).fontSize(16).onClick(() => { + let rotation: number = display.getDefaultDisplaySync().orientation // 获取当前屏幕的枚举值 + console.log('' + rotation); + if (rotation == 0) { + this.Screen="竖屏" + } else if (rotation == 1) { + this.Screen="横屏" + } else if (rotation == 2) { + this.Screen="反向竖屏" + } else { + this.Screen="反向横屏" + } + let avoidArea: window.AvoidArea | undefined = + this.extensionWindow?.getWindowAvoidArea(window.AvoidAreaType.TYPE_SYSTEM); + this.visible = avoidArea?.visible + if (avoidArea?.leftRect !== undefined) { + this.leftRect.left = avoidArea?.leftRect.left + this.leftRect.top = avoidArea?.leftRect.top + this.leftRect.width = avoidArea?.leftRect.width + this.leftRect.height = avoidArea?.leftRect.height + } + if (avoidArea?.topRect !== undefined) { + this.topRect.left = avoidArea?.topRect.left + this.topRect.top = avoidArea?.topRect.top + this.topRect.width = avoidArea?.topRect.width + this.topRect.height = avoidArea?.topRect.height + } + if (avoidArea?.rightRect !== undefined) { + this.rightRect.left = avoidArea?.rightRect.left + this.rightRect.top = avoidArea?.rightRect.top + this.rightRect.width = avoidArea?.rightRect.width + this.rightRect.height = avoidArea?.rightRect.height + } + if (avoidArea?.bottomRect !== undefined) { + this.bottomRect.left = avoidArea?.bottomRect.left + this.bottomRect.top = avoidArea?.bottomRect.top + this.bottomRect.width = avoidArea?.bottomRect.width + this.bottomRect.height = avoidArea?.bottomRect.height + } + console.info(`系统规避区: ${JSON.stringify(avoidArea)}`); + }) + Text(`当前屏幕状态为${this.Screen}时,UIExtensionComponent的宽高和位置信息为`) + .fontSize(20) + .fontWeight(FontWeight.Bold) + Text(`visible`+this.visible) + .fontSize(14) + .fontWeight(FontWeight.Bold) + Text(`leftRect`+JSON.stringify(this.leftRect)) + .fontSize(14) + .fontWeight(FontWeight.Bold) + Text(`bottomRect`+JSON.stringify(this.bottomRect)) + .fontSize(14) + .fontWeight(FontWeight.Bold) + Text(`rightRect`+JSON.stringify(this.rightRect)) + .fontSize(14) + .fontWeight(FontWeight.Bold) + Text(`topRect`+JSON.stringify(this.topRect)) + .fontSize(14) + .fontWeight(FontWeight.Bold) + }.width('100%').height('100%').backgroundColor(Color.Gray) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0010.ets new file mode 100644 index 00000000..e6eef07e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0010.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 UIComponentsUIExtensionComponentAvoidader0010 { + @State message: string = 'EmbedWindow: ' + @State range: number = 500 + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "Avoidader0010", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text("UIComponentsUIExtensionComponentAvoidader0010") + Button("点击改变UIExtensionComponent的大小").id("btn2").onClick(() => { + this.range = 300 + }) + + UIExtensionComponent(this.want) + .width("90%") + .height(this.range) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0020.ets new file mode 100644 index 00000000..0cae2f29 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0020.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 UIComponentsUIExtensionComponentAvoidader0020 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "Avoidader0020", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text("UIComponentsUIExtensionComponentAvoidader0020") + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0030.ets new file mode 100644 index 00000000..fdadd107 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0030.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 UIComponentsUIExtensionComponentAvoidader0030 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "Avoidader0030", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text("UIComponentsUIExtensionComponentAvoidader0030") + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0140.ets new file mode 100644 index 00000000..8d3e6d2a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0140.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 UIComponentsUIExtensionComponentAvoidader0140 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "Avoidader0140", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text("UIComponentsUIExtensionComponentAvoidader0140") + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidArea0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidArea0040.ets new file mode 100755 index 00000000..7e6cbeae --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidArea0040.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 UIExtensionComponentAvoidArea0040 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentAvoidAreaProvider0040", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('100%') + .height('100%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }).backgroundColor(Color.Red) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidAreaPage0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidAreaPage0040.ets new file mode 100755 index 00000000..e8462abc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidAreaPage0040.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 { uiExtension, window } from '@kit.ArkUI' +import { UIExtensionContentSession } from '@kit.AbilityKit' +let storage = LocalStorage.getShared() + +@Entry(storage) +@Component +struct UIExtensionComponentAvoidAreaPage0040 { + @State avoidAreaStr: string = ""; + + + build() { + Column({ space: 30 }) { + Button("TYPE_CUTOUT") + .id("UIExtensionComponentAvoidArea_cutout") + .width('90%') + .margin({top: 5, bottom: 5}) + .fontSize(16) + .onClick(() => { + try { + let session: UIExtensionContentSession | undefined = storage.get('session'); + let extensionWindow: uiExtension.WindowProxy | undefined = session?.getUIExtensionWindowProxy(); + let avoidArea: window.AvoidArea | undefined = extensionWindow?.getWindowAvoidArea(window.AvoidAreaType.TYPE_CUTOUT); + this.avoidAreaStr = JSON.stringify(avoidArea) + console.info(`系统规避区: ${JSON.stringify(avoidArea)}`); + } catch (e){ + console.info(`系统规避区: Error`); + } + }) + Button("TYPE_SYSTEM") + .id("UIExtensionComponentAvoidArea_system") + .width('90%') + .margin({top: 5, bottom: 5}) + .fontSize(16) + .onClick(() => { + try { + let session: UIExtensionContentSession | undefined = storage.get('session'); + let extensionWindow: uiExtension.WindowProxy | undefined = session?.getUIExtensionWindowProxy(); + let avoidArea: window.AvoidArea | undefined = extensionWindow?.getWindowAvoidArea(window.AvoidAreaType.TYPE_SYSTEM); + this.avoidAreaStr = JSON.stringify(avoidArea) + console.info(`系统规避区: ${JSON.stringify(avoidArea)}`); + } catch (e){ + console.info(`系统规避区: Error`); + } + }) + Button("TYPE_KEYBOARD") + .id("UIExtensionComponentAvoidArea_keyboard") + .width('90%') + .margin({top: 5, bottom: 5}) + .fontSize(16) + .onClick(() => { + try { + let session: UIExtensionContentSession | undefined = storage.get('session'); + let extensionWindow: uiExtension.WindowProxy | undefined = session?.getUIExtensionWindowProxy(); + let avoidArea: window.AvoidArea | undefined = extensionWindow?.getWindowAvoidArea(window.AvoidAreaType.TYPE_KEYBOARD); + this.avoidAreaStr = JSON.stringify(avoidArea) + console.info(`系统规避区: ${JSON.stringify(avoidArea)}`); + } catch (e){ + console.info(`系统规避区: Error`); + } + }) + Button("TYPE_SYSTEM_GESTURE") + .id("UIExtensionComponentAvoidArea_system_gesture") + .width('90%') + .margin({top: 5, bottom: 5}) + .fontSize(16) + .onClick(() => { + try { + let session: UIExtensionContentSession | undefined = storage.get('session'); + let extensionWindow: uiExtension.WindowProxy | undefined = session?.getUIExtensionWindowProxy(); + let avoidArea: window.AvoidArea | undefined = extensionWindow?.getWindowAvoidArea(window.AvoidAreaType.TYPE_SYSTEM_GESTURE); + this.avoidAreaStr = JSON.stringify(avoidArea) + console.info(`系统规避区: ${JSON.stringify(avoidArea)}`); + } catch (e){ + console.info(`系统规避区: Error`); + } + }) + TextInput({ + placeholder: 'Test TextInput' + }) + .fontSize(16) + .id("UIExtensionComponentAvoidArea_textinput") + Text(`系统规避区: ${this.avoidAreaStr}`).fontSize(20).fontColor(Color.Pink) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0010.ets new file mode 100644 index 00000000..44ca9cdf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0010.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbilityComponentInterface0010]' + +export default class EmbeddedAbilityComponentInterface0010 extends EmbeddedUIExtensionAbility { + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0010', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0020.ets new file mode 100644 index 00000000..7adb832c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0020.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbilityComponentInterface0020]' + +export default class EmbeddedAbilityComponentInterface0020 extends EmbeddedUIExtensionAbility { + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0020', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0050.ets new file mode 100644 index 00000000..65ea7f28 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0050.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbilityComponentInterface0050]' + +export default class EmbeddedAbilityComponentInterface0050 extends EmbeddedUIExtensionAbility { + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0050', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0060.ets new file mode 100644 index 00000000..1e16731b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0060.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbilityComponentInterface0060]' + +export default class EmbeddedAbilityComponentInterface0060 extends EmbeddedUIExtensionAbility { + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0060', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0070.ets new file mode 100644 index 00000000..930544e2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0070.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbilityComponentInterface0070]' + +export default class EmbeddedAbilityComponentInterface0070 extends EmbeddedUIExtensionAbility { + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0070', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0010.ets new file mode 100644 index 00000000..cd84deba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0010.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 +EmbeddedPageComponentInterface0010 { + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('EmbeddedPageComponentInterface0010') + .onClick(()=>{ + + }) + .height(80) + } + .backgroundColor(Color.Blue) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0020.ets new file mode 100644 index 00000000..64ec09e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0020.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 +EmbeddedPageComponentInterface0020 { + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('EmbeddedPageComponentInterface0020') + .onClick(()=>{ + + }) + .height(80) + } + .backgroundColor(Color.Blue) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0050.ets new file mode 100644 index 00000000..2ff3e6ea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0050.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 +EmbeddedPageComponentInterface0050 { + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('EmbeddedPageComponentInterface0050') + .onClick(()=>{ + + }) + .height(80) + } + .backgroundColor(Color.Blue) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0060.ets new file mode 100644 index 00000000..f110ce7a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0060.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 +EmbeddedPageComponentInterface0060 { + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('EmbeddedPageComponentInterface0060') + .onClick(()=>{ + + }) + .height(80) + } + .backgroundColor(Color.Blue) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0070.ets new file mode 100644 index 00000000..f9fb18bf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0070.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 +EmbeddedPageComponentInterface0070 { + build() { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('EmbeddedPageComponentInterface0070') + .onClick(()=>{ + + }) + .height(80) + } + .backgroundColor(Color.Blue) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0010.ets new file mode 100644 index 00000000..54a8beae --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0010.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 UIComponentSpecialComponentsUIExtensionComponentInterface0010 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + abilityName: "EmbeddedAbilityComponentInterface0010", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0020.ets new file mode 100644 index 00000000..37cc3a4b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0020.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 UIComponentSpecialComponentsUIExtensionComponentInterface0020 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0050.ets new file mode 100644 index 00000000..7f7fc4ad --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0050.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 UIComponentSpecialComponentsUIExtensionComponentInterface0050 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbilityComponentInterface0050", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0060.ets new file mode 100644 index 00000000..1fc0dcb2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0060.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 UIComponentSpecialComponentsUIExtensionComponentInterface0060 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbilityComponentInterface0060", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .size({width:-1, height:-1}) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0070.ets new file mode 100644 index 00000000..87046b5f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0070.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 UIComponentSpecialComponentsUIExtensionComponentInterface0070 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbilityComponentInterface0070", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width(-1) + .height(-2) + .size({width:-1, height:-1}) + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage0210.ets new file mode 100644 index 00000000..b07efd1c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage0210.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 UIComponentSpecialComponentsUIExtensionComponentStyleLanguage0210 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UIExtensionComponentStyleLanguageProvider0210", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIExtensionComponentStyleLanguagePage0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIExtensionComponentStyleLanguagePage0210.ets new file mode 100644 index 00000000..a970229c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIExtensionComponentStyleLanguagePage0210.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 UIExtensionComponentStyleLanguagePage0210 { + build() { + WithTheme({ colorMode: ThemeColorMode.DARK }) { + Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) { + Button('UIExtensionComponentStyleLanguagePage0210') + .onClick(() => { + + }) + .backgroundColor($r('sys.color.background_primary')) + .height(80) + } + .backgroundColor($r('sys.color.background_primary')) + .height('100%') + .width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0010_331.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0010_331.ets new file mode 100644 index 00000000..99523bca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0010_331.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbility0010_331]' +export default class EmbeddedAbility0010_331 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0010_331', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0020_404.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0020_404.ets new file mode 100644 index 00000000..bd30c279 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0020_404.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbility0020_404]' +export default class EmbeddedAbility0020_404 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0020_404', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0030_273.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0030_273.ets new file mode 100644 index 00000000..91a49223 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0030_273.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbility0030_273]' +export default class EmbeddedAbility0030_273 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0030_273', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0060_227.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0060_227.ets new file mode 100644 index 00000000..7d929c02 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0060_227.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbility0060_227]' +export default class EmbeddedAbility0060_227 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0060_227', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0070_755.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0070_755.ets new file mode 100644 index 00000000..c06ea77a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0070_755.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbility0070_755]' +export default class EmbeddedAbility0070_755 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0070_755', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0010_331.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0010_331.ets new file mode 100644 index 00000000..67605c6e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0010_331.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 EmbeddedPage0010_331 { + build() { + Column({ space: 10 }) { + Text('EmbeddedPageButton-0010_331').width('80%').height(80) + } + .backgroundColor(Color.Gray) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0020_404.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0020_404.ets new file mode 100644 index 00000000..2402daf8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0020_404.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 EmbeddedPage0020_404 { + build() { + Column({ space: 10 }) { + Button('EmbeddedPageButton-0020_404') + .width('80%').height(80) + Image($r('app.media.icon')).height(80).width(80) + TextInput({ text: 'Text input' }).width('80%').height(80).enabled(false) + Search({ value: 'search' }).width('80%').height(80).enabled(false) + TextArea({ text: 'Text area' }).width('80%').height(80).caretColor(Color.Transparent) + Text('text').width('80%').height(80) + } + .borderWidth(1) + .borderColor(Color.Brown) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0030_273.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0030_273.ets new file mode 100644 index 00000000..4f1b311f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0030_273.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 EmbeddedPage0030_273 { + build() { + Column({ space: 10 }) { + Button('EmbeddedPageButton-0030_273') + .width('80%').height(80) + Image($r('app.media.icon')).height(80).width(80) + TextInput({ text: 'Text input' }).width('80%').height(80).enabled(false) + Search({ value: 'search' }).width('80%').height(80).enabled(false) + TextArea({ text: 'Text area' }).width('80%').height(80).caretColor(Color.Transparent) + Text('text').width('80%').height(80) + } + .backgroundColor(Color.Gray) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0060_227.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0060_227.ets new file mode 100644 index 00000000..1c7cfb93 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0060_227.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. + */ +@CustomDialog +struct UICustomDialogBuilder0060_227 { + @Link textValue: string + @Link inputValue: string + controller?: CustomDialogController + cancel: () => void = () => { + } + confirm: () => void = () => { + } + + build() { + Column() { + Text('自定义对话框:').fontSize(20).margin({ top: 10, bottom: 10 }) + TextInput({ placeholder: '', text: this.textValue }) + .height(60) + .width('90%') + .onChange((value: string) => { + this.textValue = value + }) + 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) + } +} + +@Entry +@Component +struct EmbeddedPage0060_227 { + @State textValue: string = '' + @State inputValue: string = 'click me' + + dialogController: CustomDialogController | null = new CustomDialogController({ + builder: UICustomDialogBuilder0060_227({ + cancel: () => { + this.onCancel() + }, + confirm: () => { + this.onAccept() + }, + textValue: $textValue, + inputValue: $inputValue + }), + cancel: this.exitApp, + autoCancel: true, + alignment: DialogAlignment.Bottom, + offset: { dx: 0, dy: -20 }, + gridCount: 4, + customStyle: false, + cornerRadius: 10, + }) + + onCancel() { + } + + onAccept() { + } + + exitApp() { + } + + build() { + Column({ space: 10 }) { + Button('EmbeddedPageButton-0060_227') + .width('80%').height(80) + .onClick(() => { + if (this.dialogController != null) { + this.dialogController.open() + } + }) + + } + .backgroundColor(Color.Gray) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0070_755.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0070_755.ets new file mode 100644 index 00000000..860af485 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0070_755.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 EmbeddedPage0070_755 { + build() { + Column({ space: 10 }) { + Button('EmbeddedPageButton-0070_755') + .width('80%').height(80) + Image($r('app.media.icon')).height(80).width(80) + TextInput({ text: 'Text input' }).width('80%').height(80).enabled(false) + Search({ value: 'search' }).width('80%').height(80).enabled(false) + TextArea({ text: 'Text area' }).width('80%').height(80).caretColor(Color.Transparent) + Text('text').width('80%').height(80) + } + .backgroundColor(Color.Gray) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0010_331.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0010_331.ets new file mode 100644 index 00000000..5ebd98fb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0010_331.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 UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0010_331 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0010_331", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Button('我是button1').width('80%').height(80) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + Button('我是button2').width('80%').height(80) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0020_404.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0020_404.ets new file mode 100644 index 00000000..1558ff2a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0020_404.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 UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0020_404 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0020_404", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Button('我是button1').width('80%').height(80) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + Button('我是button2').width('80%').height(80) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0030_273.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0030_273.ets new file mode 100644 index 00000000..30d6adda --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0030_273.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 UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030_273 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0030_273", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Button('我是button1').width('80%').height(80) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + Button('我是button2').width('80%').height(80) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0060_227.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0060_227.ets new file mode 100644 index 00000000..a597eb19 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0060_227.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 UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0060_227 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0060_227", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Button('我是button').width('80%').height(80) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0070_755.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0070_755.ets new file mode 100644 index 00000000..39a710de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0070_755.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 UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070_755 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbility0070_755", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Search({ value: '我是search!' }).width('80%').height(80).caretStyle({ color: Color.Transparent }) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + Button('我是button').width('80%').height(80) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedAbilityWheel0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedAbilityWheel0110.ets new file mode 100644 index 00000000..5ac1b901 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedAbilityWheel0110.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; + +const TAG: string = '[EmbeddedAbilityWheel0110]' +export default class EmbeddedAbilityWheel0110 extends EmbeddedUIExtensionAbility { + + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedPageWheel0110', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedPageWheel0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedPageWheel0110.ets new file mode 100644 index 00000000..efe1173d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedPageWheel0110.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 EmbeddedPageWheel0110 { + @State arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] + + build() { + Column({ space: 10 }) { + List({ space: 20, initialIndex: 0 }) { + ForEach(this.arr, (item: number, index?: number) => { + ListItem() { + Flex({ direction: FlexDirection.Row, alignItems: ItemAlign.Center }) { + Text('' + item) + .width('100%') + .height(80) + .fontSize(20) + .textAlign(TextAlign.Center) + .borderRadius(10) + .backgroundColor(0xFFFFFF) + .flexShrink(1) + } + } + }, (item: string) => item) + }.width('90%') + .id("UIComponentSpecialComponentsUIextensionComponentWheel0110_02") + .scrollBar(BarState.Off) + .friction(0.6) + } + .backgroundColor(Color.Gray) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/UIComponentSpecialComponentsUIextensionComponentWheel0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/UIComponentSpecialComponentsUIextensionComponentWheel0110.ets new file mode 100644 index 00000000..22beb56e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/UIComponentSpecialComponentsUIextensionComponentWheel0110.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 UIComponentSpecialComponentsUIextensionComponentWheel0110 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbilityWheel0060", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(20).width('100%') + UIExtensionComponent(this.want) + .visibility(Visibility.Hidden) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0570.ets new file mode 100644 index 00000000..3c97bad4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0570.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 UIComponentUISupportColor0570 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State colorMode: ThemeColorMode[] = [ThemeColorMode.LIGHT, ThemeColorMode.LIGHT]; + @State colorModeIndex: number = 0; + + @Builder + MyMenu() { + WithTheme({ colorMode: this.colorMode[this.colorModeIndex] }) { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + MenuItem({ content: "菜单选项3", }) + }.backgroundColor($r('sys.color.background_primary')) + } + } + + build() { + Column({ space: 30 }) { + Button("SwitchColorMode") + .onClick(() => { + this.colorModeIndex++; + if (this.colorModeIndex > this.colorMode.length) { + this.colorModeIndex = 0; + } + }).id("UIComponentUISupportColor0570_02") + Button('ClickShowMenu-0570') + .height(80) + .id("UIComponentUISupportColor0570_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0580.ets new file mode 100644 index 00000000..b12c3b74 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0580.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 UIComponentUISupportColor0580 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State colorMode: ThemeColorMode[] = [ThemeColorMode.LIGHT, ThemeColorMode.DARK]; + @State colorModeIndex: number = 0; + + @Builder + MyMenu() { + WithTheme({ colorMode: this.colorMode[this.colorModeIndex] }) { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + MenuItem({ content: "菜单选项3", }) + }.backgroundColor($r('sys.color.background_primary')) + } + } + + build() { + Column({ space: 30 }) { + Button("SwitchColorMode") + .onClick(() => { + this.colorModeIndex++; + if (this.colorModeIndex > this.colorMode.length) { + this.colorModeIndex = 0; + } + }).id("UIComponentUISupportColor0580_02") + Button('ClickShowMenu-0580') + .height(80) + .id("UIComponentUISupportColor0580_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0590.ets new file mode 100644 index 00000000..86ca38d2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0590.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 UIComponentUISupportColor0590 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State colorMode: ThemeColorMode[] = [ThemeColorMode.DARK, ThemeColorMode.LIGHT]; + @State colorModeIndex: number = 0; + + @Builder + MyMenu() { + WithTheme({ colorMode: this.colorMode[this.colorModeIndex] }) { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + MenuItem({ content: "菜单选项3", }) + }.backgroundColor($r('sys.color.background_primary')) + } + } + + build() { + Column({ space: 30 }) { + Button("SwitchColorMode") + .onClick(() => { + this.colorModeIndex++; + if (this.colorModeIndex > this.colorMode.length) { + this.colorModeIndex = 0; + } + }).id("UIComponentUISupportColor0590_02") + Button('ClickShowMenu-0590') + .height(80) + .id("UIComponentUISupportColor0590_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0600.ets new file mode 100644 index 00000000..c190c33f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0600.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 UIComponentUISupportColor0600 { + private iconStr: ResourceStr = $r("app.media.icon"); + @State colorMode: ThemeColorMode[] = [ThemeColorMode.DARK, ThemeColorMode.DARK]; + @State colorModeIndex: number = 0; + + @Builder + MyMenu() { + WithTheme({ colorMode: this.colorMode[this.colorModeIndex] }) { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + MenuItem({ content: "菜单选项3", }) + }.backgroundColor($r('sys.color.background_primary')) + } + } + + build() { + Column({ space: 30 }) { + Button("SwitchColorMode") + .onClick(() => { + this.colorModeIndex++; + if (this.colorModeIndex > this.colorMode.length) { + this.colorModeIndex = 0; + } + }).id("UIComponentUISupportColor0600_02") + Button('ClickShowMenu-0600') + .height(80) + .id("UIComponentUISupportColor0600_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0610.ets new file mode 100644 index 00000000..91f14134 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0610.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 UIComponentUISupportColor0610 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + WithTheme({ colorMode: ThemeColorMode.LIGHT }) { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + MenuItem({ content: "菜单选项3", }) + }.backgroundColor($r('sys.color.background_primary')) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0610') + .height(80) + .id("UIComponentUISupportColor0610_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0620.ets new file mode 100644 index 00000000..5fee12cb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0620.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 UIComponentUISupportColor0620 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + WithTheme({ colorMode: ThemeColorMode.DARK }) { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + MenuItem({ content: "菜单选项3", }) + }.backgroundColor($r('sys.color.background_primary')) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0620') + .height(80) + .id("UIComponentUISupportColor0620_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0630.ets new file mode 100644 index 00000000..416e04ac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0630.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 UIComponentUISupportColor0630 { + private iconStr: ResourceStr = $r("app.media.icon"); + + @Builder + MyMenu() { + WithTheme({ colorMode: ThemeColorMode.SYSTEM }) { + Menu() { + MenuItem({ content: "菜单选项1", }) + MenuItem({ content: "菜单选项2", }) + MenuItem({ content: "菜单选项3", }) + }.backgroundColor($r('sys.color.background_primary')) + } + } + + build() { + Column({ space: 30 }) { + Button('ClickShowMenu-0630') + .height(80) + .id("UIComponentUISupportColor0630_01") + .bindMenu(this.MyMenu, + {}) + }.justifyContent(FlexAlign.Center) + .height('100%') + .width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0780.ets new file mode 100644 index 00000000..aae3d519 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0780.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 UIComponentUISupportColor0780 { + @State colorMode: ThemeColorMode = ThemeColorMode.LIGHT; + @State show: boolean = false; + + build() { + Column() { + Button('Panel') + .id('UIComponentUISupportColor0780_001') + .onClick(() => { + this.show = !this.show; + }) + Button('changeMode') + .id('UIComponentUISupportColor0780_002') + .onClick(() => { + this.colorMode = ThemeColorMode.LIGHT; + }) + WithTheme({ colorMode: this.colorMode }){ + Panel(this.show){ + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundColor($r('sys.color.background_primary')) + } + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0790.ets new file mode 100644 index 00000000..ca711a7a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0790.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 UIComponentUISupportColor0790 { + @State colorMode: ThemeColorMode = ThemeColorMode.LIGHT; + @State show: boolean = false; + + build() { + Column() { + Button('Panel') + .id('UIComponentUISupportColor0790_001') + .onClick(() => { + this.show = !this.show; + }) + Button('changeMode') + .id('UIComponentUISupportColor0790_002') + .onClick(() => { + this.colorMode = ThemeColorMode.DARK; + }) + WithTheme({ colorMode: this.colorMode }){ + Panel(this.show){ + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundColor($r('sys.color.background_primary')) + } + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0800.ets new file mode 100644 index 00000000..b0f3ccdf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0800.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 UIComponentUISupportColor0800 { + @State colorMode: ThemeColorMode = ThemeColorMode.DARK; + @State show: boolean = false; + + build() { + Column() { + Button('Panel') + .id('UIComponentUISupportColor0800_001') + .onClick(() => { + this.show = !this.show; + }) + Button('changeMode') + .id('UIComponentUISupportColor0800_002') + .onClick(() => { + this.colorMode = ThemeColorMode.LIGHT; + }) + WithTheme({ colorMode: this.colorMode }){ + Panel(this.show){ + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundColor($r('sys.color.background_primary')) + } + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0810.ets new file mode 100644 index 00000000..7d914beb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0810.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 UIComponentUISupportColor0810 { + @State colorMode: ThemeColorMode = ThemeColorMode.DARK; + @State show: boolean = false; + + build() { + Column() { + Button('Panel') + .id('UIComponentUISupportColor0810_001') + .onClick(() => { + this.show = !this.show; + }) + Button('changeMode') + .id('UIComponentUISupportColor0810_002') + .onClick(() => { + this.colorMode = ThemeColorMode.DARK; + }) + WithTheme({ colorMode: this.colorMode }){ + Panel(this.show){ + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundColor($r('sys.color.background_primary')) + } + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0820.ets new file mode 100644 index 00000000..8b78d7ec --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0820.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 UIComponentUISupportColor0820 { + @State colorMode: ThemeColorMode = ThemeColorMode.LIGHT; + @State show: boolean = false; + + build() { + Column() { + Button('Panel') + .id('UIComponentUISupportColor0820_001') + .onClick(() => { + this.show = !this.show + }) + WithTheme({ colorMode: this.colorMode }){ + Panel(this.show){ + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundColor($r('sys.color.background_primary')) + } + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0830.ets new file mode 100644 index 00000000..43ae93be --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0830.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 UIComponentUISupportColor0830 { + @State colorMode: ThemeColorMode = ThemeColorMode.DARK; + @State show: boolean = false; + + build() { + Column() { + Button('Panel') + .id('UIComponentUISupportColor0830_001') + .onClick(() => { + this.show = !this.show + }) + WithTheme({ colorMode: this.colorMode }){ + Panel(this.show){ + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundColor($r('sys.color.background_primary')) + } + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0840.ets new file mode 100644 index 00000000..b5b12104 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0840.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 UIComponentUISupportColor0840 { + @State colorMode: ThemeColorMode = ThemeColorMode.SYSTEM; + @State show: boolean = false; + + build() { + Column() { + Button('Panel') + .id('UIComponentUISupportColor0840_001') + .onClick(() => { + this.show = !this.show + }) + WithTheme({ colorMode: this.colorMode }){ + Panel(this.show){ + Column() { + Text('Today Calendar') + Divider() + Text('1. afternoon 4:00 The project meeting') + } + } + .backgroundColor($r('sys.color.background_primary')) + } + }.width('100%').height('100%').backgroundColor(0xDCDCDC) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1480.ets new file mode 100644 index 00000000..19b6b11d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1480.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 UIComponentUISupportColor1480 { + @State colorMode: ThemeColorMode = ThemeColorMode.LIGHT; + + build() { + Column({ space: 8 }) { + Button('ThemeColorMode') + .id("UIComponentUISupportColor1480_001") + .onClick(()=>{ + this.colorMode = ThemeColorMode.LIGHT; + }) + Row() { + WithTheme({ colorMode: this.colorMode }){ + Slider({ + value: 20, + min: 0, + max: 100, + style: SliderStyle.OutSet + }).backgroundColor($r('sys.color.background_primary')) + } + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1490.ets new file mode 100644 index 00000000..8883d5a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1490.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 UIComponentUISupportColor1490 { + @State colorMode: ThemeColorMode = ThemeColorMode.LIGHT; + + build() { + Column({ space: 8 }) { + Button('ThemeColorMode') + .id("UIComponentUISupportColor1490_001") + .onClick(()=>{ + this.colorMode = ThemeColorMode.DARK; + }) + Row() { + WithTheme({ colorMode: this.colorMode }){ + Slider({ + value: 20, + min: 0, + max: 100, + style: SliderStyle.OutSet + }).backgroundColor($r('sys.color.background_primary')) + } + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1500.ets new file mode 100644 index 00000000..3f05f7f5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1500.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 UIComponentUISupportColor1500 { + @State colorMode: ThemeColorMode = ThemeColorMode.DARK; + + build() { + Column({ space: 8 }) { + Button('ThemeColorMode') + .id("UIComponentUISupportColor1500_001") + .onClick(()=>{ + this.colorMode = ThemeColorMode.LIGHT; + }) + Row() { + WithTheme({ colorMode: this.colorMode }){ + Slider({ + value: 20, + min: 0, + max: 100, + style: SliderStyle.OutSet + }).backgroundColor($r('sys.color.background_primary')) + } + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1510.ets new file mode 100644 index 00000000..6cd7c5ba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1510.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 UIComponentUISupportColor1510 { + @State colorMode: ThemeColorMode = ThemeColorMode.DARK; + + build() { + Column({ space: 8 }) { + Button('ThemeColorMode') + .id("UIComponentUISupportColor1510_001") + .onClick(()=>{ + this.colorMode = ThemeColorMode.DARK; + }) + Row() { + WithTheme({ colorMode: this.colorMode }){ + Slider({ + value: 20, + min: 0, + max: 100, + style: SliderStyle.OutSet + }).backgroundColor($r('sys.color.background_primary')) + } + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1520.ets new file mode 100644 index 00000000..f27fb9d4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1520.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 UIComponentUISupportColor1520 { + @State colorMode: ThemeColorMode = ThemeColorMode.LIGHT; + + build() { + Column({ space: 8 }) { + Row() { + WithTheme({ colorMode: this.colorMode }){ + Slider({ + value: 20, + min: 0, + max: 100, + style: SliderStyle.OutSet + }).backgroundColor($r('sys.color.background_primary')) + } + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1530.ets new file mode 100644 index 00000000..3be2ce2c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1530.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 UIComponentUISupportColor1530 { + @State colorMode: ThemeColorMode = ThemeColorMode.DARK; + + build() { + Column({ space: 8 }) { + Row() { + WithTheme({ colorMode: this.colorMode }){ + Slider({ + value: 20, + min: 0, + max: 100, + style: SliderStyle.OutSet + }).backgroundColor($r('sys.color.background_primary')) + } + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1540.ets new file mode 100644 index 00000000..1f8f45ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1540.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 UIComponentUISupportColor1540 { + @State colorMode: ThemeColorMode = ThemeColorMode.SYSTEM; + + build() { + Column({ space: 8 }) { + Row() { + WithTheme({ colorMode: this.colorMode }){ + Slider({ + value: 20, + min: 0, + max: 100, + style: SliderStyle.OutSet + }).backgroundColor($r('sys.color.background_primary')) + } + } + .width('80%') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/ComponentSubwindowHost.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/ComponentSubwindowHost.ets new file mode 100644 index 00000000..ac478089 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/ComponentSubwindowHost.ets @@ -0,0 +1,20 @@ +@Entry +@Component +struct ComponentSubwindowHost { + @State message: string = 'Component SubWindow Page'; + + build() { + RelativeContainer() { + Text(this.message) + .id(' SubWindowPageForHostHelloWorld ') + .fontSize(30) + .fontWeight(FontWeight.Bold) + .alignRules({ + center: { anchor: ' container _', align: VerticalAlign.Center }, + middle: { anchor: '_ container _', align: HorizontalAlign.Center } + }) + .height('100%') + .width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0010.ets new file mode 100644 index 00000000..172b862c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0010.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; +import window from '@ohos.window'; +import { BusinessError } from '@ohos.base'; + +const TAG: string = '[EmbeddedAbilityComponentSubwindow0010]' + +export default class EmbeddedAbilityComponentSubwindow0010 extends EmbeddedUIExtensionAbility { + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0010', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0020.ets new file mode 100644 index 00000000..199f06a7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0020.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; +import window from '@ohos.window'; +import { BusinessError } from '@ohos.base'; + +const TAG: string = '[EmbeddedAbilityComponentSubwindow0020]' + +export default class EmbeddedAbilityComponentSubwindow0020 extends EmbeddedUIExtensionAbility { + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0020', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0030.ets new file mode 100644 index 00000000..1d5bb133 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0030.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; +import window from '@ohos.window'; +import { BusinessError } from '@ohos.base'; + +const TAG: string = '[EmbeddedAbilityComponentSubwindow0030]' + +export default class EmbeddedAbilityComponentSubwindow0030 extends EmbeddedUIExtensionAbility { + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0030', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0040.ets new file mode 100644 index 00000000..8ed8c815 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0040.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 EmbeddedUIExtensionAbility from '@ohos.app.ability.EmbeddedUIExtensionAbility'; +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; +import window from '@ohos.window'; +import { BusinessError } from '@ohos.base'; + +const TAG: string = '[EmbeddedAbilityComponentSubwindow0040]' + +export default class EmbeddedAbilityComponentSubwindow0040 extends EmbeddedUIExtensionAbility { + onCreate() { + console.info(TAG, `onCreate`); + } + + onForeground() { + console.info(TAG, `onForeground`); + } + + onBackground() { + console.info(TAG, `onBackground`); + } + + onDestroy() { + console.info(TAG, `onDestroy`); + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0040', storage); + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0010.ets new file mode 100644 index 00000000..3478eb33 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0010.ets @@ -0,0 +1,106 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import uiExtension from '@ohos.arkui.uiExtension'; +import hilog from '@ohos.hilog'; +import window from '@ohos.window'; +import { BusinessError } from '@ohos.base' + +const DOMAIN_TAG: string = '[UIExtAbility]'; +const DOMAIN_ID: number = 0x00ff; + +let storage = LocalStorage.GetShared() + +@Entry(storage) +@Component +struct EmbeddedPageComponentSubwindow0010 { + @State message: string = 'Hello World'; + private extensionWindow: uiExtension.WindowProxy | undefined = storage.get('extensionWindow'); + private subWindow: window.Window | undefined = undefined; + private isShowWater: boolean = true; + + build() { + Row() { + Column() { + Button("创建子窗口") + .id("UIdComponentSpecialComponentsUIExtensionComponentSubwindow0010_01") + .fontSize(25) + .onClick(() => { + if (!this.extensionWindow) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, 'extensionWinProxy is nullptr!!!'); + return; + } + let subWindowOpts: window.SubWindowOptions = { + title: 'this is a sub window', + decorEnabled: true + }; + this.extensionWindow.createSubWindowWithOptions('subWindowForHost', subWindowOpts) + .then((subWindow: window.Window) => { + hilog.info(DOMAIN_ID, DOMAIN_TAG, '%{public}s', 'createSubWindowForHostWithOptions success!!!'); + this.subWindow = subWindow; + + this.subWindow.loadContent('testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/ComponentSubwindowHost', storage, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to loadContent for subWindow, ${JSON.stringify(err)}`); + return; + } + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to loadContent for subWindow`); + + this.subWindow?.resize(300, 300, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to resize for subWindow, ${JSON.stringify(err)}`); + return; + } + + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to resize for subWindow`); + this.subWindow?.moveWindowTo(100, 100, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to moveWindowTo for subWindow, ${err}`); + return; + } + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to moveWindowTo for subWindow`); + + this.subWindow?.showWindow((err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to showWindow for subWindow, ${JSON.stringify(err)}`); + } else { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to showWindow for subWindow`); + } + }) + }); + }) + }); + }) + .catch((error: BusinessError) => { + hilog.info(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `createSubWindowForHostWithOptions failed, ${JSON.stringify(error)}!!!`); + }); + }) + // embeddedUIExtension不提供设置水印的接口 + // Button('设置/取消水印').fontSize(25).onClick(()=>{ + // if (!this.extensionWindow) { + // hilog.error(DOMAIN_ID, DOMAIN_TAG, 'extensionWinProxy is nullptr!!!'); + // return; + // } + // this.extensionWindow.setWaterMarkFlag(this.isShowWater).then(()=>{ + // hilog.error(DOMAIN_ID, DOMAIN_TAG, 'setWaterMarkFlag: ' + this.isShowWater); + // }) + // this.isShowWater = !this.isShowWater; + // }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0020.ets new file mode 100644 index 00000000..15dfaabd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0020.ets @@ -0,0 +1,106 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import uiExtension from '@ohos.arkui.uiExtension'; +import hilog from '@ohos.hilog'; +import window from '@ohos.window'; +import { BusinessError } from '@ohos.base' + +const DOMAIN_TAG: string = '[UIExtAbility]'; +const DOMAIN_ID: number = 0x00ff; + +let storage = LocalStorage.GetShared() + +@Entry(storage) +@Component +struct EmbeddedPageComponentSubwindow0020{ + @State message: string = 'Hello World'; + private extensionWindow: uiExtension.WindowProxy | undefined = storage.get('extensionWindow'); + private subWindow: window.Window | undefined = undefined; + private isShowWater: boolean = true; + + build() { + Row() { + Column() { + Button("创建子窗口") + .id("UIdComponentSpecialComponentsUIExtensionComponentSubwindow0020_01") + .fontSize(25) + .onClick(() => { + if (!this.extensionWindow) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, 'extensionWinProxy is nullptr!!!'); + return; + } + let subWindowOpts: window.SubWindowOptions = { + title: 'this is a sub window', + decorEnabled: true + }; + this.extensionWindow.createSubWindowWithOptions('subWindowForHost', subWindowOpts) + .then((subWindow: window.Window) => { + hilog.info(DOMAIN_ID, DOMAIN_TAG, '%{public}s', 'createSubWindowForHostWithOptions success!!!'); + this.subWindow = subWindow; + + this.subWindow.loadContent('testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/DoesNotExistPage', storage, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to loadContent for subWindow, ${JSON.stringify(err)}`); + return; + } + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to loadContent for subWindow`); + + this.subWindow?.resize(300, 300, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to resize for subWindow, ${JSON.stringify(err)}`); + return; + } + + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to resize for subWindow`); + this.subWindow?.moveWindowTo(100, 100, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to moveWindowTo for subWindow, ${err}`); + return; + } + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to moveWindowTo for subWindow`); + + this.subWindow?.showWindow((err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to showWindow for subWindow, ${JSON.stringify(err)}`); + } else { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to showWindow for subWindow`); + } + }) + }); + }) + }); + }) + .catch((error: BusinessError) => { + hilog.info(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `createSubWindowForHostWithOptions failed, ${JSON.stringify(error)}!!!`); + }); + }) + // embeddedUIExtension不提供设置水印的接口 + // Button('设置/取消水印').fontSize(25).onClick(()=>{ + // if (!this.extensionWindow) { + // hilog.error(DOMAIN_ID, DOMAIN_TAG, 'extensionWinProxy is nullptr!!!'); + // return; + // } + // this.extensionWindow.setWaterMarkFlag(this.isShowWater).then(()=>{ + // hilog.error(DOMAIN_ID, DOMAIN_TAG, 'setWaterMarkFlag: ' + this.isShowWater); + // }) + // this.isShowWater = !this.isShowWater; + // }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0030.ets new file mode 100644 index 00000000..905e9311 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0030.ets @@ -0,0 +1,106 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import uiExtension from '@ohos.arkui.uiExtension'; +import hilog from '@ohos.hilog'; +import window from '@ohos.window'; +import { BusinessError } from '@ohos.base' + +const DOMAIN_TAG: string = '[UIExtAbility]'; +const DOMAIN_ID: number = 0x00ff; + +let storage = LocalStorage.GetShared() + +@Entry(storage) +@Component +struct EmbeddedPageComponentSubwindow0030 { + @State message: string = 'Hello World'; + private extensionWindow: uiExtension.WindowProxy | undefined = storage.get('extensionWindow'); + private subWindow: window.Window | undefined = undefined; + private isShowWater: boolean = true; + + build() { + Row() { + Column() { + Button("创建子窗口") + .id("UIdComponentSpecialComponentsUIExtensionComponentSubwindow0030_01") + .fontSize(25) + .onClick(() => { + if (!this.extensionWindow) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, 'extensionWinProxy is nullptr!!!'); + return; + } + let subWindowOpts: window.SubWindowOptions = { + title: 'this is a sub window', + decorEnabled: true + }; + this.extensionWindow.createSubWindowWithOptions('subWindowForHost', subWindowOpts) + .then((subWindow: window.Window) => { + hilog.info(DOMAIN_ID, DOMAIN_TAG, '%{public}s', 'createSubWindowForHostWithOptions success!!!'); + this.subWindow = subWindow; + + this.subWindow.loadContent('testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/ComponentSubwindowHost', storage, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to loadContent for subWindow, ${JSON.stringify(err)}`); + return; + } + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to loadContent for subWindow`); + + this.subWindow?.resize(300, 300, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to resize for subWindow, ${JSON.stringify(err)}`); + return; + } + + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to resize for subWindow`); + this.subWindow?.moveWindowTo(100, 100, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to moveWindowTo for subWindow, ${err}`); + return; + } + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to moveWindowTo for subWindow`); + + this.subWindow?.showWindow((err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to showWindow for subWindow, ${JSON.stringify(err)}`); + } else { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to showWindow for subWindow`); + } + }) + }); + }) + }); + }) + .catch((error: BusinessError) => { + hilog.info(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `createSubWindowForHostWithOptions failed, ${JSON.stringify(error)}!!!`); + }); + }) + // embeddedUIExtension不提供设置水印的接口 + // Button('设置/取消水印').fontSize(25).onClick(()=>{ + // if (!this.extensionWindow) { + // hilog.error(DOMAIN_ID, DOMAIN_TAG, 'extensionWinProxy is nullptr!!!'); + // return; + // } + // this.extensionWindow.setWaterMarkFlag(this.isShowWater).then(()=>{ + // hilog.error(DOMAIN_ID, DOMAIN_TAG, 'setWaterMarkFlag: ' + this.isShowWater); + // }) + // this.isShowWater = !this.isShowWater; + // }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0040.ets new file mode 100644 index 00000000..cc9e506a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0040.ets @@ -0,0 +1,106 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import uiExtension from '@ohos.arkui.uiExtension'; +import hilog from '@ohos.hilog'; +import window from '@ohos.window'; +import { BusinessError } from '@ohos.base' + +const DOMAIN_TAG: string = '[UIExtAbility]'; +const DOMAIN_ID: number = 0x00ff; + +let storage = LocalStorage.GetShared() + +@Entry(storage) +@Component +struct EmbeddedPageComponentSubwindow0040{ + @State message: string = 'Hello World'; + private extensionWindow: uiExtension.WindowProxy | undefined = storage.get('extensionWindow'); + private subWindow: window.Window | undefined = undefined; + private isShowWater: boolean = true; + + build() { + Row() { + Column() { + Button("创建子窗口") + .id("UIdComponentSpecialComponentsUIExtensionComponentSubwindow0040_01") + .fontSize(25) + .onClick(() => { + if (!this.extensionWindow) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, 'extensionWinProxy is nullptr!!!'); + return; + } + let subWindowOpts: window.SubWindowOptions = { + title: 'this is a sub window', + decorEnabled: true + }; + this.extensionWindow.createSubWindowWithOptions('subWindowForHost', subWindowOpts) + .then((subWindow: window.Window) => { + hilog.info(DOMAIN_ID, DOMAIN_TAG, '%{public}s', 'createSubWindowForHostWithOptions success!!!'); + this.subWindow = subWindow; + + this.subWindow.loadContent('testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/DoesNotExistPage', storage, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to loadContent for subWindow, ${JSON.stringify(err)}`); + return; + } + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to loadContent for subWindow`); + + this.subWindow?.resize(300, 300, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to resize for subWindow, ${JSON.stringify(err)}`); + return; + } + + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to resize for subWindow`); + this.subWindow?.moveWindowTo(100, 100, (err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to moveWindowTo for subWindow, ${err}`); + return; + } + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to moveWindowTo for subWindow`); + + this.subWindow?.showWindow((err, data) => { + if (err && err.code != 0) { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `failed to showWindow for subWindow, ${JSON.stringify(err)}`); + } else { + hilog.error(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `success to showWindow for subWindow`); + } + }) + }); + }) + }); + }) + .catch((error: BusinessError) => { + hilog.info(DOMAIN_ID, DOMAIN_TAG, '%{public}s', `createSubWindowForHostWithOptions failed, ${JSON.stringify(error)}!!!`); + }); + }) + // embeddedUIExtension不提供设置水印的接口 + // Button('设置/取消水印').fontSize(25).onClick(()=>{ + // if (!this.extensionWindow) { + // hilog.error(DOMAIN_ID, DOMAIN_TAG, 'extensionWinProxy is nullptr!!!'); + // return; + // } + // this.extensionWindow.setWaterMarkFlag(this.isShowWater).then(()=>{ + // hilog.error(DOMAIN_ID, DOMAIN_TAG, 'setWaterMarkFlag: ' + this.isShowWater); + // }) + // this.isShowWater = !this.isShowWater; + // }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0010.ets new file mode 100644 index 00000000..dd014e00 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0010.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 UIdComponentSpecialComponentsUIExtensionComponentSubwindow0010 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbilityComponentSubwindow0010", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0020.ets new file mode 100644 index 00000000..a8a819b5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0020.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 UIdComponentSpecialComponentsUIExtensionComponentSubwindow0020 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbilityComponentSubwindow0020", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0030.ets new file mode 100644 index 00000000..aa93409d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0030.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 UIdComponentSpecialComponentsUIExtensionComponentSubwindow0030 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbilityComponentSubwindow0030", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0040.ets new file mode 100644 index 00000000..39c2e28d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0040.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 UIdComponentSpecialComponentsUIExtensionComponentSubwindow0040 { + @State message: string = 'EmbedWindow: ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "EmbeddedAbilityComponentSubwindow0040", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UiComponentSpecialComponentsUiExtensionComponentPopupPage0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UiComponentSpecialComponentsUiExtensionComponentPopupPage0010.ets new file mode 100644 index 00000000..920fabd8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UiComponentSpecialComponentsUiExtensionComponentPopupPage0010.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. + */ +import { common } from '@kit.AbilityKit' + +@Entry +@Component +struct UiComponentSpecialComponentsUiExtensionComponentPopupPage0010 { + build() { + Column() {}.backgroundColor(Color.Pink) + .justifyContent(FlexAlign.Center) + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0020.ets new file mode 100644 index 00000000..20ded43d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0020.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 { common } from '@kit.AbilityKit' + +@Entry +@Component +struct UlComponentSpecialComponentsUiExtensionComponentAbexitPage0020 { + private context = getContext(this) as common.UIAbilityContext + private crash:ESObject = undefined + build() { + Column() { + Button("点击出现crash") + .id("UlComponentSpecialComponentsUiExtensionComponentAbexitPage0020") + .borderRadius(8) + .backgroundColor(0x317aff) + .width(420) + .height(80) + .accessibilityGroup(true) + .accessibilityLevel("yes") + .accessibilityText("Text_accessibilityText") + .onClick(() => { + JSON.stringify(this.crash.toString()) + }) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0030.ets new file mode 100644 index 00000000..33eaec5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0030.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { common } from '@kit.AbilityKit' + +@Entry +@Component +struct UlComponentSpecialComponentsUiExtensionComponentAbexitPage0030 { + private context = getContext(this) as common.UIAbilityContext + build() { + + Column() { + Button("点击terminateSelfWithResult") + .id("UlComponentSpecialComponentsUiExtensionComponentAbexitPage0030") + .borderRadius(8) + .backgroundColor(0x317aff) + .width(420) + .height(80) + .accessibilityGroup(true) + .accessibilityLevel("yes") + .accessibilityText("Text_accessibilityText") + .onClick(() => { + let want: Want = { + bundleName: 'com.example.myapplication', + abilityName: 'EntryAbility' + }; + let resultCode = 0; + // 返回给接口调用方AbilityResult信息 + let abilityResult: common.AbilityResult = { + want, + resultCode + }; + this.context.terminateSelfWithResult(abilityResult) + }) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0040.ets new file mode 100644 index 00000000..7419fd07 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0040.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 { common } from '@kit.AbilityKit' + +@Entry +@Component +struct UlComponentSpecialComponentsUiExtensionComponentAbexitPage0040 { + private context = getContext(this) as common.UIAbilityContext + build() { + + Column() { + Button("点击terminateSelf") + .id("UlComponentSpecialComponentsUiExtensionComponentAbexitPage0040") + .borderRadius(8) + .backgroundColor(0x317aff) + .width(420) + .height(80) + .accessibilityGroup(true) + .accessibilityLevel("yes") + .accessibilityText("Text_accessibilityText") + .onClick(() => { + this.context.terminateSelf() + }) + } + .justifyContent(FlexAlign.Center) + .width('100%') + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UiPopupProvider0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UiPopupProvider0010.ets new file mode 100644 index 00000000..e0d25c34 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UiPopupProvider0010.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 UIExtensionAbility from '@ohos.app.ability.UIExtensionAbility' +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession' + +const TAG: string = '[UiPopupProvider0010]' +export default class UiPopupProvider0010 extends UIExtensionAbility { + + onCreate() { + console.log(TAG, `UIExtAbility onCreate`) + } + onForeground() { + console.log(TAG, `UIExtAbility onForeground`) + } + + onBackground() { + console.log(TAG, `UIExtAbility onBackground`) + } + + onDestroy() { + console.log(TAG, `UIExtAbility onDestroy`) + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UiComponentSpecialComponentsUiExtensionComponentPopupPage0010', storage); + + } + + onSessionDestroy(session: UIExtensionContentSession) { + console.log(TAG, `UIExtAbility onSessionDestroy`) + } + + +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0020.ets new file mode 100644 index 00000000..8274c738 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0020.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 UIExtensionAbility from '@ohos.app.ability.UIExtensionAbility' +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession' + +const TAG: string = '[UlAbexitProvider0020]' +export default class UlAbexitProvider0020 extends UIExtensionAbility { + + onCreate() { + console.log(TAG, `UIExtAbility onCreate`) + } + onForeground() { + console.log(TAG, `UIExtAbility onForeground`) + } + + onBackground() { + console.log(TAG, `UIExtAbility onBackground`) + } + + onDestroy() { + console.log(TAG, `UIExtAbility onDestroy`) + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent("testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0020", storage); + + } + + + onSessionDestroy(session: UIExtensionContentSession) { + console.log(TAG, `UIExtAbility onSessionDestroy`) + } + + +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0030.ets new file mode 100644 index 00000000..9f344c89 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0030.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 UIExtensionAbility from '@ohos.app.ability.UIExtensionAbility' +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession' + +const TAG: string = '[UlAbexitProvider0030]' +export default class UlAbexitProvider0030 extends UIExtensionAbility { + + onCreate() { + console.log(TAG, `UIExtAbility onCreate`) + } + onForeground() { + console.log(TAG, `UIExtAbility onForeground`) + } + + onBackground() { + console.log(TAG, `UIExtAbility onBackground`) + } + + onDestroy() { + console.log(TAG, `UIExtAbility onDestroy`) + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0030', storage); + + } + + + onSessionDestroy(session: UIExtensionContentSession) { + console.log(TAG, `UIExtAbility onSessionDestroy`) + } + + +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0040.ets new file mode 100644 index 00000000..f1bf90d2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0040.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 UIExtensionAbility from '@ohos.app.ability.UIExtensionAbility' +import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession' + +const TAG: string = '[UlAbexitProvider0040]' +export default class UlAbexitProvider0040 extends UIExtensionAbility { + + onCreate() { + console.log(TAG, `UIExtAbility onCreate`) + } + onForeground() { + console.log(TAG, `UIExtAbility onForeground`) + } + + onBackground() { + console.log(TAG, `UIExtAbility onBackground`) + } + + onDestroy() { + console.log(TAG, `UIExtAbility onDestroy`) + } + + onSessionCreate(want: Want, session: UIExtensionContentSession) { + console.info(TAG, `onSessionCreate, want: ${JSON.stringify(want)}`); + let param: Record = { + 'session': session + }; + let storage: LocalStorage = new LocalStorage(param); + session.loadContent('testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0040', storage); + + } + + + onSessionDestroy(session: UIExtensionContentSession) { + console.log(TAG, `UIExtAbility onSessionDestroy`) + } + + +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UiComponentSpecialComponentsUiExtensionComponentPopup0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UiComponentSpecialComponentsUiExtensionComponentPopup0010.ets new file mode 100644 index 00000000..4222f1ac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UiComponentSpecialComponentsUiExtensionComponentPopup0010.ets @@ -0,0 +1,49 @@ +// xxx.ets +@Entry +@Component +struct PopupExample { + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UiPopupProvider0010", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + @State handlePopup: boolean = false + @State customPopup: boolean = false + + // popup构造器定义弹框内容 + @Builder popupBuilder() { + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + }) + .onError((error) => { + }) + } + + build() { + Flex({ direction: FlexDirection.Column }) { + // CustomPopupOptions 类型设置弹框内容 + Button('CreatePopup') + .onClick(() => { + this.customPopup = !this.customPopup + }) + .id('UiComponentSpecialComponentsUiExtensionComponentPopup0010') + .bindPopup(this.customPopup, { + builder: this.popupBuilder, + placement: Placement.Top, + showInSubWindow: false, + onStateChange: (e) => { + if (!e.isVisible) { + this.customPopup = false + } + }, + // 设置弹窗显示动效与退出动效为缩放动效 + transition:TransitionEffect.scale({ x: 1, y: 0 }).animation({ duration: 500, curve: Curve.Ease }) + }) + .position({ x: 80, y: 300 }) + }.width('100%').padding({ top: 5 }) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0020.ets new file mode 100644 index 00000000..2255503e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0020.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 UlComponentSpecialComponentsUiExtensionComponentAbexit0020 { + @State message: string = '无任何触发' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UlAbexitProvider0020", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(`拉起时显示消息:${this.message}`).fontSize(20) + Text(`点击Button触发crash:${this.message}`).fontSize(20) + Text(this.message).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = 'Termination: code = ' + info.code + ', want = ' + JSON.stringify(info.want); + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0030.ets new file mode 100644 index 00000000..8b75f7aa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0030.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 UlComponentSpecialComponentsUiExtensionComponentAbexit0030 { + @State message: string = '无任何触发' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UlAbexitProvider0030", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(`没有调用terminateSelfWithResult之前${this.message}`).fontSize(30) + Text(`调用之后terminateSelfWithResult,触发 JreleaseCode:${this.message}`).fontSize(30) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + .onTerminated((info) => { + this.message = info.code.toString() + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0040.ets new file mode 100644 index 00000000..fea9b017 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0040.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 UlComponentSpecialComponentsUiExtensionComponentAbexit0040 { + @State message: string = ': ' + private want: Want = { + bundleName: "com.example.uicompare", + abilityName: "UlAbexitProvider0040", + parameters: { + "ability.want.params.uiExtensionType": "sys/commonUI", + } + } + + build() { + Row() { + Column() { + Text(`未触发退出事件之前:无触发`).fontSize(20) + Text(`触发退出事件之后:${this.message}`).fontSize(20) + UIExtensionComponent(this.want) + .width('60%') + .height('60%') + //官方文档已经说明,onRelease事件在12之后废弃,请使用onTerminated事件替代 + .onTerminated((info) => { + this.message = '正常触发退出事件'; + }) + .onError((error) => { + this.message = 'Error: code = ' + error.code; + }) + + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/demo.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/demo.ets new file mode 100644 index 00000000..a4c08ada --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/demo.ets @@ -0,0 +1,55 @@ +/* + * 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 Index { + @State message: string = 'Hello' + @State fontColor: Color = Color.Brown + + onPageShow() { + console.info('NavDestination onPageShow') + + } + + build() { + Row() { + Column() { + Text(this.message) + .fontSize(20) + .fontWeight(FontWeight.Bold) + .fontColor(Color.Green) + .margin({ top: 20 }) + .key('text_demo') + + Button('click') + .fontSize(16) + .fontWeight(FontWeight.Bold) + .backgroundColor(this.fontColor) + .margin({ top: 20 }) + .key('button_demo') + .onClick(() => { + this.message = 'Hi All' + }) + } + .width('100%') + .height('100%') + .backgroundColor(Color.Orange) + + } + .defaultFocus(true) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 b/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 index e58bd507..67990cc1 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 @@ -26,6 +26,24 @@ }, { "name":"ohos.permission.INTERNET" + }, + { + "name": "ohos.permission.SYSTEM_FLOAT_WINDOW", + "usedScene": { + "abilities": [ + "EntryAbility" + ], + "when": "inuse" + } + }, + { + "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS" + }, + { + "name": "ohos.permission.CAPTURE_SCREEN" + }, + { + "name": "ohos.permission.ACCESS_SCREEN_LOCK_INNER" } ], "abilities": [ @@ -49,6 +67,344 @@ } ] } + ], + "extensionAbilities": [ + { + "name": "Avoidader0020", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0020.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "Avoidader0010", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0010.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "Avoidader0030", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0030.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "Avoidader0140", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderAbility0140.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "RestrictnesTing0040", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0040.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "RestrictnesTing0040_2", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0040_2.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbility0080", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0080.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbility0060", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0060.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbility0030", + "srcEntry": "./ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedAbility0030.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbility0040", + "srcEntry": "./ets/testability/pages/UIComponentPopupboxBindMenu/EmbeddedAbility0040.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbility0070_755", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0070_755.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbility0010_331", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0010_331.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbility0020_404", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0020_404.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbility0060_227", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0060_227.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbility0030_273", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedAbility0030_273.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityWheel0110", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedAbilityWheel0110.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityEmbeddComponent0060", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedAbilityEmbeddComponent0060.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityRestrictnesTing0070", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbilityRestrictnesTing0070.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityComponentSubwindow0010", + "srcEntry": "./ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0010.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityComponentSubwindow0040", + "srcEntry": "./ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0040.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityComponentSubwindow0030", + "srcEntry": "./ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0030.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityComponentSubwindow0020", + "srcEntry": "./ets/testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedAbilityComponentSubwindow0020.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityComponentInterface0050", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0050.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityComponentInterface0060", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0060.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityComponentInterface0070", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0070.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentAbility0030", + "srcEntry": "./ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0030.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentAbility0040", + "srcEntry": "./ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0040.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentAbility0050", + "srcEntry": "./ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0050.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentAbility0060", + "srcEntry": "./ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0060.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentAbility0070", + "srcEntry": "./ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0070.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentAbility0080", + "srcEntry": "./ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0080.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentAbility0090", + "srcEntry": "./ets/testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentAbility0090.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentAccessibilityReportProvider0080", + "srcEntry": "./ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAccessibilityReportProvider0080.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentAccessibilityReportProvider0090", + "srcEntry": "./ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAccessibilityReportProvider0090.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UlAbexitProvider0020", + "srcEntry": "./ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0020.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionAnalyseUIComponentUIContextProvider0010", + "srcEntry": "./ets/testability/pages/MenuUIExtensionProvider/UIExtensionAnalyseUIComponentUIContextProvider0010.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UlAbexitProvider0030", + "srcEntry": "./ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0030.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UlAbexitProvider0040", + "srcEntry": "./ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0040.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UlAbexitProvider0040", + "srcEntry": "./ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UiPopupProvider0010.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UlAbexitProvider0020", + "srcEntry": "./ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0020.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UlAbexitProvider0030", + "srcEntry": "./ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0030.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UlAbexitProvider0040", + "srcEntry": "./ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UlAbexitProvider0040.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UlAbexitProvider0040", + "srcEntry": "./ets/testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionProvider/UiPopupProvider0010.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentAvoidAreaProvider0040", + "srcEntry": "./ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentAvoidAreaProvider0040.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "UIExtensionComponentStyleLanguageProvider0210", + "srcEntry": "./ets/testability/pages/MenuUIExtensionProvider/UIExtensionComponentStyleLanguageProvider0210.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbility0020", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedAbility0020.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityComponentInterface0010", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0010.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + }, + { + "name": "EmbeddedAbilityComponentInterface0020", + "srcEntry": "./ets/testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedAbilityComponentInterface0020.ets", + "type": "embeddedUI", + "exported": true, + "type": "sys/commonUI" + } ] } -} +} \ 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..e07e11d0 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 @@ -11,6 +11,14 @@ { "name": "bbb", "value": "5" + }, + { + "name": "arrowOffset_50vp", + "value": "50.0vp" + }, + { + "name": "arrowOffset_1000", + "value": "1000" } ] } \ No newline at end of file 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..9cdbb3ac 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,26 @@ { "name": "20string", "value": "20" + }, + { + "name": "size_30_px", + "value": "30px" + }, + { + "name": "menu_radius_40px", + "value": "40px" + }, + { + "name": "menu_divider_color", + "value": "#66ff0000" + }, + { + "name": "loadingDialogRadius", + "value": "30vp" + }, + { + "name": "dollar_dollar", + "value": "$$" } ] } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/4.png b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/4.png new file mode 100644 index 0000000000000000000000000000000000000000..8fa69e7f325b1e32f4e64ad802991539787e1d2c GIT binary patch literal 320574 zcmV*rKt#WZP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!~g&e!~vBn4jTXf|D{PpK~#8N?EU4F z97(?Z3-*7qFZS)O*_!ROyL*3j_u$MKXa=>qg)OxhikX?2nZ?X1QHiOUSyYT-RSBPc z9*^`=C_6G+Qg_dsId@)s%)=uiA|o>+{o`K`caIm&9^HTsPHe`|q#ZTKI#GRm z4Yyy9s^jZXaeSjmtB-f0<~UyuK<$Z+z#Q*F<&h4aM;DL3micuCEo)unkxrB!Y7a`q z;f|oxpWI-MBed+!*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ources/base/media/img_gif.gif b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/img_gif.gif new file mode 100644 index 0000000000000000000000000000000000000000..79a66a714cf45f179bd7b41ecac99d452b8bf0f0 GIT binary patch literal 32876 zcmb?hV{;`8tUf)}sk`-dYi(^~x3+ED#ui)Kwr$(CZQIuN-1pw!a5I^F$|N(vOy+qa zCLzknWdMKzK)nC}bRZfAR2DisZrbnc?AUB9$n-R%eAJY`nTdIMiGB+cFi4QIYqN4H z(y*HFav8EPSc|e+3G%o}@w&>h{Z;(sCP+t1D@04dPt7Jt%_T*{B+9`p$;KohLMgU*p8g}_APmK47es}g{D{~{?l1Lg(yA2 zR5O7fdyP_Op*l}te`nJ$XUBPQjb(My4NK=OXRkFw+fyHY;($NIVLn_TUW5^U^+O$Q z@|kW*dDmhYyMjbxqMVk}Bt~PzZ{kHR%EhnhWjR?)wy;rd6M2bw3BpKPNmtN1dOR?aO?ByLpE0c>3@91O>VV z5=Q$`MEX+3_|qi?vt&l_B?R+D1#lO|izNg*1x1Kdrpj~{$afVg4U}pQSE&q?>5kT# zOf*`}w3$z}*v@u1&G&dL4I~F7WkzH~MMf2+B{$Vn##WT?1%@A|q#j1cofj8fx7J@b z*DY2Qyf20QTT1x1miamD|9Fu0xR?028~tyy;NMQ!-9X2~XwU6T*XMra*KzyTQS;(( zTk+&<)6He<-oniE*yGf|+hX7I(%9S9)XU1)>(1QQ`M}rp#K-Q``{Clh%eBwb74Y36 z_+j(@a=!2N`Ri#P{B{g}J^Wt_{(5cbJn`Dxz5oz9wf1Oj-arT{sbr>jUH(u6 z4vXdHXkEcb43SVcojmo|=xKuD8H~rPJ(j0B+a6A4 z3vQZ3Bh_yAR&~VoMQCdtZ*~VFz=U$T6m~nk4Haq{pYHcZM+Xx*ay>r(7Asb)e4wEDmeaObXa>qIHsk0!9r6ad!$&7l>4D%$>#ea zdSznEVYJPs`w?UWK{`r|%jO4BoXa7KR*Xld2QmCG9vN&@#Hyigf)r(k@zOB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O3E zNRR-?JmF0|8c-Q3P#Yc6&e+cyF@&xR32WHM03{=E08-n@hWjK^Dy<9Ve1s+q32w;B zKZwu}h0>6b(kdO(&-lv?MF|f*Qc>Cl`gE0PpgJ;*)4zyKV_XShbkRoYhHQvY6`_V~ z;7~aYRJwqKLjMp^ zb3IpdO;>eYS9WbzcYRlQjaPY{S9+~id%ahD%~yThSAOkRfBjd04OoF4Sb{BBgFRS; zO<09pScYv_hkaOxjaZ4DScMyPBT8!97e)L+g^{|?VJF%r&Jahs+Jlmu-m4s2GbBlnvfa39oiNIgK*fjk{sNfl`ZF(+dNd`aI$gjVI=iX|ic!H5QxfK>eBfSz51_?Ii zKweH5539jQ&S_9_;a>|aYG7#J5d%<6 zP+U%ldCn9-?S^591g`D{KUV4;*@o-tXEPRuT2MGAfLkTZUYaI}Zb-{k&WJ5;;$Em{ zu+ETD*1x9{zwJq708Ga`F=&;L;2Ok;G=-Q)FzUNrki=_)`veE*bwNA4Y7lJ+f_6zb zZkk9q>BUwLaTsDL2-=S*hKKtd>FWk-uxpV96HNN8J1Ln{%R0E))UpU8P;Nw3igtQdymZ0%JF!77X-VASXWaWncjBAWQ z)TVjDm~doG{0JpiQy^bfKIZWOhnNI+37f8w@ka3)VeuyiR)Vf_jG%CcS?-r$VldZ; z?2Yg)7uM^x>sQVdB9DnJmgA2g1_obqW7YC54T&ZnK%IE=Gc4Z-F5P83C)PesMUkL! j&L)X~Mtlniw82?zi?D+B1g literal 0 HcmV?d00001 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/svg0160.svg b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/svg0160.svg new file mode 100644 index 00000000..7b0ebc1f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/svg0160.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ 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..cf84a058 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 @@ -1801,6 +1801,863 @@ "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface007", "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface008", "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface009", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010" + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0020", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0040", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0110", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0140", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0170", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0190", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0220", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0230", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0250", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0260", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0270", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0280", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0240", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0210", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0290", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0080", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0120", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0060", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0100", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0010", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0070", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0030", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0180", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0200", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0150", + "testability/pages/UIComponentPopupboxMenuInterface/UIComponentPopupboxMenuInterface0130", + "testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0010", + "testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0020", + "testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0030", + "testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0040", + "testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0050", + "testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0060", + "testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0070", + "testability/pages/UIComponentButtonSliderUx/UIComponentButtonSliderUx0080", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0040", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0040_2", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0050", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0080", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0090", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0170", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0030", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0130", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0110", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0100", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0120", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0150", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0140", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0040", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0160", + "testability/pages/UIComponentPopupboxMenuBindContextMenuIsShown/UIComponentPopupboxMenuBindContextMenuIsShown0180", + "testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0080", + "testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0070", + "testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0020", + "testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0220", + "testability/pages/UIComponentPopupboxMenuPcheight/UIComponentPopupboxMenuPcheight0010", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1400", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1660", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0750", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1180", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1900", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0670", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1470", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0710", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0420", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1570", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1210", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1480", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1500", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1250", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1850", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0500", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1550", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0730", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1670", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0920", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1820", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1540", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0400", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0820", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1040", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1790", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1030", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1760", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1310", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0790", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1190", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1610", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1380", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1910", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1650", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0910", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1390", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1800", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1090", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1720", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0390", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1100", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0410", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0510", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0630", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1450", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1890", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1320", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1150", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0860", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1920", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1590", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0930", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0810", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0450", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0720", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1050", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0530", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0970", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0850", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1700", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1020", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0840", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1360", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1280", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0780", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0570", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1270", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0610", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0640", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1330", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1420", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1460", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0700", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1000", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0960", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0460", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1110", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1830", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0950", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1870", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1230", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1490", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1240", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0680", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0830", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1810", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1600", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0440", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1200", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0520", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0990", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1220", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0870", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1680", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1160", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0580", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1370", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1730", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1750", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1410", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1130", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0480", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1580", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1170", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0600", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0380", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1350", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0620", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0430", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1080", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1140", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0770", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0550", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0980", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0760", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1120", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0470", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0650", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1640", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0800", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1070", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1300", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0940", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0740", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1010", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1740", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1860", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0900", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1880", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0690", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1690", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1840", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0490", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0560", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1630", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1430", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0540", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0370", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1780", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0880", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0890", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1620", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1260", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1340", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1290", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0590", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1770", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1710", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios0660", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1440", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1060", + "testability/pages/UIComponentPopupboxMenuScenarios/UIComponentPopupboxMenuScenarios1560", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement001", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement008", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement009", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement010", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement017", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0050", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0020", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0040", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0060", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0030", + "testability/pages/UIComponentPopupboxMenuEnhancement/UIComponentPopupboxMenuEnhancement0070", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0040", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0070", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0010", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0050", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0080", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0030", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0020", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0160", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0120", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0090", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0140", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0170", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0110", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0100", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0180", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0150", + "testability/pages/UIComponentPopupboxMenuUxconsistency/UIComponentPopupboxMenuUxconsistency0130", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0570", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0610", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0600", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0630", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0590", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0580", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0620", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1510", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1500", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1480", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1520", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1530", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1540", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor1490", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0830", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0820", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0780", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0790", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0840", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0800", + "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor0810", + "testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0200", + "testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0020", + "testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0210", + "testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0010", + "testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0170", + "testability/pages/UIComponentButtonSliderSelectedborderradius/UIComponentButtonSliderSelectedborderradius0030", + "testability/pages/UIComponentButtonSliderLayout/UIComponentButtonSliderLayout0020", + "testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0120", + "testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0130", + "testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0190", + "testability/pages/UIComponentButtonSliderShun/UIComponentButtonSliderShun0200", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0200", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0230", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0170", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0220", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0030", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0090", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0180", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0190", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0010", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0110", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0040", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0080", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0070", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0050", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0060", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0140", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0120", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0130", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0100", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0160", + "testability/pages/UIComponentButtonSliderTrackcolor/UIComponentButtonSliderTrackcolor0150", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0030", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0070", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0040", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0130", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0050", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0020", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0140", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0010", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0150", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0160", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0060", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0090", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0100", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0110", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0080", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0120", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0190", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0200", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0210", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0240", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0250", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0220", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0260", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0520", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0270", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0310", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0280", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0340", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0330", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0350", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0360", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0320", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0390", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0400", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0420", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0410", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0430", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0440", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0450", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0460", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0470", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0490", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0500", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0530", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0540", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0510", + "testability/pages/UIComponentPopupboxMenuHmsymbol/UIComponentPopupboxMenuHmsymbol0480", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0020", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0030", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0040", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0140", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0070", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0080", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0120", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0160", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0170", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0060", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0190", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0050", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0100", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0130", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0010", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0150", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0180", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0200", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0110", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0210", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0220", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0230", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0340", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0330", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0320", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0270", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0360", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0310", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0260", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0240", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0280", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0290", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0400", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0390", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0300", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0380", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0410", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0350", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0420", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0430", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0370", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0440", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0460", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0450", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0250", + "testability/pages/UIComponentPopupboxMenuCorner/UIComponentPopupboxMenuCorner0090", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0090", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0020", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0030", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0050", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0060", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0070", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0080", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0100", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0110", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0120", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0130", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0140", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0150", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0160", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0170", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0180", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0190", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0210", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0240", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0230", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0260", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0220", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0250", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0280", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0200", + "testability/pages/UIComponentButtonSliderRange/UIComponentButtonSliderRange0290", + "testability/pages/UIComponentSliderSliderInterface/UIComponentSliderSliderInterface002", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0020", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0040", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0120", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0050", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0010", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0080", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0100", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0090", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0170", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0060", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0110", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0130", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0030", + "testability/pages/UIComponentButtonSliderSliderInteractionMode/UIComponentButtonSliderSliderInteractionMode0150", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0240", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0330", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0260", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0230", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0270", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0300", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0340", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0350", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0310", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0250", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0360", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0320", + "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle0290", + "testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0030", + "testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0020", + "testability/pages/UIComponentOtherPanelInteraction/UIComponentOtherPanelInteraction0010", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0300", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0160", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0360", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0190", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0070", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0250", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0110", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0130", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0320", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0100", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0140", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0340", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0290", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0380", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0330", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0280", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0370", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0080", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0120", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0400", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0270", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0350", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0040", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0240", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0220", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0390", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0180", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0230", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0170", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0090", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0150", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0060", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0020", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0030", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0260", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0050", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0210", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0310", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0010", + "testability/pages/UIComponentOtherPanelInterface/UIComponentOtherPanelInterface0200", + "testability/pages/UIComponentOtherPanelAnalysis/UIComponentOtherPanelAnalysis0010", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0060", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0050", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0070", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0080", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0110", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0040", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0090", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0030", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0820", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0960", + "testability/pages/UIComponentPopupboxSpecificationsShadow/UIComponentPopupboxSpecificationsShadow0890", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1490", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1250", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1510", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0970", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1100", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1000", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1570", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1200", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1190", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1480", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1400", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1660", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1390", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1690", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1130", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1110", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1430", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1080", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0980", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1420", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1590", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1410", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1710", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0920", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1440", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1230", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1670", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0910", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1260", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1700", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1460", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1140", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1290", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0960", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0900", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1170", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1280", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1330", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1470", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1540", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1310", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0950", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1550", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1020", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1450", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1350", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1370", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1050", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1070", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1560", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0940", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1630", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0930", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1500", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1580", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1160", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1610", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1520", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1240", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1090", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1300", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1120", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1360", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1600", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1150", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1320", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1620", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1340", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1270", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1060", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1030", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1680", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1380", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1210", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux0990", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1650", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1010", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1220", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1530", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1640", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1040", + "testability/pages/UIComponentPopupboxMenuWidthAndPlacementConformux/UIComponentPopupboxMenuWidthAndPlacementConformux1180", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0010", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0070", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0060", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0100", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0050", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0080", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0090", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0110", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0200", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0040", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0030", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0150", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0140", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0190", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0180", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0160", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0170", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0210", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0120", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0220", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0240", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0230", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0260", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0250", + "testability/pages/UIComponentPopupboxMenuDirect/UIComponentPopupboxMenuDirect0270", + "testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0130", + "testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0010", + "testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0020", + "testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0030", + "testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0040", + "testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0060", + "testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0080", + "testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0120", + "testability/pages/ArkUIComponentFunctionSpecialComponentsMenuInterface/ArkUIComponentFunctionSpecialComponentsMenuInterface0090", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0010", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0020", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0040", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0030", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0070", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0110", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0090", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0160", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0120", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0130", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0060", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0150", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0100", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0140", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0170", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0180", + "testability/pages/UIComponentPopupboxMenuTouch/UIComponentPopupboxMenuTouch0190", + "testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0010", + "testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0020", + "testability/pages/UIComponentButtonSliderAction/UIComponentButtonSliderAction0030", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0060", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0100", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0110", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0140", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0090", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0080", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0120", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0130", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0150", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0160", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0600", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0550", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0560", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0510", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0580", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0520", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0570", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0540", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0640", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0610", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0620", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0650", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0630", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0590", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0660", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1060", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1030", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0170", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0180", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0190", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0200", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0210", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0220", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0250", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0240", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0230", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0260", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0270", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0280", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0290", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0680", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0670", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0310", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0710", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0700", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0320", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0740", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0750", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0690", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0730", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0720", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0770", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0780", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0790", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0800", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0340", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0810", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0330", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0820", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0370", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0380", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0360", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0350", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0400", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0410", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0390", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0420", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0440", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0430", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0840", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0450", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0460", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0470", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0480", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0870", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0880", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0900", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0910", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0860", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0830", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0850", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0890", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0920", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0940", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0930", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0490", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0970", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0950", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0960", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0980", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0500", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement0990", + "testability/pages/UIComponentPopupboxMenuStyleEnhancement/UIComponentPopupboxMenuStyleEnhancement1000", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0180", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0110", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0160", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0080", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0190", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0030", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0050", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0090", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0070", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0100", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0150", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0060", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0130", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0140", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0120", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentMinsize/UIComponentSpecialComponentsEmbeddComponentMinsize0010", + "testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0050", + "testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0010", + "testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0040", + "testability/pages/UIComponentPopupboxMenuSegmentedDisplay/UIComponentPopupboxMenuSegmentedDisplay0030", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0010", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0700", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0580", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0720", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0590", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0600", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0690", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0710", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0570", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0670", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0020", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0660", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0730", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0030", + "testability/pages/UIComponentPopupboxMenuBindContextMenu/UIComponentPopupboxMenuBindContextMenu0680", + "testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0010", + "testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0020", + "testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0030", + "testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0030", + "testability/pages/UIComponentPopupboxBindMenu/EmbeddedPage0040", + "testability/pages/UIComponentPopupboxBindMenu/UIComponentPopupboxBindMenu0040", + "testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0010", + "testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0060", + "testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0080", + "testability/pages/UIComponentPopupboxConsistencyScene/UIComponentPopupboxConsistencyScene0050", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0420", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0430", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0450", + "testability/pages/UIComponentButtonCommonButton/UIComponentButtonCommonButton0440", + "testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0040", + "testability/pages/UIComponentPopupboxMenuAnalysis/UIComponentPopupboxMenuAnalysis0020", + "testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0190", + "testability/pages/UIComponentPopupboxMenuLocation/UIComponentPopupboxMenuLocation0160", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0080", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0050", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0080", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0060", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPage0060", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0020", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0030", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing0070", + "testability/pages/UIComponentSpecialComponentsEmbeddComponentRestrictnesTing/EmbeddedPageRestrictnesTing0070", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0070_755", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0070_755", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0010_331", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0010_331", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0020_404", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0020_404", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0060_227", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0060_227", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/UIComponentSpecialComponentsUIextensionComponentUinformFocus0030_273", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentUinformFocus/EmbeddedPage0030_273", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/UIComponentSpecialComponentsUIextensionComponentWheel0110", + "testability/pages/UIComponentSpecialComponentsUIextensionComponentWheel/EmbeddedPageWheel0110", + "testability/pages/UIComponentSpecialComponentsEmbeddComponent/UIComponentSpecialComponentsEmbeddComponent0060", + "testability/pages/UIComponentSpecialComponentsEmbeddComponent/EmbeddedPageEmbeddComponent0060", + "testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0010", + "testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0010", + "testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/ComponentSubwindowHost", + "testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0040", + "testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0040", + "testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0030", + "testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0030", + "testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/UIdComponentSpecialComponentsUIExtensionComponentSubwindow0020", + "testability/pages/UIdComponentSpecialComponentsUIExtensionComponentSubwindow/EmbeddedPageComponentSubwindow0020", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0020", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0020", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0010", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0010", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0050", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0050", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0060", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0060", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/UIComponentSpecialComponentsUIExtensionComponentInterface0070", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentInterface/EmbeddedPageComponentInterface0070", + "testability/pages/UIComponentMediaImageFocusable/UIComponentMediaImageFocusable0012", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0080", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0080", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport0090", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAccessibilityReport/UIExtensionComponentAccessibilityReportPage0090", + "testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0020", + "testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0020", + "testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0040", + "testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0040", + "testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UlComponentSpecialComponentsUiExtensionComponentAbexitPage0030", + "testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UlComponentSpecialComponentsUiExtensionComponentAbexit0030", + "testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UIExtensionLoadPages/UiComponentSpecialComponentsUiExtensionComponentPopupPage0010", + "testability/pages/UlComponentSpecialComponentsUiExtensionComponentAbexit/UiComponentSpecialComponentsUiExtensionComponentPopup0010", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0030", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0030", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0040", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0040", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0050", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0050", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0060", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0060", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0070", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0070", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0080", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0080", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIComponentPopupwantUIExtensionComponent0090", + "testability/pages/UIComponentPopupwantUIExtensionComponent/UIExtensionComponentPage0090", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidArea0040", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIExtensionComponentAvoidAreaPage0040", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0020", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0010", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0030", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/UIComponentsUIExtensionComponentAvoidader0140", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0020", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0030", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0140", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentAvoidArea/AvoidaderPage0010", + "testability/pages/AnalyseUIComponentUIContext/UIExtensionAnalyseUIComponentUIContextPage0010", + "testability/pages/AnalyseUIComponentUIContext/AnalyseUIComponentUIContext0010", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage0210", + "testability/pages/UIComponentSpecialComponentsUIExtensionComponentStyleLanguage/UIExtensionComponentStyleLanguagePage0210" ] } diff --git a/function/ui_compare_rh/uicompare/hvigorw b/function/ui_compare_rh/uicompare/hvigorw deleted file mode 100644 index 54aadd22..00000000 --- a/function/ui_compare_rh/uicompare/hvigorw +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -# ---------------------------------------------------------------------------- -# Hvigor startup script, version 1.0.0 -# -# Required ENV vars: -# ------------------ -# NODE_HOME - location of a Node home dir -# or -# Add /usr/local/nodejs/bin to the PATH environment variable -# ---------------------------------------------------------------------------- - -HVIGOR_APP_HOME=$(dirname $(readlink -f $0)) -HVIGOR_WRAPPER_SCRIPT=${HVIGOR_APP_HOME}/hvigor/hvigor-wrapper.js -warn() { - echo "" - echo -e "\033[1;33m`date '+[%Y-%m-%d %H:%M:%S]'`$@\033[0m" -} - -error() { - echo "" - echo -e "\033[1;31m`date '+[%Y-%m-%d %H:%M:%S]'`$@\033[0m" -} - -fail() { - error "$@" - exit 1 -} - -# Determine node to start hvigor wrapper script -if [ -n "${NODE_HOME}" ];then - EXECUTABLE_NODE="${NODE_HOME}/bin/node" - if [ ! -x "$EXECUTABLE_NODE" ];then - fail "ERROR: NODE_HOME is set to an invalid directory,check $NODE_HOME\n\nPlease set NODE_HOME in your environment to the location where your nodejs installed" - fi -else - EXECUTABLE_NODE="node" - which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' command found in your path" -fi - -# Check hvigor wrapper script -if [ ! -r "$HVIGOR_WRAPPER_SCRIPT" ];then - fail "ERROR: Couldn't find hvigor/hvigor-wrapper.js in ${HVIGOR_APP_HOME}" -fi - -# start hvigor-wrapper script -exec "${EXECUTABLE_NODE}" \ - "${HVIGOR_WRAPPER_SCRIPT}" "$@" diff --git a/function/ui_compare_rh/uicompare/hvigorw.bat b/function/ui_compare_rh/uicompare/hvigorw.bat deleted file mode 100644 index 6861293e..00000000 --- a/function/ui_compare_rh/uicompare/hvigorw.bat +++ /dev/null @@ -1,64 +0,0 @@ -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Hvigor startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -set WRAPPER_MODULE_PATH=%APP_HOME%\hvigor\hvigor-wrapper.js -set NODE_EXE=node.exe - -goto start - -:start -@rem Find node.exe -if defined NODE_HOME goto findNodeFromNodeHome - -%NODE_EXE% --version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto execute - -echo. -echo ERROR: NODE_HOME is not set and no 'node' command could be found in your PATH. -echo. -echo Please set the NODE_HOME variable in your environment to match the -echo location of your NodeJs installation. - -goto fail - -:findNodeFromNodeHome -set NODE_HOME=%NODE_HOME:"=% -set NODE_EXE_PATH=%NODE_HOME%/%NODE_EXE% - -if exist "%NODE_EXE_PATH%" goto execute -echo. -echo ERROR: NODE_HOME is not set and no 'node' command could be found in your PATH. -echo. -echo Please set the NODE_HOME variable in your environment to match the -echo location of your NodeJs installation. - -goto fail - -:execute -@rem Execute hvigor -"%NODE_EXE%" %WRAPPER_MODULE_PATH% %* - -if "%ERRORLEVEL%" == "0" goto hvigorwEnd - -:fail -exit /b 1 - -:hvigorwEnd -if "%OS%" == "Windows_NT" endlocal - -:end diff --git a/function/ui_compare_rh/uicompare/oh-package.json5 b/function/ui_compare_rh/uicompare/oh-package.json5 index e9c16664..57ec5c39 100644 --- a/function/ui_compare_rh/uicompare/oh-package.json5 +++ b/function/ui_compare_rh/uicompare/oh-package.json5 @@ -2,7 +2,7 @@ "modelVersion": "5.0.0", "license": "", "devDependencies": { - "@ohos/hypium": "1.0.16" + "@ohos/hypium": "1.0.6" }, "author": "", "name": "uicompare", -- Gitee