From 4d7232b4b08b19207ae35763c47eece8590a7def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AE=9D=E8=BF=AA?= Date: Thu, 14 Nov 2024 17:20:14 +0800 Subject: [PATCH] =?UTF-8?q?Swiper1=20=E7=94=A8=E4=BE=8B=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=201115?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈宝迪 --- .../entry/src/ohosTest/ets/test/List.test.ets | 19 +- .../UIComponentScrollSwiperAcross.test.ets | 94 + .../UIComponentScrollSwiperArrowHead.test.ets | 498 ++++ ...ComponentScrollSwiperDisplaycount.test.ets | 59 + .../UIComponentScrollSwiperInterface.test.ets | 890 ++++++ .../UIComponentScrollSwiperLayout.test.ets | 2457 +++++++++++++++++ .../UIComponentScrollSwiperTeace.test.ets | 59 + .../UIComponentScrollSwiperUx.test.ets | 75 + .../UIComponentScrollSwiperAcross0010.ets | 46 + .../UIComponentScrollSwiperAcross0030.ets | 41 + .../UIComponentScrollSwiperAcross0060.ets | 50 + .../UIComponentScrollSwiperArrowHead0010.ets | 43 + .../UIComponentScrollSwiperArrowHead0020.ets | 44 + .../UIComponentScrollSwiperArrowHead0030.ets | 44 + .../UIComponentScrollSwiperArrowHead0040.ets | 44 + .../UIComponentScrollSwiperArrowHead0610.ets | 43 + .../UIComponentScrollSwiperArrowHead0620.ets | 44 + .../UIComponentScrollSwiperArrowHead0630.ets | 44 + .../UIComponentScrollSwiperArrowHead0640.ets | 44 + .../UIComponentScrollSwiperArrowHead0650.ets | 52 + .../UIComponentScrollSwiperArrowHead0660.ets | 51 + .../UIComponentScrollSwiperArrowHead0670.ets | 54 + .../UIComponentScrollSwiperArrowHead0680.ets | 52 + .../UIComponentScrollSwiperArrowHead0690.ets | 48 + .../UIComponentScrollSwiperArrowHead0700.ets | 49 + .../UIComponentScrollSwiperArrowHead0710.ets | 48 + .../UIComponentScrollSwiperArrowHead0720.ets | 50 + .../UIComponentScrollSwiperArrowHead0730.ets | 73 + .../UIComponentScrollSwiperArrowHead0740.ets | 55 + .../UIComponentScrollSwiperArrowHead0750.ets | 76 + .../UIComponentScrollSwiperArrowHead0760.ets | 54 + .../UIComponentScrollSwiperArrowHead0770.ets | 65 + .../UIComponentScrollSwiperArrowHead0780.ets | 55 + .../UIComponentScrollSwiperArrowHead0790.ets | 56 + .../UIComponentScrollSwiperArrowHead0800.ets | 54 + ...IComponentScrollSwiperDisplaycount0140.ets | 47 + .../UIComponentScrollSwiperInterface0040.ets | 40 + .../UIComponentScrollSwiperInterface0820.ets | 65 + .../UIComponentScrollSwiperInterface0830.ets | 67 + .../UIComponentScrollSwiperInterface0890.ets | 72 + .../UIComponentScrollSwiperInterface0960.ets | 72 + .../UIComponentScrollSwiperInterface0980.ets | 72 + .../UIComponentScrollSwiperInterface0990.ets | 72 + .../UIComponentScrollSwiperInterface1010.ets | 38 + .../UIComponentScrollSwiperInterface1030.ets | 38 + .../UIComponentScrollSwiperInterface1040.ets | 38 + .../UIComponentScrollSwiperInterface1050.ets | 38 + .../UIComponentScrollSwiperInterface1180.ets | 43 + .../UIComponentScrollSwiperInterface1190.ets | 43 + .../UIComponentScrollSwiperInterface1210.ets | 43 + .../UIComponentScrollSwiperInterface1220.ets | 43 + .../UIComponentScrollSwiperInterface1230.ets | 43 + .../UIComponentScrollSwiperInterface1260.ets | 43 + .../UIComponentScrollSwiperInterface1270.ets | 43 + .../UIComponentScrollSwiperInterface1660.ets | 39 + .../UIComponentScrollSwiperInterface1670.ets | 39 + .../UIComponentScrollSwiperInterface1680.ets | 39 + .../UIComponentScrollSwiperInterface1710.ets | 45 + .../UIComponentScrollSwiperInterface1780.ets | 44 + .../UIComponentScrollSwiperInterface1860.ets | 44 + .../UIComponentScrollSwiperInterface1870.ets | 43 + .../UIComponentScrollSwiperInterface1890.ets | 44 + .../UIComponentScrollSwiperInterface1900.ets | 45 + .../UIComponentScrollSwiperInterface1970.ets | 44 + .../UIComponentScrollSwiperInterface2050.ets | 44 + .../UIComponentScrollSwiperInterface2060.ets | 43 + .../UIComponentScrollSwiperInterface2110.ets | 44 + .../UIComponentScrollSwiperInterface2160.ets | 44 + .../UIComponentScrollSwiperInterface2180.ets | 67 + .../UIComponentScrollSwiperInterface2190.ets | 67 + .../UIComponentScrollSwiperInterface2200.ets | 67 + .../UIComponentScrollSwiperInterface2210.ets | 67 + .../UIComponentScrollSwiperInterface2230.ets | 72 + .../UIComponentScrollSwiperInterface2330.ets | 70 + .../UIComponentScrollSwiperInterface2340.ets | 71 + .../UIComponentScrollSwiperInterface2350.ets | 72 + .../UIComponentScrollSwiperInterface2370.ets | 43 + .../UIComponentScrollSwiperInterface2460.ets | 72 + .../UIComponentScrollSwiperInterface2560.ets | 70 + .../UIComponentScrollSwiperInterface2570.ets | 72 + .../UIComponentScrollSwiperInterface2720.ets | 72 + .../UIComponentScrollSwiperInterface2790.ets | 72 + .../UIComponentScrollSwiperInterface2910.ets | 42 + .../UIComponentScrollSwiperInterface3030.ets | 40 + .../UIComponentScrollSwiperInterface3040.ets | 40 + .../UIComponentScrollSwiperInterface3050.ets | 40 + .../UIComponentScrollSwiperInterface3060.ets | 40 + .../UIComponentScrollSwiperInterface3070.ets | 40 + .../UIComponentScrollSwiperInterface3120.ets | 41 + .../UIComponentScrollSwiperInterface3130.ets | 40 + .../UIComponentScrollSwiperInterface3140.ets | 40 + .../UIComponentScrollSwiperInterface3160.ets | 67 + .../UIComponentScrollSwiperInterface3300.ets | 67 + .../UIComponentScrollSwiperInterface3310.ets | 67 + .../UIComponentScrollSwiperInterface3330.ets | 67 + .../UIComponentScrollSwiperInterface3340.ets | 67 + .../UIComponentScrollSwiperInterface3350.ets | 67 + .../UIComponentScrollSwiperInterface3380.ets | 68 + .../UIComponentScrollSwiperInterface3390.ets | 68 + .../UIComponentScrollSwiperInterface3430.ets | 68 + .../UIComponentScrollSwiperInterface3450.ets | 69 + .../UIComponentScrollSwiperInterface3460.ets | 68 + .../UIComponentScrollSwiperInterface3500.ets | 68 + .../UIComponentScrollSwiperInterface3510.ets | 68 + .../UIComponentScrollSwiperInterface3520.ets | 68 + .../UIComponentScrollSwiperInterface3530.ets | 68 + .../UIComponentScrollSwiperInterface3550.ets | 69 + .../UIComponentScrollSwiperInterface3560.ets | 68 + .../UIComponentScrollSwiperInterface3570.ets | 68 + .../UIComponentScrollSwiperInterface3600.ets | 68 + .../UIComponentScrollSwiperInterface3610.ets | 68 + .../UIComponentScrollSwiperInterface3700.ets | 69 + .../UIComponentScrollSwiperInterface3780.ets | 35 + .../UIComponentScrollSwiperInterface3790.ets | 66 + .../UIComponentScrollSwiperInterface3810.ets | 42 + .../UIComponentScrollSwiperInterface3820.ets | 42 + .../IDataSource.ets | 35 + .../UIComponentScrollSwiperLayout0010.ets | 45 + .../UIComponentScrollSwiperLayout0020.ets | 46 + .../UIComponentScrollSwiperLayout0030.ets | 46 + .../UIComponentScrollSwiperLayout0040.ets | 46 + .../UIComponentScrollSwiperLayout0050.ets | 48 + .../UIComponentScrollSwiperLayout0060.ets | 47 + .../UIComponentScrollSwiperLayout0070.ets | 48 + .../UIComponentScrollSwiperLayout0080.ets | 47 + .../UIComponentScrollSwiperLayout0090.ets | 49 + .../UIComponentScrollSwiperLayout0100.ets | 46 + .../UIComponentScrollSwiperLayout0110.ets | 47 + .../UIComponentScrollSwiperLayout0120.ets | 46 + .../UIComponentScrollSwiperLayout0130.ets | 46 + .../UIComponentScrollSwiperLayout0140.ets | 47 + .../UIComponentScrollSwiperLayout0150.ets | 47 + .../UIComponentScrollSwiperLayout0160.ets | 47 + .../UIComponentScrollSwiperLayout0170.ets | 47 + .../UIComponentScrollSwiperLayout0180.ets | 46 + .../UIComponentScrollSwiperLayout0190.ets | 47 + .../UIComponentScrollSwiperLayout0200.ets | 46 + .../UIComponentScrollSwiperLayout0210.ets | 46 + .../UIComponentScrollSwiperLayout0220.ets | 47 + .../UIComponentScrollSwiperLayout0230.ets | 48 + .../UIComponentScrollSwiperLayout0240.ets | 47 + .../UIComponentScrollSwiperLayout0250.ets | 48 + .../UIComponentScrollSwiperLayout0260.ets | 47 + .../UIComponentScrollSwiperLayout0270.ets | 48 + .../UIComponentScrollSwiperLayout0280.ets | 47 + .../UIComponentScrollSwiperLayout0290.ets | 47 + .../UIComponentScrollSwiperLayout0300.ets | 48 + .../UIComponentScrollSwiperLayout0310.ets | 48 + .../UIComponentScrollSwiperLayout0320.ets | 48 + .../UIComponentScrollSwiperLayout0330.ets | 48 + .../UIComponentScrollSwiperLayout0340.ets | 47 + .../UIComponentScrollSwiperLayout0350.ets | 48 + .../UIComponentScrollSwiperLayout0360.ets | 47 + .../UIComponentScrollSwiperLayout0370.ets | 47 + .../UIComponentScrollSwiperLayout0380.ets | 48 + .../UIComponentScrollSwiperLayout0390.ets | 48 + .../UIComponentScrollSwiperLayout0400.ets | 48 + .../UIComponentScrollSwiperLayout0410.ets | 48 + .../UIComponentScrollSwiperLayout0420.ets | 47 + .../UIComponentScrollSwiperLayout0430.ets | 48 + .../UIComponentScrollSwiperLayout0440.ets | 47 + .../UIComponentScrollSwiperLayout0450.ets | 47 + .../UIComponentScrollSwiperLayout0460.ets | 48 + .../UIComponentScrollSwiperLayout0470.ets | 48 + .../UIComponentScrollSwiperLayout0480.ets | 48 + .../UIComponentScrollSwiperLayout0490.ets | 48 + .../UIComponentScrollSwiperLayout0500.ets | 50 + .../UIComponentScrollSwiperLayout0510.ets | 50 + .../UIComponentScrollSwiperLayout0520.ets | 47 + .../UIComponentScrollSwiperLayout0530.ets | 48 + .../UIComponentScrollSwiperLayout0540.ets | 47 + .../UIComponentScrollSwiperLayout0550.ets | 47 + .../UIComponentScrollSwiperLayout0560.ets | 48 + .../UIComponentScrollSwiperLayout0570.ets | 48 + .../UIComponentScrollSwiperLayout0580.ets | 50 + .../UIComponentScrollSwiperLayout0590.ets | 47 + .../UIComponentScrollSwiperLayout0600.ets | 48 + .../UIComponentScrollSwiperLayout0610.ets | 47 + .../UIComponentScrollSwiperLayout0620.ets | 47 + .../UIComponentScrollSwiperLayout0630.ets | 48 + .../UIComponentScrollSwiperLayout0640.ets | 48 + .../UIComponentScrollSwiperLayout0650.ets | 48 + .../UIComponentScrollSwiperLayout0660.ets | 48 + .../UIComponentScrollSwiperLayout0670.ets | 47 + .../UIComponentScrollSwiperLayout0680.ets | 48 + .../UIComponentScrollSwiperLayout0690.ets | 47 + .../UIComponentScrollSwiperLayout0700.ets | 47 + .../UIComponentScrollSwiperLayout0710.ets | 48 + .../UIComponentScrollSwiperLayout0720.ets | 49 + .../UIComponentScrollSwiperLayout0730.ets | 48 + .../UIComponentScrollSwiperLayout0740.ets | 49 + .../UIComponentScrollSwiperLayout0750.ets | 48 + .../UIComponentScrollSwiperLayout0760.ets | 49 + .../UIComponentScrollSwiperLayout0770.ets | 70 + .../UIComponentScrollSwiperLayout0790.ets | 74 + .../UIComponentScrollSwiperLayout0810.ets | 71 + .../UIComponentScrollSwiperLayout0820.ets | 49 + .../UIComponentScrollSwiperLayout0830.ets | 51 + .../UIComponentScrollSwiperLayout0840.ets | 48 + .../UIComponentScrollSwiperLayout0850.ets | 49 + .../UIComponentScrollSwiperLayout0860.ets | 48 + .../UIComponentScrollSwiperLayout0870.ets | 48 + .../UIComponentScrollSwiperLayout0880.ets | 48 + .../UIComponentScrollSwiperLayout0890.ets | 49 + .../UIComponentScrollSwiperLayout0900.ets | 48 + .../UIComponentScrollSwiperLayout0910.ets | 48 + .../UIComponentScrollSwiperLayout0920.ets | 49 + .../UIComponentScrollSwiperLayout0930.ets | 49 + .../UIComponentScrollSwiperLayout0940.ets | 49 + .../UIComponentScrollSwiperLayout0950.ets | 49 + .../UIComponentScrollSwiperLayout0960.ets | 51 + .../UIComponentScrollSwiperLayout0970.ets | 46 + .../UIComponentScrollSwiperLayout0980.ets | 47 + .../UIComponentScrollSwiperLayout0990.ets | 46 + .../UIComponentScrollSwiperLayout1000.ets | 46 + .../UIComponentScrollSwiperLayout1010.ets | 48 + .../UIComponentScrollSwiperLayout1020.ets | 72 + .../UIComponentScrollSwiperLayout1040.ets | 69 + .../UIComponentScrollSwiperLayout1050.ets | 71 + .../UIComponentScrollSwiperLayout1060.ets | 68 + .../UIComponentScrollSwiperLayout1080.ets | 36 + .../UIComponentScrollSwiperLayout1090.ets | 36 + .../UIComponentScrollSwiperLayout1100.ets | 37 + .../UIComponentScrollSwiperLayout1110.ets | 37 + .../UIComponentScrollSwiperLayout1120.ets | 37 + .../UIComponentScrollSwiperLayout1130.ets | 37 + .../UIComponentScrollSwiperLayout1140.ets | 36 + .../UIComponentScrollSwiperLayout1150.ets | 37 + .../UIComponentScrollSwiperLayout1160.ets | 36 + .../UIComponentScrollSwiperLayout1170.ets | 36 + .../UIComponentScrollSwiperLayout1180.ets | 37 + .../UIComponentScrollSwiperLayout1190.ets | 38 + .../UIComponentScrollSwiperLayout1200.ets | 37 + .../UIComponentScrollSwiperLayout1210.ets | 38 + .../UIComponentScrollSwiperLayout1220.ets | 37 + .../UIComponentScrollSwiperLayout1230.ets | 38 + .../UIComponentScrollSwiperLayout1240.ets | 37 + .../UIComponentScrollSwiperLayout1250.ets | 37 + .../UIComponentScrollSwiperLayout1260.ets | 38 + .../UIComponentScrollSwiperLayout1270.ets | 38 + .../UIComponentScrollSwiperLayout1280.ets | 38 + .../UIComponentScrollSwiperLayout1290.ets | 38 + .../UIComponentScrollSwiperLayout1300.ets | 40 + .../UIComponentScrollSwiperLayout1310.ets | 39 + .../UIComponentScrollSwiperLayout1320.ets | 39 + .../UIComponentScrollSwiperLayout1330.ets | 39 + .../UIComponentScrollSwiperLayout1340.ets | 39 + .../UIComponentScrollSwiperLayout1350.ets | 37 + .../UIComponentScrollSwiperLayout1360.ets | 38 + .../UIComponentScrollSwiperLayout1370.ets | 37 + .../UIComponentScrollSwiperLayout1380.ets | 37 + .../UIComponentScrollSwiperLayout1390.ets | 38 + .../UIComponentScrollSwiperLayout1400.ets | 38 + .../UIComponentScrollSwiperLayout1410.ets | 38 + .../UIComponentScrollSwiperLayout1420.ets | 38 + .../UIComponentScrollSwiperLayout1430.ets | 37 + .../UIComponentScrollSwiperLayout1440.ets | 38 + .../UIComponentScrollSwiperLayout1450.ets | 37 + .../UIComponentScrollSwiperLayout1460.ets | 37 + .../UIComponentScrollSwiperLayout1470.ets | 38 + .../UIComponentScrollSwiperLayout1480.ets | 38 + .../UIComponentScrollSwiperLayout1490.ets | 38 + .../UIComponentScrollSwiperLayout1500.ets | 38 + .../UIComponentScrollSwiperLayout1510.ets | 40 + .../UIComponentScrollSwiperLayout1520.ets | 37 + .../UIComponentScrollSwiperLayout1530.ets | 38 + .../UIComponentScrollSwiperLayout1540.ets | 37 + .../UIComponentScrollSwiperLayout1550.ets | 37 + .../UIComponentScrollSwiperLayout1560.ets | 39 + .../UIComponentScrollSwiperLayout1570.ets | 38 + .../UIComponentScrollSwiperLayout1580.ets | 39 + .../UIComponentScrollSwiperLayout1590.ets | 38 + .../UIComponentScrollSwiperLayout1600.ets | 37 + .../UIComponentScrollSwiperLayout1610.ets | 38 + .../UIComponentScrollSwiperLayout1620.ets | 37 + .../UIComponentScrollSwiperLayout1630.ets | 37 + .../UIComponentScrollSwiperLayout1640.ets | 38 + .../UIComponentScrollSwiperLayout1650.ets | 38 + .../UIComponentScrollSwiperLayout1660.ets | 38 + .../UIComponentScrollSwiperLayout1670.ets | 38 + .../UIComponentScrollSwiperLayout1680.ets | 37 + .../UIComponentScrollSwiperLayout1690.ets | 38 + .../UIComponentScrollSwiperLayout1700.ets | 37 + .../UIComponentScrollSwiperLayout1710.ets | 37 + .../UIComponentScrollSwiperLayout1720.ets | 38 + .../UIComponentScrollSwiperLayout1730.ets | 39 + .../UIComponentScrollSwiperLayout1740.ets | 38 + .../UIComponentScrollSwiperLayout1750.ets | 39 + .../UIComponentScrollSwiperLayout1760.ets | 38 + .../UIComponentScrollSwiperLayout1770.ets | 39 + .../UIComponentScrollSwiperLayout1780.ets | 38 + .../UIComponentScrollSwiperLayout1790.ets | 38 + .../UIComponentScrollSwiperLayout1800.ets | 68 + .../UIComponentScrollSwiperLayout1810.ets | 69 + .../UIComponentScrollSwiperLayout1820.ets | 48 + .../UIComponentScrollSwiperLayout1830.ets | 49 + .../UIComponentScrollSwiperLayout1840.ets | 50 + .../UIComponentScrollSwiperLayout1850.ets | 49 + .../UIComponentScrollSwiperLayout1860.ets | 39 + .../UIComponentScrollSwiperLayout1870.ets | 38 + .../UIComponentScrollSwiperLayout1880.ets | 38 + .../UIComponentScrollSwiperLayout1890.ets | 39 + .../UIComponentScrollSwiperLayout1900.ets | 39 + .../UIComponentScrollSwiperLayout1910.ets | 39 + .../UIComponentScrollSwiperLayout1920.ets | 39 + .../UIComponentScrollSwiperLayout1930.ets | 38 + .../UIComponentScrollSwiperLayout1940.ets | 39 + .../UIComponentScrollSwiperLayout1950.ets | 38 + .../UIComponentScrollSwiperLayout1960.ets | 38 + .../UIComponentScrollSwiperLayout1970.ets | 39 + .../UIComponentScrollSwiperLayout1980.ets | 39 + .../UIComponentScrollSwiperLayout1990.ets | 39 + .../UIComponentScrollSwiperLayout2000.ets | 39 + .../UIComponentScrollSwiperLayout2010.ets | 41 + .../UIComponentScrollSwiperLayout2020.ets | 37 + .../UIComponentScrollSwiperLayout2030.ets | 38 + .../UIComponentScrollSwiperLayout2040.ets | 37 + .../UIComponentScrollSwiperLayout2050.ets | 38 + .../UIComponentScrollSwiperLayout2060.ets | 43 + .../UIComponentScrollSwiperLayout2070.ets | 45 + .../UIComponentScrollSwiperLayout2080.ets | 43 + .../UIComponentScrollSwiperLayout2090.ets | 45 + .../UIComponentScrollSwiperLayout2100.ets | 43 + .../UIComponentScrollSwiperLayout2110.ets | 43 + .../UIComponentScrollSwiperTeace0070.ets | 42 + .../UIComponentScrollSwiperTeace0080.ets | 42 + .../UIComponentScrollSwiperUx0010.ets | 70 + .../UIComponentScrollSwiperUx0020.ets | 69 + .../UIComponentScrollSwiperUx0520.ets | 70 + .../resources/base/element/string.json | 4 + .../resources/base/profile/test_pages.json | 323 ++- 331 files changed, 19819 insertions(+), 4 deletions(-) create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/IDataSource.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1260.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020.ets create mode 100644 function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520.ets 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 92199af3..87c82566 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 @@ -73,6 +73,14 @@ import ArkUITabsIconStyleSelectedColor from './ArkUITabsIconStyleSelectedColorTe import ArkUITabsIconStyleUnselectedColor from './ArkUITabsIconStyleUnselectedColorTest/ArkUITabsIconStyleUnselectedColor.test'; import ArkUITabsSingleSelectedcolor from './ArkUITabsSingleSelectedcolorTest/ArkUITabsSingleSelectedcolor.test'; import ArkUITabsSingleUnselectedcolor from './ArkUITabsSingleUnselectedcolorTest/ArkUITabsSingleUnselectedcolor.test'; +import UIComponentScrollSwiperLayout from './UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test'; +import UIComponentScrollSwiperUx from './UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test'; +import UIComponentScrollSwiperInterface from './UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test'; +import UIComponentScrollSwiperAcross from './UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test'; +import UIComponentScrollSwiperTeace from './UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test'; +import UIComponentScrollSwiperDisplaycount from './UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test'; +import UIComponentScrollSwiperArrowHead from './UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test'; + export default function testsuite() { ComponentTextRicheditorFontfeatures(); @@ -88,7 +96,7 @@ export default function testsuite() { ComponentTextRicheditorOnWillChangeTests(); ComponentTextRicheditorInterfaceTests(); ComponentTextRicheditorShortKcutKeysTests(); - + UIComponentNavTabsOnWillShow(); UIComponentNavTabsContentAdapt(); ArkUITabScrollable(); @@ -121,5 +129,12 @@ export default function testsuite() { ArkUITabsIconStyleUnselectedColor(); ArkUITabsSingleSelectedcolor(); ArkUITabsSingleUnselectedcolor(); - + + UIComponentScrollSwiperLayout(); + UIComponentScrollSwiperUx(); + UIComponentScrollSwiperInterface(); + UIComponentScrollSwiperAcross(); + UIComponentScrollSwiperTeace(); + UIComponentScrollSwiperDisplaycount(); + UIComponentScrollSwiperArrowHead(); } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test.ets new file mode 100644 index 00000000..77c7949e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test.ets @@ -0,0 +1,94 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Component, Driver ,ON, PointerMatrix } from '@ohos.UiTest' + +export default function UIComponentScrollSwiperAcross() { + describe('UIComponentScrollSwiperAcross', () => { + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0010 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0820 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010") + await Utils.sleep(1000) + windowSnap.snapShot() + let driver: Driver = Driver.create() + let button_ChangeIndex:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperAcross0010_ChangeIndex')); + button_ChangeIndex.click() + await Utils.sleep(1000) + windowSnap.snapShot() + let button_ShowNext:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperAcross0010_ShowNext')); + button_ShowNext.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0010 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0030 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0030 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + let button_ChangeIndex:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperAcross0030_ChangeIndex')); + button_ChangeIndex.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0030 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + let button_ChangeIndex:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperAcross0060_Remove')); + button_ChangeIndex.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + let button_ChangeIndex:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperAcross0060_ChangeIndex')); + button_ChangeIndex.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ACROSS_0060 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test.ets new file mode 100644 index 00000000..1169f15b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test.ets @@ -0,0 +1,498 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Component, Driver, ON, MouseButton, PointerMatrix } from '@ohos.UiTest' + +export default function UIComponentScrollSwiperArrowHead() { + + describe('UIComponentScrollSwiperArrowHead', () => { + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0010 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0010 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0020 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0020 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0030 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0030 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0040 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0040 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0610 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0610 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0620 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0620 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0630 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0630 finish.`); + done(); + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0640 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640"); + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0640 finish.`); + done(); + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0650 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650"); + await Utils.sleep(1000); + let driver = Driver.create(); + let swiper = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0650_001")); + let point = await swiper.getBoundsCenter(); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + let rightArrow = await driver.findComponent(ON.type("RightArrow")); + let arrowPoint = await rightArrow.getBoundsCenter(); + await driver.mouseClick({ + x: arrowPoint.x, y: arrowPoint.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0650 finish.`); + done(); + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0660 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660") + await Utils.sleep(1000); + let driver = Driver.create(); + let swiper = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0660_001")); + let point = await swiper.getBoundsCenter(); + await driver.mouseClick({ + x: point.x, y: point.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + let rightArrow = await driver.findComponent(ON.type("RightArrow")); + let arrowPoint = await rightArrow.getBoundsCenter(); + await driver.mouseClick({ + x: arrowPoint.x, y: arrowPoint.y + }, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(3000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0660 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0670 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0670_001")); + let button = await swiperButton.getBoundsCenter(); + await driver.mouseClick({ + x: button.x, y: button.y + }, MouseButton.MOUSE_BUTTON_LEFT); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0670 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0680 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0680_001")); + let button = await swiperButton.getBoundsCenter(); + await driver.mouseClick({ + x: button.x, y: button.y + }, MouseButton.MOUSE_BUTTON_LEFT); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0680 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0690 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0690 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0700 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0700 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0710 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0710 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0720 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0720 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0730 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0730_001")); + let button = await swiperButton.getBoundsCenter(); + await driver.mouseClick({ + x: button.x, y: button.y + }, MouseButton.MOUSE_BUTTON_LEFT); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0730 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0740 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0740_001")); + let button = await swiperButton.getBoundsCenter(); + await driver.mouseClick({ + x: button.x, y: button.y + }, MouseButton.MOUSE_BUTTON_LEFT); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0740 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0750 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0750_001")); + let button = await swiperButton.getBoundsCenter(); + await driver.mouseClick({ + x: button.x, y: button.y + }, MouseButton.MOUSE_BUTTON_LEFT); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0750 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0760 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0760_001")); + let button = await swiperButton.getBoundsCenter(); + await driver.mouseClick({ + x: button.x, y: button.y + }, MouseButton.MOUSE_BUTTON_LEFT); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0760 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0770 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0770_001")); + let button = await swiperButton.getBoundsCenter(); + await driver.mouseClick({ + x: button.x, y: button.y + }, MouseButton.MOUSE_BUTTON_LEFT); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0770 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0780 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0780_001")); + let button = await swiperButton.getBoundsCenter(); + await driver.mouseClick({ + x: button.x, y: button.y + }, MouseButton.MOUSE_BUTTON_LEFT); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + await driver.mouseMoveTo({x:point.x, y:point.y}); + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0780 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0790 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0790_001")); + let button = await swiperButton.getBoundsCenter(); + await driver.mouseClick({ + x: button.x, y: button.y + }, MouseButton.MOUSE_BUTTON_LEFT); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + + let swiper = await driver.findComponent(ON.type("SwiperIndicator")); + let swiperPoint = await swiper.getBoundsCenter(); + await driver.mouseMoveTo({ + x: swiperPoint.x, y: swiperPoint.y + }); + + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0790 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0800 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800") + await Utils.sleep(3000); + let driver: Driver = Driver.create(); + let swiperButton = await driver.findComponent(ON.id("UIComponentScrollSwiperArrowHead0800_001")); + let button = await swiperButton.getBoundsCenter(); + await driver.mouseClick({ + x: button.x, y: button.y + }, MouseButton.MOUSE_BUTTON_LEFT); + let swiperArrow = await driver.findComponent(ON.type("RightArrow")); + let point = await swiperArrow.getBoundsCenter(); + + let swiper = await driver.findComponent(ON.type("SwiperIndicator")); + let swiperPoint = await swiper.getBoundsCenter(); + await driver.mouseMoveTo({ + x: swiperPoint.x, y: swiperPoint.y + }); + + await Utils.sleep(2000); + await driver.mouseClick({x:point.x, y:point.y}, MouseButton.MOUSE_BUTTON_LEFT); + await Utils.sleep(3000); + await swiperArrow.click(); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_ARROWHEAD_0800 finish.`); + done() + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test.ets new file mode 100644 index 00000000..d814c97a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test.ets @@ -0,0 +1,59 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Component, Driver ,ON, PointerMatrix } from '@ohos.UiTest' + +export default function UIComponentScrollSwiperDisplaycount() { + describe('UIComponentScrollSwiperDisplaycount', () => { + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0140 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0140 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140") + await Utils.sleep(1000) + windowSnap.snapShot() + let driver: Driver = Driver.create() + let button_ShowNext:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperDisplaycount0140_ShowPrevious')); + button_ShowNext.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0140 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0130 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0130 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140") + await Utils.sleep(1000) + windowSnap.snapShot() + let driver: Driver = Driver.create() + let button_ShowPrevious:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperDisplaycount0130_ShowNext')); + button_ShowPrevious.click() + await Utils.sleep(2000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_DISPLAYCOUNT_0130 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test.ets new file mode 100644 index 00000000..3611b971 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test.ets @@ -0,0 +1,890 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Component, Driver ,ON, PointerMatrix } from '@ohos.UiTest' + +export default function UIComponentScrollSwiperInterface() { + describe('UIComponentScrollSwiperInterface', () => { + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0040 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0040 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0820 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0820 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0820 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0830 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0830 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0830 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3160 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3160 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3160 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3300 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3300 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3300 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3310 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3310 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3310 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3330 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3330 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3330 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3340 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3340 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3340 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3350 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3350 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3350 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3380 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3380 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3380 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3430 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3430 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3430 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3450 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3450 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3450 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3460 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3460 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3460 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3500 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3500 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3500 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3510 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3510 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3510 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3390 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3390 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3390 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3520 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3520 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3520 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3530 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3530 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3530 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1010 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1010 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1030 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1030 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1040 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1040 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1050 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1050 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1180 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1180 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1190 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1190 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1210 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1210 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1220 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1220 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1230 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1230 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1260 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1260 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1270 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1270 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2910 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2910 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3030 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3030 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3040 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3040 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3050 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3050 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3060 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3060 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3070 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3070 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3120 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3120 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3130 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3130 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3140 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3140 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3550 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3550 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3550 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3560 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3560 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3560 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3570 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3570 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3570 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3600 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3600 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3600 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3610 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3610 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3610 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3700 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3700 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3700 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2180 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2180 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2180 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2190 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2190 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2190 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2200 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2200 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2210 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2210 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2210 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2230 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2230 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2230 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2330 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2330 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2330 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2340 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2340 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2340 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2350 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2350 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2350 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2460 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2460 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2460 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2560 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2560 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2560 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2570 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2570 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2570 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2720 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2720 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2720 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2790 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2790 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2790 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0890 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0890 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0890 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0960 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0960 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0960 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0980 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0980 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0980 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0990 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0990 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_0990 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3780 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3780 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3780 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3790 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3790 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + let button_ShowNext:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperInterface3790_ShowNext')); + button_ShowNext.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3790 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3810 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3810 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + let button_ShowNext:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperInterface3810_ShowNext')); + button_ShowNext.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3810 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3820 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3810 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820") + await Utils.sleep(1000) + let driver: Driver = Driver.create() + let button_ShowPrevious:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperInterface3820_Previous')); + button_ShowPrevious.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_3820 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1660 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1660 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1670 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1670 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1680 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1680 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1710 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1710 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1780 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1780 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1860', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1860 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1860 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1870 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1870 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1890 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1890 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1900 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1900 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1970 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_1970 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2050 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2050 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2060 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2060 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2110 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2110 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2160 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2160 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2370 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_INTERFACE_2370 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test.ets new file mode 100644 index 00000000..445abeb0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test.ets @@ -0,0 +1,2457 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { UiComponent, Component, Driver, ON, BY, MouseButton } from '@ohos.UiTest'; + +export default function UIComponentScrollSwiperLayout() { + describe('UIComponentScrollSwiperLayout', () => { + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0010 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0010 + * @tc.desc ADD SWIPER, main shaft, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0010 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0010 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0020 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0020 + * @tc.desc ADD SWIPER, crossed-axis, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0020 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0020 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0030 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0030 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0030 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0030 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0040 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0040 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0040 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0040 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0050 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0050 + * @tc.desc ADD SWIPER, crossed-axis, border = 10, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0050 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0050 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0060 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0060 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, border = 10, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0060 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0060 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0070 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0070 + * @tc.desc ADD SWIPER, crossed-axis, padding = 10, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0070 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0070 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0080 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0080 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, padding = 10, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0080 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0080 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0090 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0090 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, prevMargin/nextMargin+itemSpace + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0090 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0090 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0100 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0100 + * @tc.desc ADD SWIPER, main shaft, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0100 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0100 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0110 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0110 + * @tc.desc ADD SWIPER, crossed-axis, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0110 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0110 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0120 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0120 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0120 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0120 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0130 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0130 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0130 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0130 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0140 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0140 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = AutoLinear, border = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0140 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0140 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0150 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0150 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear, border = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0150 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0150 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0160 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0160 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = AutoLinear, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0160 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0160 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0170 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0170 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0170 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0170 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0180 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0180 + * @tc.desc ADD SWIPER, main shaft, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0180 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0180 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0190 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0190 + * @tc.desc ADD SWIPER, crossed-axis, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0190 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0190 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0200 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0200 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0200 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0200 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0210 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0210 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0210 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0210 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0220 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0220 + * @tc.desc ADD SWIPER, main shaft, displayMode = Stretch or displayCount = 1, border = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0220 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0220 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0230 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0230 + * @tc.desc ADD SWIPER, crossed-axis, displayMode = Stretch or displayCount = 1, border = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0230 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0230 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0240 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0240 + * @tc.desc ADD SWIPER, main shaft, displayMode = Stretch or displayCount = 1, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0240 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0240 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0250 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0250 + * @tc.desc ADD SWIPER, crossed-axis, displayMode = Stretch or displayCount = 1, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0250 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0250 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0260 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0260 + * @tc.desc ADD SWIPER, main shaft, displayCount = 3, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0260 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0260 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0270 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0270 + * @tc.desc ADD SWIPER, crossed-axis, displayCount = 3, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0270 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0270 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0280 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0280 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayCount = 3, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0280 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0280 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0290 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0290 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0290 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0290 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0300 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0300 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayCount = 3, width = 200, border = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0300 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0300 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0310 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0310 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, width = 200, border = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0310 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0310 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0320 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0320 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayCount = 3, width = 200, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0320 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0320 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0330 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0330 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, width = 200, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0330 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0330 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0340 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0340 + * @tc.desc ADD SWIPER, main shaft, width = 200, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0340 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0340 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0350 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0350 + * @tc.desc ADD SWIPER, crossed-axis, width = 200, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0350 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0350 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0360 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0360 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0360 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0360 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0370 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0370 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, width = 200, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0370 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0370 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0380 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0380 + * @tc.desc ADD SWIPER, main shaft, width = 200, displayMode = AutoLinear, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0380 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0380 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0390 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0390 + * @tc.desc ADD SWIPER, crossed-axis, width = 200, displayMode = AutoLinear, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0390 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0390 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0400 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0400 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayMode = AutoLinear, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0400 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0400 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0410 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0410 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, width = 200, displayMode = AutoLinear, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0410 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0410 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0420 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0420 + * @tc.desc ADD SWIPER, main shaft, width = 200, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0420 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0420 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0430 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0430 + * @tc.desc ADD SWIPER, crossed-axis, width = 200, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0430 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0430 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0440 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0440 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0440 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0440 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0450 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0450 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, width = 200, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0450 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0450 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0460 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0460 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, border = 10, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0460 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0460 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0470 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0470 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, width = 200, border = 10, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0470 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0470 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0480 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0480 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayCount = 3, padding = 10, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0480 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0480 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0490 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0490 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, width = 200, displayCount = 3, padding = 10, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0490 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0490 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0500 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0500 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayCount = 3, prevMargin/nextMargin+itemSpace, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0500 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0500 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0510 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0510 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, width = 200, displayCount = 3, prevMargin/nextMargin+itemSpace + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0510 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0510 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0520 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0520 + * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0520 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0520 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0530 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0530 + * @tc.desc ADD SWIPER, Two pictures, Swiper child node cross axis layout, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0530 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0530 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0540 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0540 + * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0540 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0540 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0550 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0550 + * @tc.desc ADD SWIPER, Two pictures, Swiper child node cross axis layout, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0550 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0550 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0560 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0560 + * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, displayCount = 3, border = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0560 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0560 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0570 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0570 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0570 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0570 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0580 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0580 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, prevMargin/nextMargin+itemSpace + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0580 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0580 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0590 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0590 + * @tc.desc ADD SWIPER, main shaft, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0590 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0590 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0600 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0600 + * @tc.desc ADD SWIPER, crossed-axis, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0600 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0600 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0610 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0610 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0610 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0610 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0620 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0620 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0620 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0620 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0630 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0630 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, border = 10, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0630 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0630 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0640 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0640 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, border = 10, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0640 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0640 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0650 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0650 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, padding = 10, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0650 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0650 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0660 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0660 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, padding = 10, displayMode = AutoLinear + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0660 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0660 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0670 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0670 + * @tc.desc ADD SWIPER, main shaft, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0670 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0670 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0680 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0680 + * @tc.desc ADD SWIPER, crossed-axis, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0680 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0680 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0690 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0690 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0690 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0690 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0700 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0700 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0700 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0700 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0710 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0710 + * @tc.desc ADD SWIPER, main shaft, border = 10, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0710 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0710 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0720 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0720 + * @tc.desc ADD SWIPER, Two pictures, crossed-axis, border = 10, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0720 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0720 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0730 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0730 + * @tc.desc ADD SWIPER, Two pictures, main shaft, padding = 10, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0730 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0730 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0740 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0740 + * @tc.desc ADD SWIPER, Two pictures, crossed-axis, padding = 10, displayMode = Stretch or displayCount = 1 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0740 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0740 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0750 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0750 + * @tc.desc ADD SWIPER, Two pictures, main shaft, displayCount = 3, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0750 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0750 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0760 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0760 + * @tc.desc ADD SWIPER, Two pictures, crossed-axis, displayCount = 3, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0760 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0760 finish.`); + done() + }) + + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0820 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0820 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayCount = 3, width = 200, padding = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0820 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0820 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0830 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0830 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayCount = 3, prevMargin/nextMargin+itemSpace + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0830 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0830 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0840 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0840 + * @tc.desc ADD SWIPER, main shaft, displayMode = AutoLinear, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0840 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0840 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0850 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0850 + * @tc.desc ADD SWIPER, crossed-axis, displayMode = AutoLinear, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0850', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0850 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0850 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0860 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0860 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0860', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0860 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0860 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0870 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0870 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = AutoLinear, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0870 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0870 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0880 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0880 + * @tc.desc ADD SWIPER, main shaft, displayMode = Stretch or displayCount = 1, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0880', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0880 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0880 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0890 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0890 + * @tc.desc ADD SWIPER, crossed-axis, displayMode = Stretch or displayCount = 1, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0890 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0890 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0900 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0900 + * @tc.desc ADD SWIPER, Swiper sub node spindle layout, displayMode = Stretch or displayCount = 1, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0900 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0900 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0910 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0910 + * @tc.desc ADD SWIPER, Swiper child node cross axis layout, displayMode = Stretch or displayCount = 1, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0910 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0910 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0920 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0920 + * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, border = 10, displayMode = Stretch or displayCount = 1, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0920', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0920 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0920 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0930 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0930 + * @tc.desc ADD SWIPER, Two pictures, Swiper child node cross axis layout, border = 10, displayMode = Stretch or displayCount = 1, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0930', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0930 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0930 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0940 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0940 + * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, padding = 10, displayMode = Stretch or displayCount = 1, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0940', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0940 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0940 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0950 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0950 + * @tc.desc ADD SWIPER, Two pictures, Swiper child node cross axis layout, displayMode = Stretch or displayCount = 1, padding = 10, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0950', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0950 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0950 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0960 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0960 + * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, displayMode = Stretch or displayCount = 1, prevMargin/nextMargin+itemSpace, width = 200 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0960 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0960 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0970 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0970 + * @tc.desc ADD SWIPER, Two pictures, main shaft, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0970 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0970 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0980 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0980 + * @tc.desc ADD SWIPER, Two pictures, crossed-axis, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0980 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0980 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0990 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0990 + * @tc.desc ADD SWIPER, Two pictures, Swiper sub node spindle layout, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0990 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0990 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1000 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1000 + * @tc.desc ADD SWIPER, Two pictures, Swiper child node cross axis layout, displayCount = 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1000 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1000 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1010 + * @tc.name SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1010 + * @tc.desc ADD SWIPER, Two pictures, crossed-axis, displayCount = 3, border = 10 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1010 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010") + await Utils.sleep(3000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1010 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0770 + * @tc.name SCROLL_SWIPER_LAYOUT + * @tc.desc Normal replacement of some string styles + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0770 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0770 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0790 + * @tc.name SCROLL_SWIPER_LAYOUT + * @tc.desc Normal replacement of some string styles + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0790 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0790 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0810 + * @tc.name SCROLL_SWIPER_LAYOUT + * @tc.desc Normal replacement of some string styles + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0810 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_0810 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1020 + * @tc.name SCROLL_SWIPER_LAYOUT + * @tc.desc Normal replacement of some string styles + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1020 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1020 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1040 + * @tc.name SCROLL_SWIPER_LAYOUT + * @tc.desc Normal replacement of some string styles + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1040 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1040 finish.`); + done() + }) + + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1050 + * @tc.name SCROLL_SWIPER_LAYOUT + * @tc.desc Normal replacement of some string styles + * @tc.level Level 3 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1050 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1050 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1060 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1060 finish.`); + done() + }) + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1080 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1080 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1090 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1090 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1100 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1100 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1110 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1110 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1120 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1120 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1130 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1130 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1140 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1140 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1150 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1150 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1160 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1160 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1170 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1170 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1180 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1180 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1190 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1190 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1200 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1200 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1210 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1210 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1220 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1220 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1230 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1230 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1240 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1240 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1250 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1250 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1260 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1260") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1260 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1270 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1270 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1280 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1280 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1290 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1290 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1300 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1300 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1310 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1310 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1320 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1320 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1330 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1330 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1340 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1340 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1350 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1350 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1360 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1360 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1370 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1370 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1380 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1380 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1390 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1390 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1400 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1400 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1410 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1410 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1420 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1420 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1430 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1430 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1440 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1440 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1450 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1450 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1460 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1460 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1470 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1470 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1480 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1480 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1490 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1490 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1500 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1500 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1510 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1510 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1520 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1520 finish.`); + done() + }) + + + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1530 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1530 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1540 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1540 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1550 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1550 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1560 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1560 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1570 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1570 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1580 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1580 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1590 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1590 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1600 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1600 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1610 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1610 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1620 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1620 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1630 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1630 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1640 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1640 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1650 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1650 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1660 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1660 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1670 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1670 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1680 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1680 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1690 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1690 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1700 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1700 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1710 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1710 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1720 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1720 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1730 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1730 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1740 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1740 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1750 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1750 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1760 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1760 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1770 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1770 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1780 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1780 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1790 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1790 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1860', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1860 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1860 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1870 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1870 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1880', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1880 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1880 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1890 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1890 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1900 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1900 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1910', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1910 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1910 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1920', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1920 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1920 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1930', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1930 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1930 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1940', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1940 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1940 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1950', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1950 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1950 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1960 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1960 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1970 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1970 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1980 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1980 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1990 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1990 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2000 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2000 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2010 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2010 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2020 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2020 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2030 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2030 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2040 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2040 finish.`); + done() + }) + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2050 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050") + await Utils.sleep(4000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2050 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1800 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1800 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1800 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1810 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1810 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1810 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1820 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1820 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820") + await Utils.sleep(2000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1820 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1830 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1830 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830") + await Utils.sleep(2000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1830 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1850 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1840 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1840 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1850 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1850', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1850 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_1850 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2060 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2060 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2060 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2070 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2070 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2070 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2080 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2080 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2080 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2090 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2090 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2090 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2100 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2100 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2100 finish.`); + done() + }) + /** + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2110 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2110 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_LAYOUT_2110 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test.ets new file mode 100644 index 00000000..45774daa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test.ets @@ -0,0 +1,59 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Component, Driver ,ON, PointerMatrix } from '@ohos.UiTest' + +export default function UIComponentScrollSwiperTeace() { + describe('UIComponentScrollSwiperTeace', () => { + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0070 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0070 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070") + await Utils.sleep(1000) + windowSnap.snapShot() + let driver: Driver = Driver.create() + let button_ShowNext:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperTeace0070_ShowNext')); + button_ShowNext.click() + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_Teace_0070 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0080 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_TEACE_0080 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080") + await Utils.sleep(1000) + windowSnap.snapShot() + let driver: Driver = Driver.create() + let button_ShowPrevious:Component =await driver.findComponent(ON.id('UIComponentScrollSwiperTeace0080_ShowPrevious')); + button_ShowPrevious.click() + await Utils.sleep(2000) + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_Teace_0080 finish.`); + done() + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test.ets new file mode 100644 index 00000000..47cb0da7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test.ets @@ -0,0 +1,75 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Component, Driver ,ON, PointerMatrix } from '@ohos.UiTest' + +export default function UIComponentScrollSwiperUx() { + + describe('UIComponentScrollSwiperUx', () => { + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0520 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0520 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520") + await Utils.sleep(1000) + let driver = Driver.create(); + await driver.fling({x: 500, y: 480},{x: 450, y: 480},5,20000); + await Utils.sleep(3000); + windowSnap.snapShot() + await Utils.sleep(4000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0520 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0010 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0010 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010") + await Utils.sleep(1000) + let driver = Driver.create(); + await driver.fling({x: 300, y: 100},{x: 0, y: 100},5,600); + await Utils.sleep(1000); + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0010 finish.`); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0020 + */ + it('SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0020 start.`); + Settings.createWindow("testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020") + await Utils.sleep(1000) + let driver = Driver.create(); + await driver.fling({x: 300, y: 100},{x: 0, y: 100},5,600); + await Utils.sleep(1000); + windowSnap.snapShot() + await Utils.sleep(3000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_SCROLL_SWIPER_UX_0020 finish.`); + done() + }) + + + + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010.ets new file mode 100644 index 00000000..e31d9512 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010.ets @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentScrollSwiperAcross0010 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [0, 1, 2, 3, 4, 5, 6, 7] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + Row({space: 8}){ + Button("ChangeIndex").onClick(() => { + this.swiperController.changeIndex(5, true) + }) + .id('UIComponentScrollSwiperAcross0010_ChangeIndex') + Button("ShowNext").onClick(() => { + this.swiperController.showNext() + }) + .id('UIComponentScrollSwiperAcross0010_ShowNext') + } + .margin({ top: 30 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030.ets new file mode 100644 index 00000000..9aff3705 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030.ets @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentScrollSwiperAcross0030 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3, 4, 5, 6, 7, 8] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()).fontSize(80) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + + Button('change4').onClick(() => { + this.swiperController.changeIndex(4) + }) + .id('UIComponentScrollSwiperAcross0030_ChangeIndex') + .margin({ top: 20 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060.ets new file mode 100644 index 00000000..57373291 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060.ets @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentScrollSwiperAcross0060 { + private swiperController: SwiperController = new SwiperController() + @State data: number[] = [0, 1, 2, 3, 4, 5, 6, 7] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()).fontSize(80) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .displayCount(2, true) + .loop(true) + + Row({ space: 8 }) { + Button('Remove').onClick(() => { + this.data = [0, 1, 2, 3, 4] + }) + .id('UIComponentScrollSwiperAcross0060_Remove') + + Button('Change4').onClick(() => { + this.swiperController.changeIndex(4, true) + }) + .id('UIComponentScrollSwiperAcross0060_ChangeIndex') + } + .margin({ top: 20 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010.ets new file mode 100644 index 00000000..7cad7201 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0010 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: false }, false) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020.ets new file mode 100644 index 00000000..510e89ee --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0020 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: true }, false) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030.ets new file mode 100644 index 00000000..c5d18b03 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0030 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: false }, true) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040.ets new file mode 100644 index 00000000..4eb85784 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0040 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: true }, true) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610.ets new file mode 100644 index 00000000..2005f7da --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0610 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: false }, false) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620.ets new file mode 100644 index 00000000..926ea348 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0620 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: true }, false) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630.ets new file mode 100644 index 00000000..eda1c7f2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0630 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: false }, true) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640.ets new file mode 100644 index 00000000..9f5bcedd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0640 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: true }, true) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650.ets new file mode 100644 index 00000000..9ba9fdb8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0650 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State topV: number = 30; + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: false }, false) + .indicator(DotIndicator.dot().top(this.topV)) + + Button('移动按钮') + .id('UIComponentScrollSwiperArrowHead0650_001') + .onClick(() => { + this.topV = 0; + }) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660.ets new file mode 100644 index 00000000..b5d486e1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0660 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State topV: number = 30; + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: true }, false) + .indicator(DotIndicator.dot().top(this.topV)) + + Button('移动按钮') + .id('UIComponentScrollSwiperArrowHead0660_001') + .onClick(() => { + this.topV = 0; + }) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670.ets new file mode 100644 index 00000000..aced9afe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0670 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State topV: number = 30; + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: false }, true) + .indicator(DotIndicator.dot().top(this.topV)) + + Button('移动按钮') + .id('UIComponentScrollSwiperArrowHead0670_001') + .onClick(() => { + setTimeout(()=>{ + this.topV = 0; + },1000) + }) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680.ets new file mode 100644 index 00000000..fba2a76e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0680 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State topV: number = 30; + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .displayArrow({ isSidebarMiddle: true }, true) + .indicator(DotIndicator.dot().top(this.topV)) + + Button('移动按钮') + .id('UIComponentScrollSwiperArrowHead0680_001') + .onClick(() => { + this.topV = 0; + }) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690.ets new file mode 100644 index 00000000..542c8c90 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0690 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + }.indicator( // 设置圆点导航点样式 + new DotIndicator() + .itemWidth(50) + .itemHeight(50)) + .size({ width: 50, height: 50 }) + .displayArrow({ isSidebarMiddle: false }, false) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700.ets new file mode 100644 index 00000000..d6c88f86 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0700 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + }.indicator( // 设置圆点导航点样式 + new DotIndicator() + .itemWidth(50) + .itemHeight(50)) + .size({ width: 50, height: 50 }) + .displayArrow({ isSidebarMiddle: true }, false) + + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710.ets new file mode 100644 index 00000000..a8024e04 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0710 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + }.indicator( // 设置圆点导航点样式 + new DotIndicator() + .itemWidth(50) + .itemHeight(50)) + .size({ width: 50, height: 50 }) + .displayArrow({ isSidebarMiddle: false }, true) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720.ets new file mode 100644 index 00000000..91ecf4f5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0720 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .indicator( // 设置圆点导航点样式 + new DotIndicator() + .itemWidth(50) + .itemHeight(50)) + .size({ width: 50, height: 50 }) + .displayArrow({ isSidebarMiddle: true }, true) + + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730.ets new file mode 100644 index 00000000..7a2c393d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730.ets @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0730 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State dotSize: number = 10 + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + Text("3") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("4") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + Text("5") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("6") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .indicator( // 设置圆点导航点样式 + new DotIndicator() + .itemWidth(this.dotSize) + .itemHeight(this.dotSize)) + .displayArrow({ isSidebarMiddle: false }, false) + + Button('导航点扩大按钮') + .id('UIComponentScrollSwiperArrowHead0730_001') + .onClick(() => { + this.dotSize = 80; + }) + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740.ets new file mode 100644 index 00000000..6d23adcb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0740 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State dotSize: number = 10 + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .indicator( // 设置圆点导航点样式 + new DotIndicator() + .itemWidth(this.dotSize) + .itemHeight(this.dotSize)) + .displayArrow({ isSidebarMiddle: true }, false) + + Button('导航点扩大按钮') + .id('UIComponentScrollSwiperArrowHead0740_001') + .onClick(() => { + this.dotSize = 80; + }) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750.ets new file mode 100644 index 00000000..c6a27a4b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750.ets @@ -0,0 +1,76 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0750 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State dotSize: number = 10 + + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + Text("3") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("4") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + Text("5") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("6") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .indicator( // 设置圆点导航点样式 + new DotIndicator() + .itemWidth(this.dotSize) + .itemHeight(this.dotSize)) + .displayArrow({ isSidebarMiddle: false }, true) + + Button('导航点扩大按钮') + .id('UIComponentScrollSwiperArrowHead0750_001') + .onClick(() => { + this.dotSize = 80; + }) + + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760.ets new file mode 100644 index 00000000..d59153d0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0760 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State dotSize: number = 10 + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .indicator( // 设置圆点导航点样式 + new DotIndicator() + .itemWidth(this.dotSize) + .itemHeight(this.dotSize)) + .displayArrow({ isSidebarMiddle: true }, true) + + Button('导航点扩大按钮') + .id('UIComponentScrollSwiperArrowHead0760_001') + .onClick(() => { + this.dotSize = 80; + }) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770.ets new file mode 100644 index 00000000..1908d578 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0770 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State leftV: number = 100 + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + Text("3") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("4") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .indicator( // 设置圆点导航点样式 + new DotIndicator() + .top(15) + .bottom(15) + .left(this.leftV) + .right(15)) + .displayArrow({ isSidebarMiddle: false }, false) + + Button('导航指示器左移按钮') + .id('UIComponentScrollSwiperArrowHead0770_001') + .onClick(() => { + this.leftV = 0; + }) + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780.ets new file mode 100644 index 00000000..c34d5aca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0780 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State leftV: number = 100 + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .indicator( // 设置圆点导航点样式 + new DotIndicator() + .top(15) + .bottom(15) + .left(this.leftV) + .right(15)) + .displayArrow({ isSidebarMiddle: true }, false) + + Button('导航指示器左移按钮') + .id('UIComponentScrollSwiperArrowHead0780_001') + .onClick(() => { + this.leftV = 0; + }) + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790.ets new file mode 100644 index 00000000..2c0cfa7f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0790 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State leftV: number = 100 + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .indicator( // 设置圆点导航点样式 + new DotIndicator() + .top(15) + .bottom(15) + .left(this.leftV) + .right(15)) + .displayArrow({ isSidebarMiddle: false }, true) + + Button('导航指示器左移按钮') + .id('UIComponentScrollSwiperArrowHead0790_001') + .onClick(() => { + this.leftV = 0; + }) + + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800.ets new file mode 100644 index 00000000..0c8ec669 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800.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 { SwiperModifier } from '@ohos.arkui.modifier' + +@Entry +@Component +struct UIComponentScrollSwiperArrowHead0800 { + private swiperController: SwiperController = new SwiperController() + @State modifier: SwiperModifier = new SwiperModifier() + @State leftV: number = 100 + + build() { + Column({ space: 5 }) { + Swiper(this.swiperController) { + Text("1") + .width('90%') + .height(160) + .backgroundColor(0xAFEEEE) + .textAlign(TextAlign.Center) + Text("2") + .width('90%') + .height(160) + .backgroundColor(Color.Pink) + .textAlign(TextAlign.Center) + } + .indicator( // 设置圆点导航点样式 + new DotIndicator() + .top(15) + .bottom(15) + .left(this.leftV) + .right(15)) + .displayArrow({ isSidebarMiddle: true }, true) + Button('导航指示器左移按钮') + .id('UIComponentScrollSwiperArrowHead0800_001') + .onClick(() => { + this.leftV = 0; + }) + }.width('100%') + .margin({ top: 5 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140.ets new file mode 100644 index 00000000..a2f7f529 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140.ets @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentScrollSwiperDisplaycount0140 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + Row({space: 8}){ + Button("ShowPrevious").onClick(() => { + this.swiperController.showPrevious() + }) + .id('UIComponentScrollSwiperDisplaycount0140_ShowPrevious') + + Button("ShowNext").onClick(() => { + this.swiperController.showNext() + }) + .id('UIComponentScrollSwiperDisplaycount0130_ShowNext') + } + .margin({ top: 30 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040.ets new file mode 100644 index 00000000..1c355b0f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040.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 UIComponentScrollSwiperInterface0040 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + .width('90%') + .height(300) + }, (item: string) => item) + } + .displayArrow({ arrowColor: 'abcd' }) + }.margin(5) + } +} + diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820.ets new file mode 100644 index 00000000..b6453c03 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820.ets @@ -0,0 +1,65 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource0820 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface0820 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource0820 = new MyDataSource0820([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource0820(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .indicatorStyle({ + color: '' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830.ets new file mode 100644 index 00000000..ed023a05 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource0830 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface0830 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource0830 = new MyDataSource0830([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource0830(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + // .width(250) + // .height(250) + .indicatorStyle({ + selectedColor: '' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890.ets new file mode 100644 index 00000000..0b906418 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource0890 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface0890 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource0890 = new MyDataSource0890([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource0890(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .bottom(5) + .bottom(10) + .bottom(50) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960.ets new file mode 100644 index 00000000..41785120 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource0960 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface0960 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource0960 = new MyDataSource0960([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource0960(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .left(5) + .left(10) + .left(50) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980.ets new file mode 100644 index 00000000..d5ff8217 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource0980 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface0980 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource0980 = new MyDataSource0980([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource0980(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .right(5) + .right(10) + .right(50) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990.ets new file mode 100644 index 00000000..70fa20d6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource0990 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface0990 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource0990 = new MyDataSource0990([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource0990(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .top(5) + .top(10) + .top(50) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010.ets new file mode 100644 index 00000000..5f2ae4ac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010.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 UIComponentScrollSwiperInterface1010 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030.ets new file mode 100644 index 00000000..5d0ffef5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030.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 UIComponentScrollSwiperInterface1030 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040.ets new file mode 100644 index 00000000..dc2d2091 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040.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 UIComponentScrollSwiperInterface1040 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050.ets new file mode 100644 index 00000000..e295139b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050.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 UIComponentScrollSwiperInterface1050 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180.ets new file mode 100644 index 00000000..e4c3428e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180.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 UIComponentScrollSwiperInterface1180 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: number = -100; + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + DotIndicator.dot() + .bottom(this.size_10vp) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190.ets new file mode 100644 index 00000000..a4f71d4e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190.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 UIComponentScrollSwiperInterface1190 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: number = 0; + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + DotIndicator.dot() + .bottom(this.size_10vp) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210.ets new file mode 100644 index 00000000..4808b7f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210.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 UIComponentScrollSwiperInterface1210 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: Resource = $r('app.string.size_10vp'); + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + DotIndicator.dot() + .bottom(this.size_10vp) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220.ets new file mode 100644 index 00000000..0bd493ce --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220.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 UIComponentScrollSwiperInterface1220 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: string = '-100'; + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + DotIndicator.dot() + .bottom(this.size_10vp) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230.ets new file mode 100644 index 00000000..b69553fa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230.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 UIComponentScrollSwiperInterface1230 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: string = '0'; + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + DotIndicator.dot() + .bottom(this.size_10vp) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260.ets new file mode 100644 index 00000000..369a8b3e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260.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 UIComponentScrollSwiperInterface1260 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: string = '50%'; + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + DotIndicator.dot() + .bottom(this.size_10vp) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270.ets new file mode 100644 index 00000000..d9b16aa2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270.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 UIComponentScrollSwiperInterface1270 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: string = 'abc'; + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + DotIndicator.dot() + .bottom(this.size_10vp) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660.ets new file mode 100644 index 00000000..82611cd9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660.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 UIComponentScrollSwiperInterface1660 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator(new DigitIndicator()) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670.ets new file mode 100644 index 00000000..191f392b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670.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 UIComponentScrollSwiperInterface1670 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator(new DigitIndicator) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680.ets new file mode 100644 index 00000000..06ede365 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680.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 UIComponentScrollSwiperInterface1680 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator(new DigitIndicator()) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710.ets new file mode 100644 index 00000000..4fa93472 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface1710 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: Resource = $r('app.string.size_10vp') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .digitFont({ size: 14, weight: FontWeight.Normal }) + .digitFont({ size: 20, weight: FontWeight.Bold }) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780.ets new file mode 100644 index 00000000..8912cbaf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface1780 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State font_abc: string = 'abc' + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .digitFont({ size: 14, family: this.font_abc }) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860.ets new file mode 100644 index 00000000..bbcf51f2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface1860 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State font_abc: string = 'abc' + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .digitFont({ size: 14, weight: this.font_abc }) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870.ets new file mode 100644 index 00000000..e77896f1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface1870 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .digitFont({ size: 14, weight: FontWeight.Normal }) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890.ets new file mode 100644 index 00000000..edc2e20d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface1890 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .digitFont({ size: 14, weight: FontWeight.Normal }) + .selectedDigitFont({ weight: FontWeight.Bold }) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900.ets new file mode 100644 index 00000000..d8b8bdc4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900.ets @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface1900 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .digitFont({ size: 14, weight: FontWeight.Normal }) + .selectedDigitFont({ weight: FontWeight.Bold }) + .selectedDigitFont({ size: 20, weight: FontWeight.Normal }) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970.ets new file mode 100644 index 00000000..23385899 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface1970 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State font_abc: string = 'abc' + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .selectedDigitFont({ family: this.font_abc }) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050.ets new file mode 100644 index 00000000..ba178dbe --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface2050 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State font_abc: string = 'abc' + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .selectedDigitFont({ weight: this.font_abc }) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060.ets new file mode 100644 index 00000000..7d036bb8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface2060 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .fontColor(Color.Blue) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110.ets new file mode 100644 index 00000000..1ba7acdb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface2110 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .fontColor(Color.Blue) + .fontColor(Color.Yellow) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160.ets new file mode 100644 index 00000000..8de19a38 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160.ets @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface2160 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DigitIndicator() + .selectedFontColor(Color.Blue) + .selectedFontColor(Color.Yellow) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180.ets new file mode 100644 index 00000000..9a58bb45 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2180 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2180 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2180 = new MyDataSource2180([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2180(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator(DotIndicator.dot().color('')) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190.ets new file mode 100644 index 00000000..975b94e9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2190 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2190 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2190 = new MyDataSource2190([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2190(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator(DotIndicator.dot().mask(false)) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200.ets new file mode 100644 index 00000000..f94360a8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2200 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2200 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2200 = new MyDataSource2200([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2200(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator(DotIndicator.dot().selectedColor('')) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210.ets new file mode 100644 index 00000000..e9712267 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2210 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2210 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2210 = new MyDataSource2210([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2210(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator(DotIndicator.dot().itemHeight('')) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230.ets new file mode 100644 index 00000000..2c7058c5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2230 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2230 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2230 = new MyDataSource2230([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2230(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .itemHeight(6) + .itemHeight(20) + .itemHeight(10) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330.ets new file mode 100644 index 00000000..88195bc5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330.ets @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2330 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2330 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2330 = new MyDataSource2330([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2330(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .itemWidth('') + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340.ets new file mode 100644 index 00000000..d3b880ae --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340.ets @@ -0,0 +1,71 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2350 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2350 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2350 = new MyDataSource2350([]) + @State size_10vp: Resource = $r('app.string.size_10vp'); + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2350(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .itemWidth(this.size_10vp) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350.ets new file mode 100644 index 00000000..741ccd0b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2340 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2340 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2340 = new MyDataSource2340([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2340(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .itemWidth(6) + .itemWidth(10) + .itemWidth(15) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370.ets new file mode 100644 index 00000000..cb196f80 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370.ets @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Font } from '@ohos.arkui.UIContext' + +@Entry +@Component +struct UIComponentScrollSwiperInterface2370 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicator( + new DotIndicator() + .itemWidth(0) + ) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460.ets new file mode 100644 index 00000000..36fbedd9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2460 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2460 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2460 = new MyDataSource2460([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2460(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .selectedItemHeight(6) + .selectedItemHeight(10) + .selectedItemHeight(15) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560.ets new file mode 100644 index 00000000..9ec4b05b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560.ets @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2560 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2560 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2560 = new MyDataSource2560([]) + @State size_10vp: Resource = $r('app.string.size_10vp'); + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2560(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .selectedItemHeight(this.size_10vp) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570.ets new file mode 100644 index 00000000..69c6e1b9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2570 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2570 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2570 = new MyDataSource2570([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2570(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .selectedItemWidth(6) + .selectedItemWidth(10) + .selectedItemWidth(15) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720.ets new file mode 100644 index 00000000..67756298 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2720 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2720 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2720 = new MyDataSource2720([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2720(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + // .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .color(Color.Transparent) + .color(Color.Pink) + .color(Color.Red) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790.ets new file mode 100644 index 00000000..96bc460e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource2790 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface2790 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2790 = new MyDataSource2790([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource2790(list) + } + + build() { + Column() { + + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + // .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .indicator( + DotIndicator.dot() + .selectedColor(Color.Transparent) + .selectedColor(Color.Pink) + .selectedColor(Color.Red) + ) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910.ets new file mode 100644 index 00000000..c8d10db9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910.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 UIComponentScrollSwiperInterface2910 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: string = 'abc'; + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicatorStyle({ + selectedColor: '#fc0303' + }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030.ets new file mode 100644 index 00000000..6fc345e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030.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 UIComponentScrollSwiperInterface3030 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: Resource = $r('app.string.size_10vp') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicatorStyle({ bottom: this.size_10vp }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040.ets new file mode 100644 index 00000000..933a8248 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040.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 UIComponentScrollSwiperInterface3040 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: Resource = $r('app.string.size_10vp') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicatorStyle({ left: this.size_10vp }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050.ets new file mode 100644 index 00000000..6b29616b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050.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 UIComponentScrollSwiperInterface3050 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: Resource = $r('app.string.size_10vp') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicatorStyle({ right: this.size_10vp }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060.ets new file mode 100644 index 00000000..fcb7df44 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060.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 UIComponentScrollSwiperInterface3060 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: Resource = $r('app.string.size_10vp') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicatorStyle({ size: this.size_10vp }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070.ets new file mode 100644 index 00000000..d1e74d1b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070.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 UIComponentScrollSwiperInterface3070 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: Resource = $r('app.string.size_10vp') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicatorStyle({ top: this.size_10vp }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120.ets new file mode 100644 index 00000000..4a201c96 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120.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 UIComponentScrollSwiperInterface3120 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State size_10vp: Resource = $r('app.string.size_10vp') + @State rightV: string = '10px'; + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicatorStyle({ bottom: this.size_10vp, right: this.rightV }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130.ets new file mode 100644 index 00000000..b2392982 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130.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 UIComponentScrollSwiperInterface3130 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State sizeV: number = 10; + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicatorStyle({ size: this.sizeV }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140.ets new file mode 100644 index 00000000..4d1ff039 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140.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 UIComponentScrollSwiperInterface3140 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + @State sizeV: string = '10%'; + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Text(item.toString()) + .width('80%') + .height(100) + .backgroundColor(Color.Yellow) + .margin('10%') + .textAlign(TextAlign.Center) + } + }, (item: string) => item) + } + .indicatorStyle({ size: this.sizeV }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160.ets new file mode 100644 index 00000000..76f68d42 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3160 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3160 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3160 = new MyDataSource3160([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3160(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()).height(80).width(80) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .indicatorStyle({ + size: 'abcd' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300.ets new file mode 100644 index 00000000..b1b2fb9a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3300 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3300 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3300 = new MyDataSource3300([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3300(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()).height(80).width(80) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .indicatorStyle({ + left: -100 + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310.ets new file mode 100644 index 00000000..bcdaa70c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3310 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3310 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3310 = new MyDataSource3310([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3310(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()).height(80).width(80) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .indicatorStyle({ + left: 0 + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330.ets new file mode 100644 index 00000000..3be10976 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3330 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3330 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3330 = new MyDataSource3330([]) + @State resource: ResourceStr = '50' + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3330(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()).height(80).width(80) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .indicatorStyle({ + left: this.resource + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340.ets new file mode 100644 index 00000000..8cd9cf67 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3340 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3340 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3340 = new MyDataSource3340([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3340(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()).height(80).width(80) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .indicatorStyle({ + left: '-100' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350.ets new file mode 100644 index 00000000..538c00b9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350.ets @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3350 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3350 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3350 = new MyDataSource3350([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3350(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()).height(80).width(80).backgroundColor(Color.Red) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .indicatorStyle({ + left: '0' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380.ets new file mode 100644 index 00000000..22341710 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3380 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3380 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3380 = new MyDataSource3380([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3380(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(100) + .height(100) + .backgroundColor(Color.Red) + .indicatorStyle({ + left: '50%' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390.ets new file mode 100644 index 00000000..e4fe1d89 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3390 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3390 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3390 = new MyDataSource3390([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3390(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .width(100) + .height(100) + }, (item: string) => item) + } + .backgroundColor(Color.Red) + .indicatorStyle({ + left: 'abc' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430.ets new file mode 100644 index 00000000..dd170251 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3430 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3430 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3430 = new MyDataSource3430([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3430(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(150) + .backgroundColor(Color.Red) + .indicatorStyle({ + right: 0 + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450.ets new file mode 100644 index 00000000..474cb2b1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450.ets @@ -0,0 +1,69 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3450 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3450 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3450 = new MyDataSource3450([]) + @State resource: ResourceStr = '50' + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3450(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(150) + .backgroundColor(Color.Red) + .indicatorStyle({ + right: this.resource + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460.ets new file mode 100644 index 00000000..f2e938a2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3460 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3460 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3460 = new MyDataSource3460([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3460(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(150) + .backgroundColor(Color.Red) + .indicatorStyle({ + right: '-100' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500.ets new file mode 100644 index 00000000..29ab6ff2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3500 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3500 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3500 = new MyDataSource3500([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3500(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(100) + .height(150) + .backgroundColor(Color.Red) + .indicatorStyle({ + right: '50%' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510.ets new file mode 100644 index 00000000..bceebb02 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3510 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3510 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3510 = new MyDataSource3510([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3510(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .width(100) + .height(100) + }, (item: string) => item) + } + .backgroundColor(Color.Red) + .indicatorStyle({ + right: 'abc' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520.ets new file mode 100644 index 00000000..3f30130d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3520 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3520 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3520 = new MyDataSource3520([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3520(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Red) + .indicatorStyle({ + top: -100 + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530.ets new file mode 100644 index 00000000..1549e62d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3530 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3530 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3530 = new MyDataSource3530([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3530(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Yellow) + .indicatorStyle({ + top: 0 + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550.ets new file mode 100644 index 00000000..90afe05e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550.ets @@ -0,0 +1,69 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3550 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3550 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3550 = new MyDataSource3550([]) + @State resource:ResourceStr = '50' + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3550(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Yellow) + .indicatorStyle({ + top: this.resource + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560.ets new file mode 100644 index 00000000..b3c8c887 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3560 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3560 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3560 = new MyDataSource3560([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3560(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Yellow) + .indicatorStyle({ + top: '-100' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570.ets new file mode 100644 index 00000000..bbfa9d91 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3570 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3570 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3570 = new MyDataSource3570([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3570(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Yellow) + .indicatorStyle({ + top: '0' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600.ets new file mode 100644 index 00000000..be48ec33 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3600 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3600 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3600 = new MyDataSource3600([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3600(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Yellow) + .indicatorStyle({ + top: '50%' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610.ets new file mode 100644 index 00000000..5810f690 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3610 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3610 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3610 = new MyDataSource3610([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3610(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Yellow) + .indicatorStyle({ + top: 'abc' + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700.ets new file mode 100644 index 00000000..56142636 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700.ets @@ -0,0 +1,69 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource3700 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperInterface3700 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource3700 = new MyDataSource3700([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource3700(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Yellow) + .indicator(DotIndicator.dot().top(50)) + .indicatorStyle({ + top: 0 + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780.ets new file mode 100644 index 00000000..11ab8441 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780.ets @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentScrollSwiperInterface3780 { + private data: number[] = [1, 2, 3] + + + build() { + Column() { + Swiper() { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Yellow) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790.ets new file mode 100644 index 00000000..a4eb325b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790.ets @@ -0,0 +1,66 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentScrollSwiperInterface3790 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(150) + .height(150) + .backgroundColor(Color.Blue) + + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(150) + .height(150) + .backgroundColor(Color.Red) + .margin({ top: 10 }) + + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(150) + .height(150) + .backgroundColor(Color.Yellow) + .margin({ top: 10 }) + + Button("ShowNext").onClick(() => { + this.swiperController.showNext() + }) + .id('UIComponentScrollSwiperInterface3790_ShowNext') + .margin({ top: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810.ets new file mode 100644 index 00000000..ef3ee197 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810.ets @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentScrollSwiperInterface3810 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()).fontSize(80) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Yellow) + + Button("ShowNext").onClick(() => { + this.swiperController.showNext() + }) + .id('UIComponentScrollSwiperInterface3810_ShowNext') + .margin({ top: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820.ets new file mode 100644 index 00000000..c9241c56 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820.ets @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentScrollSwiperInterface3820 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()).fontSize(80) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .backgroundColor(Color.Yellow) + + Button("ShowPrevious").onClick(() => { + this.swiperController.showPrevious() + }) + .id('UIComponentScrollSwiperInterface3820_Previous') + .margin({ top: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/IDataSource.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/IDataSource.ets new file mode 100644 index 00000000..792d8169 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/IDataSource.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. + */ +export class MyDataSource implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010.ets new file mode 100644 index 00000000..97b6e352 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0010 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020.ets new file mode 100644 index 00000000..778a9be5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0020 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030.ets new file mode 100644 index 00000000..40204029 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0030 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040.ets new file mode 100644 index 00000000..d0576ac4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0040 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050.ets new file mode 100644 index 00000000..f6a87dc7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0050 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060.ets new file mode 100644 index 00000000..4b76dd88 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0060 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070.ets new file mode 100644 index 00000000..9ef540e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0070 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080.ets new file mode 100644 index 00000000..d196ab9b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0080 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090.ets new file mode 100644 index 00000000..dc6c0ec5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0090 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 4; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .nextMargin(10) + .prevMargin(10) + .itemSpace(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100.ets new file mode 100644 index 00000000..76743619 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0100 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110.ets new file mode 100644 index 00000000..9d9ff635 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0110 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .vertical(true) + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120.ets new file mode 100644 index 00000000..f453f2e3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0120 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130.ets new file mode 100644 index 00000000..6bae85b7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0130 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140.ets new file mode 100644 index 00000000..38bfa5b4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0140 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150.ets new file mode 100644 index 00000000..b85421ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0150 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160.ets new file mode 100644 index 00000000..bf0055a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0160 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170.ets new file mode 100644 index 00000000..125487bb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0170 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180.ets new file mode 100644 index 00000000..86a31be2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0180 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190.ets new file mode 100644 index 00000000..70541f08 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0190 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200.ets new file mode 100644 index 00000000..7654bfd3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0200 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210.ets new file mode 100644 index 00000000..959fcbb0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0210 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220.ets new file mode 100644 index 00000000..968780f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0220 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 4; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230.ets new file mode 100644 index 00000000..08908522 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0230 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .border({ width: 10 }) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240.ets new file mode 100644 index 00000000..6c0ae8cf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0240 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250.ets new file mode 100644 index 00000000..711ad160 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0250 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .vertical(true) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260.ets new file mode 100644 index 00000000..db45b48e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0260 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270.ets new file mode 100644 index 00000000..cb7635a0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0270 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280.ets new file mode 100644 index 00000000..9055559b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0280 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290.ets new file mode 100644 index 00000000..df847e8f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0290 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300.ets new file mode 100644 index 00000000..1c374469 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0300 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310.ets new file mode 100644 index 00000000..bf141053 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0310 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320.ets new file mode 100644 index 00000000..f619a9bd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0320 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330.ets new file mode 100644 index 00000000..1a9e09ca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0330 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340.ets new file mode 100644 index 00000000..2be008d0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0340 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350.ets new file mode 100644 index 00000000..6afbb458 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0350 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .vertical(true) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360.ets new file mode 100644 index 00000000..c20ae08b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0360 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370.ets new file mode 100644 index 00000000..d8689b4e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0370 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380.ets new file mode 100644 index 00000000..a59be042 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0380 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390.ets new file mode 100644 index 00000000..0623a1f3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0390 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400.ets new file mode 100644 index 00000000..6feb0090 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0400 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410.ets new file mode 100644 index 00000000..00a9523f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0410 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420.ets new file mode 100644 index 00000000..ccd56467 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0420 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430.ets new file mode 100644 index 00000000..ae56a48f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0430 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .vertical(true) + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440.ets new file mode 100644 index 00000000..f4cd61c1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0440 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450.ets new file mode 100644 index 00000000..a172cba6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0450 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460.ets new file mode 100644 index 00000000..597af9a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0460 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470.ets new file mode 100644 index 00000000..420d5484 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0470 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480.ets new file mode 100644 index 00000000..aac13ff2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0480 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490.ets new file mode 100644 index 00000000..69411a73 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0490 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500.ets new file mode 100644 index 00000000..345ccb65 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0500 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .nextMargin(10) + .prevMargin(10) + .itemSpace(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510.ets new file mode 100644 index 00000000..7d41a60e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0510 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Text(item.toString()) + + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .nextMargin(10) + .prevMargin(10) + .itemSpace(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520.ets new file mode 100644 index 00000000..a956ec5a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0520 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530.ets new file mode 100644 index 00000000..07069e36 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0530 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540.ets new file mode 100644 index 00000000..7d79ca5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0540 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550.ets new file mode 100644 index 00000000..4e943bb5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0550 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560.ets new file mode 100644 index 00000000..d0add52e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0560 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570.ets new file mode 100644 index 00000000..17f19ba6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0570 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580.ets new file mode 100644 index 00000000..07c2d582 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0580 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .nextMargin(10) + .prevMargin(10) + .itemSpace(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590.ets new file mode 100644 index 00000000..82ee1a45 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0590 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600.ets new file mode 100644 index 00000000..b0436736 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0600 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610.ets new file mode 100644 index 00000000..b3eb45af --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0610 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620.ets new file mode 100644 index 00000000..6316759c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0620 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630.ets new file mode 100644 index 00000000..b6a2e6d8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0630 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640.ets new file mode 100644 index 00000000..e476463f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0640 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650.ets new file mode 100644 index 00000000..d1a2de52 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0650 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660.ets new file mode 100644 index 00000000..f13afeca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0660 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670.ets new file mode 100644 index 00000000..60d654ed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0670 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680.ets new file mode 100644 index 00000000..ac12a258 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0680 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690.ets new file mode 100644 index 00000000..24438d8f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0690 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700.ets new file mode 100644 index 00000000..f24eff0d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0700 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710.ets new file mode 100644 index 00000000..8286c03f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0710 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720.ets new file mode 100644 index 00000000..3b04efcd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0720 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .vertical(true) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730.ets new file mode 100644 index 00000000..7b45297a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0730 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740.ets new file mode 100644 index 00000000..c2ac51fa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0740 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .padding(10) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750.ets new file mode 100644 index 00000000..0a892a7d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0750 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760.ets new file mode 100644 index 00000000..0eb3f86b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0760 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770.ets new file mode 100644 index 00000000..1ecb6180 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770.ets @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class MyDataSource770 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperLayout0770 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource770 = new MyDataSource770([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 6; i++) { + list.push(i); + } + this.data = new MyDataSource770(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .margin(10) + .displayCount(3) + .size({width:200,height:300}) + .loop(false) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790.ets new file mode 100644 index 00000000..5495cdd9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790.ets @@ -0,0 +1,74 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class MyDataSource790 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperLayout0790 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource790 = new MyDataSource790([]) + private icon: Resource = $r('app.media.icon') + @State showBorder: boolean = true + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 6; i++) { + list.push(i); + } + this.data = new MyDataSource790(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .margin(10) + .displayCount(3) + .size({width:200,height:300}) + .loop(false) + .border({ + width: this.showBorder ? 10 : 0 + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810.ets new file mode 100644 index 00000000..63896e81 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810.ets @@ -0,0 +1,71 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class MyDataSource2 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperLayout0810 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource2 = new MyDataSource2([]) + private icon: Resource = $r('app.media.icon') + @State showBorder: boolean = true + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 6; i++) { + list.push(i); + } + this.data = new MyDataSource2(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .padding(10) + .displayCount(3) + .size({width:200,height:300}) + .loop(false) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820.ets new file mode 100644 index 00000000..b1141993 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0820 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830.ets new file mode 100644 index 00000000..f0b2f16d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0830 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .nextMargin(10) + .prevMargin(10) + .itemSpace(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840.ets new file mode 100644 index 00000000..671447c0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0840 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850.ets new file mode 100644 index 00000000..686bbca0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0850 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860.ets new file mode 100644 index 00000000..0d0bb39d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0860 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870.ets new file mode 100644 index 00000000..9bfb3419 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0870 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880.ets new file mode 100644 index 00000000..8426b954 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0880 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890.ets new file mode 100644 index 00000000..ba5ab5bd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0890 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900.ets new file mode 100644 index 00000000..e05b2ea0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0900 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910.ets new file mode 100644 index 00000000..987ed248 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0910 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920.ets new file mode 100644 index 00000000..8503dc3e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0920 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930.ets new file mode 100644 index 00000000..a75536ca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0930 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940.ets new file mode 100644 index 00000000..bd9da3c4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0940 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950.ets new file mode 100644 index 00000000..1f24984e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0950 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960.ets new file mode 100644 index 00000000..086537d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0960 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .nextMargin(10) + .prevMargin(10) + .itemSpace(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970.ets new file mode 100644 index 00000000..9adb877e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0970 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980.ets new file mode 100644 index 00000000..51d24700 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0980 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990.ets new file mode 100644 index 00000000..e6e5aae0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout0990 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000.ets new file mode 100644 index 00000000..c272ce28 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout1000 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010.ets new file mode 100644 index 00000000..5d39267e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010.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 { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout1010 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020.ets new file mode 100644 index 00000000..dc87d30d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020.ets @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class MyDataSource1020 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperLayout1020 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource1020 = new MyDataSource1020([]) + private icon: Resource = $r('app.media.icon') + @State showBorder: boolean = true + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 6; i++) { + list.push(i); + } + this.data = new MyDataSource1020(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .margin(10) + .displayCount(3) + .loop(false) + .border({ + width: this.showBorder ? 10 : 0 + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040.ets new file mode 100644 index 00000000..68445d29 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040.ets @@ -0,0 +1,69 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class MyDataSource1040 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperLayout1040 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource1040 = new MyDataSource1040([]) + private icon: Resource = $r('app.media.icon') + @State showBorder: boolean = true + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 6; i++) { + list.push(i); + } + this.data = new MyDataSource1040(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .padding(10) + .displayCount(3) + .loop(false) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050.ets new file mode 100644 index 00000000..ebb3e85b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050.ets @@ -0,0 +1,71 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class MyDataSource1050 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperLayout1050 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource1050 = new MyDataSource1050([]) + private icon: Resource = $r('app.media.icon') + @State showBorder: boolean = true + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 6; i++) { + list.push(i); + } + this.data = new MyDataSource1050(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .itemSpace(3) + .displayCount(3) + .margin(0) + .prevMargin(3) + .nextMargin(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060.ets new file mode 100644 index 00000000..4e142618 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class MyDataSource1060 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperLayout1060 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource1060 = new MyDataSource1060([]) + private icon: Resource = $r('app.media.icon') + @State showBorder: boolean = true + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 6; i++) { + list.push(i); + } + this.data = new MyDataSource1060(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080.ets new file mode 100644 index 00000000..868f62a1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080.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 UIComponentScrollSwiperLayout1080 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41).height(41) + Image(this.icon).width(41).height(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090.ets new file mode 100644 index 00000000..ad84d0bf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090.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 UIComponentScrollSwiperLayout1090 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100.ets new file mode 100644 index 00000000..37820fe9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100.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 UIComponentScrollSwiperLayout1100 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110.ets new file mode 100644 index 00000000..b94e8d69 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110.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 UIComponentScrollSwiperLayout1110 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120.ets new file mode 100644 index 00000000..09c7df55 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120.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 UIComponentScrollSwiperLayout1120 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130.ets new file mode 100644 index 00000000..7f805de5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130.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 UIComponentScrollSwiperLayout1130 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140.ets new file mode 100644 index 00000000..0b4aaaf9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140.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 UIComponentScrollSwiperLayout1140 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150.ets new file mode 100644 index 00000000..0972bb17 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150.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 UIComponentScrollSwiperLayout1150 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .vertical(true) + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160.ets new file mode 100644 index 00000000..05522208 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160.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 UIComponentScrollSwiperLayout1160 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170.ets new file mode 100644 index 00000000..aba40464 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170.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 UIComponentScrollSwiperLayout1170 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180.ets new file mode 100644 index 00000000..5ca27a56 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180.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 UIComponentScrollSwiperLayout1180 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190.ets new file mode 100644 index 00000000..3e4394f2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190.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 UIComponentScrollSwiperLayout1190 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .vertical(true) + .displayMode(SwiperDisplayMode.Stretch) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200.ets new file mode 100644 index 00000000..7dce8359 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200.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 UIComponentScrollSwiperLayout1200 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210.ets new file mode 100644 index 00000000..6feabc5a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210.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 UIComponentScrollSwiperLayout1210 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .vertical(true) + .displayMode(SwiperDisplayMode.Stretch) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220.ets new file mode 100644 index 00000000..a3ed3631 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220.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 UIComponentScrollSwiperLayout1220 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230.ets new file mode 100644 index 00000000..a844c84a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230.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 UIComponentScrollSwiperLayout1230 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .vertical(true) + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240.ets new file mode 100644 index 00000000..f95113f7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240.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 UIComponentScrollSwiperLayout1240 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250.ets new file mode 100644 index 00000000..5b494443 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250.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 UIComponentScrollSwiperLayout1250 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1260.ets new file mode 100644 index 00000000..f9b78c0e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1260.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 UIComponentScrollSwiperLayout1260 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270.ets new file mode 100644 index 00000000..f2ca50f0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270.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 UIComponentScrollSwiperLayout1270 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280.ets new file mode 100644 index 00000000..946ac928 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280.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 UIComponentScrollSwiperLayout1280 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290.ets new file mode 100644 index 00000000..ce6f9a58 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290.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 UIComponentScrollSwiperLayout1290 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300.ets new file mode 100644 index 00000000..7ad07d03 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300.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 UIComponentScrollSwiperLayout1300 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .itemSpace(10) + .nextMargin(10) + .prevMargin(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310.ets new file mode 100644 index 00000000..1ff841ac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310.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 UIComponentScrollSwiperLayout1310 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320.ets new file mode 100644 index 00000000..37b418f2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320.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 UIComponentScrollSwiperLayout1320 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330.ets new file mode 100644 index 00000000..fde46f4d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330.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 UIComponentScrollSwiperLayout1330 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340.ets new file mode 100644 index 00000000..7427f1af --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340.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 UIComponentScrollSwiperLayout1340 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350.ets new file mode 100644 index 00000000..d60dd151 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350.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 UIComponentScrollSwiperLayout1350 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360.ets new file mode 100644 index 00000000..febf6127 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360.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 UIComponentScrollSwiperLayout1360 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .vertical(true) + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370.ets new file mode 100644 index 00000000..fea094ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370.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 UIComponentScrollSwiperLayout1370 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380.ets new file mode 100644 index 00000000..4b933b9f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380.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 UIComponentScrollSwiperLayout1380 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390.ets new file mode 100644 index 00000000..66c42849 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390.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 UIComponentScrollSwiperLayout1390 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400.ets new file mode 100644 index 00000000..5fc95011 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400.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 UIComponentScrollSwiperLayout1400 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410.ets new file mode 100644 index 00000000..605838af --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410.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 UIComponentScrollSwiperLayout1410 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420.ets new file mode 100644 index 00000000..944adba9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420.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 UIComponentScrollSwiperLayout1420 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430.ets new file mode 100644 index 00000000..022817fc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430.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 UIComponentScrollSwiperLayout1430 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440.ets new file mode 100644 index 00000000..0de18638 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440.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 UIComponentScrollSwiperLayout1440 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .vertical(true) + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450.ets new file mode 100644 index 00000000..ce060de1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450.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 UIComponentScrollSwiperLayout1450 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460.ets new file mode 100644 index 00000000..54750b61 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460.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 UIComponentScrollSwiperLayout1460 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470.ets new file mode 100644 index 00000000..44a75c50 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470.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 UIComponentScrollSwiperLayout1470 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480.ets new file mode 100644 index 00000000..fcb736c4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480.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 UIComponentScrollSwiperLayout1480 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490.ets new file mode 100644 index 00000000..dfd6a988 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490.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 UIComponentScrollSwiperLayout1490 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500.ets new file mode 100644 index 00000000..24ce6429 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500.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 UIComponentScrollSwiperLayout1500 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510.ets new file mode 100644 index 00000000..a38e75b8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510.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 UIComponentScrollSwiperLayout1510 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .nextMargin(10) + .prevMargin(10) + .itemSpace(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520.ets new file mode 100644 index 00000000..e05c1bf6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520.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 UIComponentScrollSwiperLayout1520 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530.ets new file mode 100644 index 00000000..897d545e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530.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 UIComponentScrollSwiperLayout1530 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540.ets new file mode 100644 index 00000000..23e2fefd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540.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 UIComponentScrollSwiperLayout1540 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550.ets new file mode 100644 index 00000000..a108c2ea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550.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 UIComponentScrollSwiperLayout1550 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560.ets new file mode 100644 index 00000000..f669de44 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560.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 UIComponentScrollSwiperLayout1560 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570.ets new file mode 100644 index 00000000..a05f919e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570.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 UIComponentScrollSwiperLayout1570 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580.ets new file mode 100644 index 00000000..167ee1fd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580.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 UIComponentScrollSwiperLayout1580 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .vertical(true) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590.ets new file mode 100644 index 00000000..914021cc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590.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 UIComponentScrollSwiperLayout1590 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600.ets new file mode 100644 index 00000000..22efc213 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600.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 UIComponentScrollSwiperLayout1600 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610.ets new file mode 100644 index 00000000..c9eb6dcc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610.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 UIComponentScrollSwiperLayout1610 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620.ets new file mode 100644 index 00000000..88a3bef8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620.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 UIComponentScrollSwiperLayout1620 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630.ets new file mode 100644 index 00000000..f0b96a52 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630.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 UIComponentScrollSwiperLayout1630 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640.ets new file mode 100644 index 00000000..4f849934 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640.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 UIComponentScrollSwiperLayout1640 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650.ets new file mode 100644 index 00000000..aa0bf4ea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650.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 UIComponentScrollSwiperLayout1650 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660.ets new file mode 100644 index 00000000..ee15fe55 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660.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 UIComponentScrollSwiperLayout1660 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670.ets new file mode 100644 index 00000000..41db450d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670.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 UIComponentScrollSwiperLayout1670 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680.ets new file mode 100644 index 00000000..4a542520 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680.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 UIComponentScrollSwiperLayout1680 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690.ets new file mode 100644 index 00000000..e311dace --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690.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 UIComponentScrollSwiperLayout1690 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700.ets new file mode 100644 index 00000000..ac6980b3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700.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 UIComponentScrollSwiperLayout1700 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710.ets new file mode 100644 index 00000000..8649d34d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710.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 UIComponentScrollSwiperLayout1710 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720.ets new file mode 100644 index 00000000..60b42875 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720.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 UIComponentScrollSwiperLayout1720 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730.ets new file mode 100644 index 00000000..a8a76d1b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730.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 UIComponentScrollSwiperLayout1730 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.STRETCH) + .border({ width: 10 }) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740.ets new file mode 100644 index 00000000..c18aacfd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740.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 UIComponentScrollSwiperLayout1740 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750.ets new file mode 100644 index 00000000..3d53c2ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750.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 UIComponentScrollSwiperLayout1750 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .padding(10) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760.ets new file mode 100644 index 00000000..2b749d2e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760.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 UIComponentScrollSwiperLayout1760 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770.ets new file mode 100644 index 00000000..de5e9571 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770.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 UIComponentScrollSwiperLayout1770 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780.ets new file mode 100644 index 00000000..0d5a5757 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780.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 UIComponentScrollSwiperLayout1780 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790.ets new file mode 100644 index 00000000..c120bc9d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790.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 UIComponentScrollSwiperLayout1790 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800.ets new file mode 100644 index 00000000..46607cc3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800.ets @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource1800 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperLayout1800 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource1800 = new MyDataSource1800([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource1800(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + Image(this.icon).width(40) + Text(item.toString()) + } + }, (item: string) => item) + } + .border({ width: 10 }) + .width('100%') + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810.ets new file mode 100644 index 00000000..5e4a1055 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810.ets @@ -0,0 +1,69 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource1810 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperLayout1810 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource1810 = new MyDataSource1810([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource1810(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + Image(this.icon).width(40) + } + }, (item: string) => item) + } + .vertical(true) + .border({ width: 10 }) + .height(250) + .width('100%') + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820.ets new file mode 100644 index 00000000..c1b31381 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820.ets @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout1820 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + Image(this.icon).width(40) + Text(item.toString()) + } + }, (item: string) => item) + } + .padding(10) + .width('100%') + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830.ets new file mode 100644 index 00000000..2b21f4d2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830.ets @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout1830 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + Image(this.icon).width(40) + } + }, (item: string) => item) + } + .vertical(true) + .padding(10) + .width('100%') + .height(250) + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840.ets new file mode 100644 index 00000000..3b380827 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840.ets @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout1840 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + Image(this.icon).width(40) + } + }, (item: string) => item) + } + .prevMargin(10) + .nextMargin(10) + .itemSpace(10) + .width(250) + .height(250) + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850.ets new file mode 100644 index 00000000..c5e076de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850.ets @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout1850 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + private icon: Resource = $r('app.media.icon') + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + + Image(this.icon).width(40) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .width(250) + .height(250) + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860.ets new file mode 100644 index 00000000..acf3b5c7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860.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 UIComponentScrollSwiperLayout1860 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870.ets new file mode 100644 index 00000000..f94f25ba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870.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 UIComponentScrollSwiperLayout1870 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880.ets new file mode 100644 index 00000000..d1639488 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880.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 UIComponentScrollSwiperLayout1880 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890.ets new file mode 100644 index 00000000..d3541f45 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890.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 UIComponentScrollSwiperLayout1890 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900.ets new file mode 100644 index 00000000..ce867675 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900.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 UIComponentScrollSwiperLayout1900 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910.ets new file mode 100644 index 00000000..cd2b2069 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910.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 UIComponentScrollSwiperLayout1910 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920.ets new file mode 100644 index 00000000..37ee4270 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920.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 UIComponentScrollSwiperLayout1920 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930.ets new file mode 100644 index 00000000..332d1cd8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930.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 UIComponentScrollSwiperLayout1930 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940.ets new file mode 100644 index 00000000..4dccb401 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940.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 UIComponentScrollSwiperLayout1940 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .vertical(true) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950.ets new file mode 100644 index 00000000..b1d7133e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950.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 UIComponentScrollSwiperLayout1950 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960.ets new file mode 100644 index 00000000..84fede2e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960.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 UIComponentScrollSwiperLayout1960 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970.ets new file mode 100644 index 00000000..cb08b037 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970.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 UIComponentScrollSwiperLayout1970 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980.ets new file mode 100644 index 00000000..3eb40723 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980.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 UIComponentScrollSwiperLayout1980 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .border({ width: 10 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990.ets new file mode 100644 index 00000000..87852608 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990.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 UIComponentScrollSwiperLayout1990 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000.ets new file mode 100644 index 00000000..59d33035 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000.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 UIComponentScrollSwiperLayout2000 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .padding(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010.ets new file mode 100644 index 00000000..123f5e9b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010.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 UIComponentScrollSwiperLayout2010 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Row() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + .size({ width: 300, height: 300 }) + .nextMargin(10) + .prevMargin(10) + .itemSpace(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020.ets new file mode 100644 index 00000000..b5274eb6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020.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 UIComponentScrollSwiperLayout2020 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(1) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030.ets new file mode 100644 index 00000000..92c9eae9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030.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 UIComponentScrollSwiperLayout2030 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(1) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040.ets new file mode 100644 index 00000000..8b36efba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040.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 UIComponentScrollSwiperLayout2040 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050.ets new file mode 100644 index 00000000..5d4ee135 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050.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 UIComponentScrollSwiperLayout2050 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + private icon: Resource = $r('app.media.icon') + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: number) => { + Column() { + Image(this.icon).width(41) + Text(item.toString()) + Image(this.icon).width(41) + } + }, (item: string) => item) + } + .displayCount(3) + .size({ width: 300, height: 300 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060.ets new file mode 100644 index 00000000..712d4595 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060.ets @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout2060 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070.ets new file mode 100644 index 00000000..bfbc49fb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070.ets @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout2070 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080.ets new file mode 100644 index 00000000..950112e3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080.ets @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout2080 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090.ets new file mode 100644 index 00000000..5148d67f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090.ets @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout2090 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .width(250) + .height(250) + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100.ets new file mode 100644 index 00000000..015f4c7b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100.ets @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout2100 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .indicator(Indicator.digit()) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110.ets new file mode 100644 index 00000000..89c4c993 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110.ets @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { MyDataSource } from './IDataSource' + +@Entry +@Component +struct UIComponentScrollSwiperLayout2110 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource = new MyDataSource([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 3; i++) { + list.push(i); + } + this.data = new MyDataSource(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + }, (item: string) => item) + } + .indicator(Indicator.dot()) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070.ets new file mode 100644 index 00000000..7570aa33 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070.ets @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentScrollSwiperTeace0070 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + Row({space: 8}){ + Button("ShowNext").onClick(() => { + this.swiperController.showNext() + }) + .id('UIComponentScrollSwiperTeace0070_ShowNext') + } + .margin({ top: 30 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080.ets new file mode 100644 index 00000000..2b401f6e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080.ets @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIComponentScrollSwiperTeace0080 { + private swiperController: SwiperController = new SwiperController() + private data: number[] = [1, 2, 3] + + build() { + Column() { + Swiper(this.swiperController) { + ForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + Row(){ + Button("ShowPrevious").onClick(() => { + this.swiperController.showPrevious() + }) + .id('UIComponentScrollSwiperTeace0080_ShowPrevious') + } + .margin({ top: 30 }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010.ets new file mode 100644 index 00000000..4b8aaee4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010.ets @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource0010 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperUx0010 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource0010 = new MyDataSource0010([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 10; i++) { + list.push(i); + } + this.data = new MyDataSource0010(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + // Text('pic').width(80).height(80).backgroundColor(Color.Red) + } + .border({ + width: 1 + }) + .width(300) + .height(300) + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .displayMode(SwiperDisplayMode.AutoLinear) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020.ets new file mode 100644 index 00000000..7881799e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020.ets @@ -0,0 +1,69 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource0020 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperUx0020 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource0020 = new MyDataSource0020([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 10; i++) { + list.push(i); + } + this.data = new MyDataSource0020(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + Text(item.toString()) + } + .border({ + width: 1 + }) + .backgroundColor(Color.Yellow) + }, (item: string) => item) + } + .width(300) + .height(300) + .displayMode(SwiperDisplayMode.Stretch) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520.ets new file mode 100644 index 00000000..99aa52e2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520.ets @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class MyDataSource0520 implements IDataSource { + private list: number[] = [] + + constructor(list: number[]) { + this.list = list + } + + totalCount(): number { + return this.list.length + } + + getData(index: number): number { + return this.list[index] + } + + registerDataChangeListener(listener: DataChangeListener): void { + } + + unregisterDataChangeListener() { + } +} + +@Entry +@Component +struct UIComponentScrollSwiperUx0520 { + private swiperController: SwiperController = new SwiperController() + private data: MyDataSource0520 = new MyDataSource0520([]) + + aboutToAppear(): void { + let list: number[] = [] + for (let i = 1; i <= 10; i++) { + list.push(i); + } + this.data = new MyDataSource0520(list) + } + + build() { + Column() { + Swiper(this.swiperController) { + LazyForEach(this.data, (item: string) => { + Column() { + // Text(item.toString()) + // Text('pic').width(80).height(80).backgroundColor(Color.Red) + } + .visibility(Visibility.Hidden) + }, (item: string) => item) + } + .width(600) + .height(600) + .autoPlay(false) + .loop(true) + .indicator(Indicator.dot()) + .backgroundColor(Color.Red) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/string.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/string.json index 5f06f610..f87e327c 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 @@ -187,6 +187,10 @@ { "name": "height_20", "value": "20" + }, + { + "name": "size_10vp", + "value": "10vp" } ] } \ 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 d80234b8..0bc35630 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 @@ -453,7 +453,7 @@ "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00103_040_934", "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00104", "testability/pages/ComponentTextRicheditorPlaceholderTest/ComponentTextRicheditorPlaceholder00105", - + "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt0310", "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt001", "testability/pages/UIComponentNavTabsContentAdapt/UIComponentNavTabsContentAdapt002", @@ -824,6 +824,325 @@ "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor008", "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor011", - "testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003" + "testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0010", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0020", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0030", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0040", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0050", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0060", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0070", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0080", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0090", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0100", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0110", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0120", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0130", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0140", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0150", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0160", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0170", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0180", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0190", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0200", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0210", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0220", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0230", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0240", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0250", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0260", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0270", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0280", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0290", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0300", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0310", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0320", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0330", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0340", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0350", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0360", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0370", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0380", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0390", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0400", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0410", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0420", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0430", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0440", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0450", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0460", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0470", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0480", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0490", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0500", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0510", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0520", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0530", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0540", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0550", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0560", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0570", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0580", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0590", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0600", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0610", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0620", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0630", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0640", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0650", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0660", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0670", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0680", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0690", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0700", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0710", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0720", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0730", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0740", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0750", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0760", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0770", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0790", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0810", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0820", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0830", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0840", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0850", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0860", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0870", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0880", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0890", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0900", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0910", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0920", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0930", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0940", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0950", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0960", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0970", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0980", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout0990", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1000", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1010", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1020", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1040", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1050", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1060", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1080", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1090", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1100", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1110", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1120", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1130", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1140", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1150", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1160", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1170", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1180", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1190", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1200", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1210", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1220", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1230", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1240", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1250", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1270", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1280", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1290", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1300", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1310", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1320", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1330", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1340", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1350", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1360", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1370", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1380", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1390", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1400", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1410", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1420", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1430", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1440", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1450", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1460", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1470", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1480", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1490", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1500", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1510", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1520", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1530", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1540", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1550", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1560", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1570", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1580", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1590", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1600", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1610", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1620", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1630", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1640", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1650", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1660", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1670", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1680", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1690", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1700", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1710", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1720", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1730", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1740", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1750", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1760", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1770", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1780", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1790", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1860", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1870", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1880", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1890", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1900", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1910", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1920", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1930", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1940", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1950", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1960", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1970", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1980", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1990", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2000", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2010", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2020", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2030", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2040", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2050", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1800", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1810", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1820", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1830", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1840", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout1850", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2060", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2070", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2080", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2090", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2100", + "testability/pages/UIComponentScrollSwiperLayout/UIComponentScrollSwiperLayout2110", + "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0520", + "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0010", + "testability/pages/UIComponentScrollSwiperUx/UIComponentScrollSwiperUx0020", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0040", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0820", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0830", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3160", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3300", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3310", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3330", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3340", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3350", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3380", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3430", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3450", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3460", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3500", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3510", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3390", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3520", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3530", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1010", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1030", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1040", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1050", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1180", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1190", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1210", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1220", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1230", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1260", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1270", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2910", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3030", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3040", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3050", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3060", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3070", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3120", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3130", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3140", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3550", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3560", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3570", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3600", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3610", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3700", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2180", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2190", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2200", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2210", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2230", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2330", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2340", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2350", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2460", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2560", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2570", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2720", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2790", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0890", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0960", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0980", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface0990", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3780", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3790", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3810", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface3820", + "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0010", + "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0030", + "testability/pages/UIComponentScrollSwiperAcross/UIComponentScrollSwiperAcross0060", + "testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0070", + "testability/pages/UIComponentScrollSwiperTeace/UIComponentScrollSwiperTeace0080", + "testability/pages/UIComponentScrollSwiperDisplaycount/UIComponentScrollSwiperDisplaycount0140", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0610", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0620", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0630", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0640", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0650", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0660", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0670", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0680", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0690", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0700", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0710", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0720", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0730", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0740", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0750", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0760", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0770", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0780", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0790", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0800", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0010", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0020", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0030", + "testability/pages/UIComponentScrollSwiperArrowHead/UIComponentScrollSwiperArrowHead0040", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1660", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1670", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1680", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1710", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1780", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1860", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1870", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1890", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1900", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface1970", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2050", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2060", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2110", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2160", + "testability/pages/UIComponentScrollSwiperInterface/UIComponentScrollSwiperInterface2370" ] } -- Gitee