diff --git a/OHBM/entry/oh-package.json5 b/OHBM/entry/oh-package.json5 index 56c084745fc903ba2a1c5ab978620447c2902570..fa580bbb3800ee5d9e4a35a53a815a45a63daf19 100644 --- a/OHBM/entry/oh-package.json5 +++ b/OHBM/entry/oh-package.json5 @@ -13,6 +13,24 @@ * limitations under the License. */ +<<<<<<<< HEAD:scenario/MusicPlayerOnline/entry/src/main/ets/model/SettingItem.ets +/** + * SettingItem data entity. + */ +export default class SettingItem { + title: string; + img: Resource; + subTitle: string; + others?: boolean = false; + + constructor(title: string, img: Resource, subTitle: string, others?: boolean) { + this.title = title; + this.img = img; + this.others = others; + this.subTitle = subTitle; + } +} +======== { "name": "entry", "version": "1.0.0", @@ -23,3 +41,4 @@ "dependencies": {} } +>>>>>>>> 23f9f8887cb555fee9273900153448f817ac381e:OHBM/entry/oh-package.json5 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 92199af358b5aa99740bb47cee01507a9b4be0d4..75826172fa28797b5f7b3cc7bfc694483891081b 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 @@ -14,6 +14,14 @@ */ +import UIComponentScrollSwiperLayout from './UIComponentScrollSwiperLayoutTest/UIComponentScrollSwiperLayout.test' +import UIComponentScrollSwiperUx from './UIComponentScrollSwiperUxTest/UIComponentScrollSwiperUx.test' +import UIComponentScrollSwiperInterface from './UIComponentScrollSwiperInterfaceTest/UIComponentScrollSwiperInterface.test' +import UIComponentScrollSwiperAcross from './UIComponentScrollSwiperAcrossTest/UIComponentScrollSwiperAcross.test' +import UIComponentScrollSwiperTeace from './UIComponentScrollSwiperTeaceTest/UIComponentScrollSwiperTeace.test' +import UIComponentScrollSwiperDisplaycount from './UIComponentScrollSwiperDisplaycountTest/UIComponentScrollSwiperDisplaycount.test' +import UIComponentScrollSwiperArrowHead from './UIComponentScrollSwiperArrowHeadTest/UIComponentScrollSwiperArrowHead.test'; + import ComponentTextRicheditorFontfeatures from './ComponentTextRicheditorFontfeatureTest/ComponentTextRicheditorFontfeatures.test'; import ComponentTextRicheditorCustomColors @@ -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 0000000000000000000000000000000000000000..77c7949e6e7fe062286012c99cf86d77ba3f1087 --- /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 0000000000000000000000000000000000000000..1169f15bc574347f786ff4b08e067cb9c29150c0 --- /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 0000000000000000000000000000000000000000..d814c97a0e1cfcd9e1d41e2ad91f718b472128da --- /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 0000000000000000000000000000000000000000..3611b9713ea70203d241ba3138eefe536e5adbcd --- /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 0000000000000000000000000000000000000000..445abeb08c950163382684dac11f370114b09185 --- /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 0000000000000000000000000000000000000000..45774daa06b73cc24a86ec09b5236769d0be1526 --- /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 0000000000000000000000000000000000000000..47cb0da7dbf8ad263f98c1a06e64617a281db99f --- /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 0000000000000000000000000000000000000000..e31d9512aecc683ecb95a3a43cc48e76ede0eaa7 --- /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 0000000000000000000000000000000000000000..9aff3705b96b36d47284b3ee99abb9584abf0e6d --- /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 0000000000000000000000000000000000000000..573732910f548f487a1d3cf0010d13baa7f4f201 --- /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 0000000000000000000000000000000000000000..7cad720109cd2976e1d7566202a5f2a12c0e5d99 --- /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 0000000000000000000000000000000000000000..510e89eeefc48174f77f744b87d77214b82a065d --- /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 0000000000000000000000000000000000000000..c5d18b031b424ace4b525cb6c9db921cfe1ac372 --- /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 0000000000000000000000000000000000000000..4eb85784183ce0fa057fdf77654de72c340e8b78 --- /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 0000000000000000000000000000000000000000..2005f7daa85aa4b58754994c1b4eb64b4a6b6c0f --- /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 0000000000000000000000000000000000000000..926ea3480cfb3a534ef53088720f22b39a732b49 --- /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 0000000000000000000000000000000000000000..eda1c7f26b3dfb44aebe4941c3d9f5e4fe758f3d --- /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 0000000000000000000000000000000000000000..9f5bceddda47e89461348fb826d941d8da347d0f --- /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 0000000000000000000000000000000000000000..9ba9fdb8e4606374dd88f20df069d9915b3ce928 --- /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 0000000000000000000000000000000000000000..b5d486e1d71fabd3843b52e4beac8be26df6204a --- /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 0000000000000000000000000000000000000000..aced9afe11e21fd22510e4c25e85965ae25f8ce0 --- /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 0000000000000000000000000000000000000000..fba2a76e96b8040ae12e959f421471a781e62c73 --- /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 0000000000000000000000000000000000000000..542c8c90f7fe90a0a19e2bd03b19f4e570fdb633 --- /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 0000000000000000000000000000000000000000..d6c88f86765306635700036b14e57b0a97bef62e --- /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 0000000000000000000000000000000000000000..a8024e044c350470c0f9f3d5f7c1afb3170ceb72 --- /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 0000000000000000000000000000000000000000..91ecf4f5326db550e05c838240b3b0706589a11f --- /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 0000000000000000000000000000000000000000..7a2c393d37ac6dc7b6bb178ff72f77e2d239b097 --- /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 0000000000000000000000000000000000000000..6d23adcb51a91bdb76eddae14141d7fb71b3c326 --- /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 0000000000000000000000000000000000000000..c6a27a4b3751e2d76ca22fabd83b57d8fcc2abdb --- /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 0000000000000000000000000000000000000000..d59153d01b2e599ec0f12702f563ad3bacf164f1 --- /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 0000000000000000000000000000000000000000..1908d578ef5863a015e645829191cecca677d7c4 --- /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 0000000000000000000000000000000000000000..c34d5acaf970f74725e6f86acabac448eec9588e --- /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 0000000000000000000000000000000000000000..2c0cfa7f9cc6766be44df4bbdd77785a669b533b --- /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 0000000000000000000000000000000000000000..0c8ec669640b53ec30453908570fe271295caa04 --- /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 0000000000000000000000000000000000000000..a2f7f529303afcf24428b490fdec8ccbc8d6415f --- /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 0000000000000000000000000000000000000000..1c355b0f5dd119218d5c29e2056f66b7829b2be9 --- /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 0000000000000000000000000000000000000000..b6453c037b2651f8b159286d8827c851f2c1d676 --- /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 0000000000000000000000000000000000000000..ed023a05d2f3029b7c0ba66244aea4de717a4d5e --- /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 0000000000000000000000000000000000000000..0b906418cdcdb68188544560af0d492b161e6d4d --- /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 0000000000000000000000000000000000000000..41785120074dad1b9a6e694d7cc1f69048d63566 --- /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 0000000000000000000000000000000000000000..d5ff8217dea0ada69db1bd6ec4e9fe045bd7db99 --- /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 0000000000000000000000000000000000000000..70fa20d68964335a0c485aa218c703742ca3549a --- /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 0000000000000000000000000000000000000000..5f2ae4ac65f4c56d8516a0a97128e0991d1340d7 --- /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 0000000000000000000000000000000000000000..5d0ffef5d408f7dae58168b103bf53534e0adb84 --- /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 0000000000000000000000000000000000000000..dc2d20916edabfd8bd096b817abef61f71fdd24e --- /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 0000000000000000000000000000000000000000..e295139b48155e54457812f4eca2279cc10bade2 --- /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 0000000000000000000000000000000000000000..e4c3428e9676421a379c2cdcb6964ae1a6442aa4 --- /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 0000000000000000000000000000000000000000..a4f71d4ef9e10b838f59d3d75e83d95e7eb96ac0 --- /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 0000000000000000000000000000000000000000..4808b7f4ab5e417c9e9111d01c9e95c7312d61b9 --- /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 0000000000000000000000000000000000000000..0bd493ce867921e4176adbf9b243aa0c8bf93ae7 --- /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 0000000000000000000000000000000000000000..b69553fac6c5ef45d1a8aa02d306c407cfeb215d --- /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 0000000000000000000000000000000000000000..369a8b3e3b3532e69c67e7350ddfa3bbd48bb47c --- /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 0000000000000000000000000000000000000000..d9b16aa22d3f9dc89bd4f479030a65c061fe737e --- /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 0000000000000000000000000000000000000000..82611cd970fe7e4f80134c6f2fde9d44d1f0cbdf --- /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 0000000000000000000000000000000000000000..191f392bc71ec1e950cc2c01607c997de4b4fad5 --- /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 0000000000000000000000000000000000000000..06ede365f95d69df4b99e6472dd9537e990c43d7 --- /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 0000000000000000000000000000000000000000..4fa93472512642a632cf091fff70d66af54b21ae --- /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 0000000000000000000000000000000000000000..8912cbaf87a2c32036274569cfc3c3f92ae93727 --- /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 0000000000000000000000000000000000000000..bbcf51f28adb739aa9dc53851b3822c1bf0bd8d6 --- /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 0000000000000000000000000000000000000000..e77896f143b02babbec658c746d6e49bbeb83fa7 --- /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 0000000000000000000000000000000000000000..edc2e20d5a401cc2936843c643599acaafbf176e --- /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 0000000000000000000000000000000000000000..d8b8bdc46b8669ea1fc33342f442b209b87471f4 --- /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 0000000000000000000000000000000000000000..2338589960e1883969be1003cbd118db64fa48fe --- /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 0000000000000000000000000000000000000000..ba178dbedd8f4e5774b99e52f8c8ae53f688798a --- /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 0000000000000000000000000000000000000000..7d036bb821472fe12e35fdc39a45dc71252191f1 --- /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 0000000000000000000000000000000000000000..1ba7acdbc5fd9f8fc4af49ccf873fe5b39a2eceb --- /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 0000000000000000000000000000000000000000..8de19a38e69914229aaf2d81e570b7384d03e374 --- /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 0000000000000000000000000000000000000000..9a58bb458ea0bf8187e75fb0bb0f42e5b9baa921 --- /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 0000000000000000000000000000000000000000..975b94e9e65ef3b41b336c80e5a08ae7778447cc --- /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 0000000000000000000000000000000000000000..f94360a8d4f0f5c4a6c3ad6c165a69f62de2a1da --- /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 0000000000000000000000000000000000000000..e9712267ee27dab37a9eb1573a849c6db9735d7d --- /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 0000000000000000000000000000000000000000..2c7058c5c164d4326b81935dfbb64d02f3629700 --- /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 0000000000000000000000000000000000000000..88195bc511d7f94ccdc4fe007ea7985aa3f4cf62 --- /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 0000000000000000000000000000000000000000..d3b880ae1a8f7e6cdffca6958371375f6fa5b596 --- /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 0000000000000000000000000000000000000000..741ccd0beaefb614e02b1c0001378bd478cb9c08 --- /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 0000000000000000000000000000000000000000..cb196f8040538bfad2af11d74979f26e73254367 --- /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 0000000000000000000000000000000000000000..36fbedd9e6f23168e041f8e485e5444cfd2b37ac --- /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 0000000000000000000000000000000000000000..9ec4b05b005dc4253f2ced1eee43c37aabc2761f --- /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 0000000000000000000000000000000000000000..69c6e1b96abe877f2f0b2710e5c89e38263a380a --- /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 0000000000000000000000000000000000000000..677562985bdde87e3b4f0ccd3386a7cf7c4ffb89 --- /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 0000000000000000000000000000000000000000..96bc460e2cf32e7ada48f78c6b01e21b676ccf1a --- /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 0000000000000000000000000000000000000000..c8d10db94bd61103281b55888f5d12e150bbc5de --- /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 0000000000000000000000000000000000000000..6fc345e02e8af29d54e052bce9bc1c5b4c8df441 --- /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 0000000000000000000000000000000000000000..933a824848a9229d575c89de6a906f78f77a8c91 --- /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 0000000000000000000000000000000000000000..6b29616b9c694639fb9af7cfb8f6664035aec59f --- /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 0000000000000000000000000000000000000000..fcb7df445e76b0233cbc8329806e87e59ee9fa93 --- /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 0000000000000000000000000000000000000000..d1e74d1b881a0c98607ceb22025042b78f228843 --- /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 0000000000000000000000000000000000000000..4a201c96c48b96488828c593dd83180c970750da --- /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 0000000000000000000000000000000000000000..b23929825bc06e6967968d6b53cb2c872ec2d983 --- /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 0000000000000000000000000000000000000000..4d1ff0395297c17ffeefe2974d005ccb0762283b --- /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 0000000000000000000000000000000000000000..76f68d4257b3297f92bdd418b34db5cc351b9039 --- /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 0000000000000000000000000000000000000000..b1b2fb9ae7aaf7672b3e47bad77e3dab7967372f --- /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 0000000000000000000000000000000000000000..bcdaa70c79157f0aa5bed67382f2bc67943d640e --- /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 0000000000000000000000000000000000000000..3be10976214507808894bd3fff42e6ecf09dac31 --- /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 0000000000000000000000000000000000000000..8cd9cf67b7561f3fbc6251da383c087d3c30d332 --- /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 0000000000000000000000000000000000000000..538c00b980f9458f124b2be00db704b011e3246e --- /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 0000000000000000000000000000000000000000..223417106e7c6922a61936cdd544b8cf9271db93 --- /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 0000000000000000000000000000000000000000..e4fe1d8902d90efcedb3dba923ea4b78c2b58d50 --- /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 0000000000000000000000000000000000000000..dd170251cbdc100e2585bf8c233207deab88a4ac --- /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 0000000000000000000000000000000000000000..474cb2b10fec38f4d80785d6870087156a41baed --- /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 0000000000000000000000000000000000000000..f2e938a2240de893ec66a8d1aca20d56b187aa84 --- /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 0000000000000000000000000000000000000000..29ab6ff2bcba59ee3895e8e12b2713c05608b43b --- /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 0000000000000000000000000000000000000000..bceebb024b4707507acb02b2e32a1f682605243e --- /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 0000000000000000000000000000000000000000..3f30130dd22b0d8b6d744f589a91d2f0cb43d1fd --- /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 0000000000000000000000000000000000000000..1549e62d47a72a7d0d827a5e06c18ec3fc0c66b5 --- /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 0000000000000000000000000000000000000000..90afe05eb1eea73548c61ea509f8c5706f43c091 --- /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 0000000000000000000000000000000000000000..b3c8c887777029038d37cd4dcacaeffd42d9400f --- /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 0000000000000000000000000000000000000000..bbfa9d91f464d2d3a0f25e913261b21c9aa4af2d --- /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 0000000000000000000000000000000000000000..be48ec33df29746c9fc8e7aefdbf510edfbd9d13 --- /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 0000000000000000000000000000000000000000..5810f69044afe316b9306879dd2f6de5be51fe5f --- /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 0000000000000000000000000000000000000000..56142636dbade5c335d05e20c1bd6e1cadd081a4 --- /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 0000000000000000000000000000000000000000..11ab8441d5d967a55eb9df1f00eeb07aa0d27fc1 --- /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 0000000000000000000000000000000000000000..a4eb325b4270db5eb207d1d89e88ce0180d8cf4d --- /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 0000000000000000000000000000000000000000..ef3ee1974039b756db81041b9b592a84933bfaea --- /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 0000000000000000000000000000000000000000..c9241c56879ccb61c5b95d5c565eb7ad528e584c --- /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 0000000000000000000000000000000000000000..3990bd68332a246762e5ab9fa312929dbe6c4099 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentScrollSwiperLayout/IDataSource.ets @@ -0,0 +1,21 @@ +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 0000000000000000000000000000000000000000..97b6e35205b53d9696108c9fb04acf16ff2a1025 --- /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 0000000000000000000000000000000000000000..778a9be51e442820f673318bde8c6846f782a2b0 --- /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 0000000000000000000000000000000000000000..4020402938cb0bc55e4b986f170ce088bfcbeb28 --- /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 0000000000000000000000000000000000000000..d0576ac4090bb3c54e0e0007aa0ad058ed44160e --- /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 0000000000000000000000000000000000000000..f6a87dc7b03e6ef5ed82caed579e198b8a9820d6 --- /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 0000000000000000000000000000000000000000..4b76dd88c3acc2eb447d55f07fc02867f769d614 --- /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 0000000000000000000000000000000000000000..9ef540e0e1ce840c1dfdd6f32eb66200a419e2c7 --- /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 0000000000000000000000000000000000000000..d196ab9b841605965092bea712b7a70704d503ac --- /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 0000000000000000000000000000000000000000..dc6c0ec5d7d03e799c5c7f2b39a84de453d17a15 --- /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 0000000000000000000000000000000000000000..767436190c0acf661b910701fb77c9f30c2dac03 --- /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 0000000000000000000000000000000000000000..9d9ff63565e83664d9b508666f91fdc36ec9630c --- /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 0000000000000000000000000000000000000000..f453f2e3bb828f915281a6a1514948b2fbc85923 --- /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 0000000000000000000000000000000000000000..6bae85b7a5e50f5cd1d95cbccd8d46f1ddb6ca15 --- /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 0000000000000000000000000000000000000000..38bfa5b4a77bf02bf2a81c826420ae26ad779bfd --- /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 0000000000000000000000000000000000000000..b85421ab5207de05b4642002c85281d7ead7ef9d --- /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 0000000000000000000000000000000000000000..bf0055a63fef3fa16f7cdda4cdb25f1657fe2022 --- /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 0000000000000000000000000000000000000000..125487bb67dcf915256d12b35184f4045d558954 --- /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 0000000000000000000000000000000000000000..86a31be2b3fd66b08915a6df9cf03300a990afd5 --- /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 0000000000000000000000000000000000000000..70541f081556ef8ff928ff0b272da8c0ca46fb8f --- /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 0000000000000000000000000000000000000000..7654bfd364227348197eb3a8dcc98ba50a580cb9 --- /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 0000000000000000000000000000000000000000..959fcbb0fba273428011fbbd46d887c5ef8e9ba7 --- /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 0000000000000000000000000000000000000000..968780f4772305cd262414878dd6803fa30f4794 --- /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 0000000000000000000000000000000000000000..08908522aafa97ef3d9ce7acfbd9ed6089c2ed61 --- /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 0000000000000000000000000000000000000000..6c0ae8cffcc659912cfaa23c32a0eceed41776f8 --- /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 0000000000000000000000000000000000000000..711ad160ed232667639ed9be768f2e19ceebd0af --- /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 0000000000000000000000000000000000000000..db45b48e3fae6e8841b756454e253784ba0a6e40 --- /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 0000000000000000000000000000000000000000..cb7635a07e2b47db472368b79fc096b1b1879844 --- /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 0000000000000000000000000000000000000000..9055559bebb55e2c599635acb2d50b92af70ce1b --- /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 0000000000000000000000000000000000000000..df847e8f67e7fa6c23e3dd851c970dfdbac36ac4 --- /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 0000000000000000000000000000000000000000..1c374469be750af8516642bf337d3e4fcb063b35 --- /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 0000000000000000000000000000000000000000..bf141053d7bc63e72d5dbb038713acb4bbe85a56 --- /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 0000000000000000000000000000000000000000..f619a9bd5e585d7ea2d378bffc2a240ede994457 --- /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 0000000000000000000000000000000000000000..1a9e09caa9427065a9e82a8221596d74ae4abcf2 --- /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 0000000000000000000000000000000000000000..2be008d0eb3428d25c90c3ca9c30a24250a3c56c --- /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 0000000000000000000000000000000000000000..6afbb4586cd1a23b90956a3bd1558e3beccd9f4c --- /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 0000000000000000000000000000000000000000..c20ae08ba468abcf93febee59fbfb826b4400983 --- /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 0000000000000000000000000000000000000000..d8689b4ea729055fdb114a1d87931ca6bf6bae31 --- /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 0000000000000000000000000000000000000000..a59be042a729b915557838759e51808e5f6d2f2e --- /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 0000000000000000000000000000000000000000..0623a1f38392f9c835a4da243ec88908d455f26c --- /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 0000000000000000000000000000000000000000..6feb0090fe85fcb80eef27cf1e17e19dceb93545 --- /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 0000000000000000000000000000000000000000..00a9523f7652e1f8e3ac4133b6ce73d42a0f96b3 --- /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 0000000000000000000000000000000000000000..ccd5646781bd7b80c36df1fa00d99d6101ac6217 --- /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 0000000000000000000000000000000000000000..ae56a48f415ec8d959a0041469b4542e5a94b8a5 --- /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 0000000000000000000000000000000000000000..f4cd61c1ce16615e7dac3495de1ef53f09fe01a9 --- /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 0000000000000000000000000000000000000000..a172cba66b65c30d00ee067ab2af7e6888a106ef --- /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 0000000000000000000000000000000000000000..597af9a440362d7c5a58826ca2ba5fe4358901f0 --- /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 0000000000000000000000000000000000000000..420d54840459d814da61596ff979cf91c5218818 --- /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 0000000000000000000000000000000000000000..aac13ff232a4ccf16740c69fdfb04e73f17c1525 --- /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 0000000000000000000000000000000000000000..69411a739d964db1d4b3783311f31e992edde58b --- /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 0000000000000000000000000000000000000000..345ccb65372193c722f99a3046f34a668c6f13f2 --- /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 0000000000000000000000000000000000000000..7d41a60e8078d974d873651d3fe3b9554b8eb946 --- /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 0000000000000000000000000000000000000000..a956ec5a47835294069ef28a835af1d54e0d4060 --- /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 0000000000000000000000000000000000000000..07069e362420970e4b507d8d5688404f66b679e4 --- /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 0000000000000000000000000000000000000000..7d79ca5d88128d8fb28189e2b093dba058025296 --- /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 0000000000000000000000000000000000000000..4e943bb506635742e6dc18031a16250b5edb64eb --- /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 0000000000000000000000000000000000000000..d0add52e69d7bb2a8f1bccca72f8f25848958074 --- /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 0000000000000000000000000000000000000000..17f19ba6c934e6f4c35404cfa4dbb4d9e0025dbf --- /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 0000000000000000000000000000000000000000..07c2d58294b94cfbf257010a3f727b83ed3d3251 --- /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 0000000000000000000000000000000000000000..82ee1a45fcf4b1ffc56fcc0b73a9ba7cf1ee9237 --- /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 0000000000000000000000000000000000000000..b0436736928c18b19c1508960b71622d5681293e --- /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 0000000000000000000000000000000000000000..b3eb45af356e8786fac7283ac4e2fa4bf650e512 --- /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 0000000000000000000000000000000000000000..6316759c03ab89e7a03753fcb647925ec50e8d2e --- /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 0000000000000000000000000000000000000000..b6a2e6d8e27c0d53b63dc872e39f4d3284fc636f --- /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 0000000000000000000000000000000000000000..e476463f003e26b72694a21034ea7f5b7f91ce70 --- /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 0000000000000000000000000000000000000000..d1a2de52f2158da80dabd0b6208cb57acc82694d --- /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 0000000000000000000000000000000000000000..f13afeca29fc7ec2c87ae020e6d9eb8e3c022f2c --- /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 0000000000000000000000000000000000000000..60d654ed61586dc5e12a0b20b60d4e9bf3b239dd --- /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 0000000000000000000000000000000000000000..ac12a258550b37518c31f3bf3581a551aef9ae0e --- /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 0000000000000000000000000000000000000000..24438d8f23f097d8f3dd1a2adf4e7641d8cb6786 --- /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 0000000000000000000000000000000000000000..f24eff0d68118c93231846b5037a0f324e807b55 --- /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 0000000000000000000000000000000000000000..8286c03f99f37269b880ee50c62c8ebf5217b994 --- /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 0000000000000000000000000000000000000000..3b04efcdb9ee21855f039e7e9c6800154fc551f2 --- /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 0000000000000000000000000000000000000000..7b45297aa15a97c0420c636b91ebdefce58ab7a7 --- /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 0000000000000000000000000000000000000000..c2ac51fac81b8f0cdaba41ee2e9cfddaaba7c6c6 --- /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 0000000000000000000000000000000000000000..0a892a7d82e2722afce1fef495ece169a8778d70 --- /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 0000000000000000000000000000000000000000..0eb3f86b0df023508ee382246b4d237233991c7c --- /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 0000000000000000000000000000000000000000..1ecb61807d1592b2a86b8123f5eb867b4fe2b89c --- /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 0000000000000000000000000000000000000000..5495cdd9e8011dd5733f577a7c0d097e4de0c619 --- /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 0000000000000000000000000000000000000000..63896e8138ce8c293d4c44f62b828ebd2d915e7f --- /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 0000000000000000000000000000000000000000..b11419938a2ef7fccebe371614c33b8b44ca1e78 --- /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 0000000000000000000000000000000000000000..f0b2f16d592a512b5b09a3a2b694d88e7ea3e46b --- /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 0000000000000000000000000000000000000000..671447c07b20c32581989704395bf166cb19261b --- /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 0000000000000000000000000000000000000000..686bbca0652e862e5125a240b7c0b400d7d8cd27 --- /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 0000000000000000000000000000000000000000..0d0bb39d7136362acf9fa42c2f1ee4dcad7db547 --- /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 0000000000000000000000000000000000000000..9bfb34193578387292a9a414f5be8285c50a5469 --- /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 0000000000000000000000000000000000000000..8426b9540e665b84b178910fbc6721df973d8d73 --- /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 0000000000000000000000000000000000000000..ba5ab5bdf4e85acd44fc1319b3a6400cd9533762 --- /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 0000000000000000000000000000000000000000..e05b2ea0daf8b1bdf60737d1699b7f61ac002e13 --- /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 0000000000000000000000000000000000000000..987ed24858fa3ee65db1de877b7b872e13d5a4d5 --- /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 0000000000000000000000000000000000000000..8503dc3e28e49f5fcf0c65674e2e96d1f1bbde9e --- /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 0000000000000000000000000000000000000000..a75536ca98cd71392d93e85741fd4d72346a0162 --- /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 0000000000000000000000000000000000000000..bd9da3c4cdddb566a4de9d3bc9539fe1fbc3d149 --- /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 0000000000000000000000000000000000000000..1f24984ecb85b03d05230f88de350402149fbddd --- /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 0000000000000000000000000000000000000000..086537d5c732591b9613d8d5c9267aa185e5b776 --- /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 0000000000000000000000000000000000000000..9adb877e787de20fd6795cdb65d66697a36ce788 --- /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 0000000000000000000000000000000000000000..51d2470079bd59ff572ebdc9dd1fec59c9376550 --- /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 0000000000000000000000000000000000000000..e6e5aae03b76c1c7bbf6ea3d7bc21c53898ada40 --- /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 0000000000000000000000000000000000000000..c272ce282201f49f0e33493f0bb46cb295d6e3f6 --- /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 0000000000000000000000000000000000000000..5d39267e661549b6175211ea80dd191f690ea220 --- /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 0000000000000000000000000000000000000000..dc87d30d9e152cf3b13ee0564c5c61d293319de5 --- /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 0000000000000000000000000000000000000000..68445d29396781bb38dedc9ca9676852a66dc529 --- /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 0000000000000000000000000000000000000000..ebb3e85be74971a8922e5961ed7b4ac26f285709 --- /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 0000000000000000000000000000000000000000..4e1426182edbf0f39533cc84f26ba7d3f5805855 --- /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 0000000000000000000000000000000000000000..868f62a1a2316582ef1ab71e8823584d26fa8366 --- /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 0000000000000000000000000000000000000000..ad84d0bfd80e317da3365ec30da87c587d823e91 --- /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 0000000000000000000000000000000000000000..37820fe9d0d616770952f0edbaf6c9cbc7fe7c83 --- /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 0000000000000000000000000000000000000000..b94e8d69399396e5b18991648a22c56318f2db71 --- /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 0000000000000000000000000000000000000000..09c7df55a7851ada759b0abe363b32c00ee641ce --- /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 0000000000000000000000000000000000000000..7f805de5dbe84cacb330e6339bc1fa650aea4493 --- /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 0000000000000000000000000000000000000000..0b4aaaf91ea883e9a3494c6bf1b3ecae8c12e1eb --- /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 0000000000000000000000000000000000000000..0972bb170e0f1ee3786d9cc2d1161e31372bcae1 --- /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 0000000000000000000000000000000000000000..0552220875c22ae3d0e79fe2d2e46dcd17c77713 --- /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 0000000000000000000000000000000000000000..aba404646ef8bd96b473ae79048690211bbebe60 --- /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 0000000000000000000000000000000000000000..5ca27a56c286f236628ac17a8a1eb6194559b600 --- /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 0000000000000000000000000000000000000000..3e4394f29015693a2cd8719d7e452fdaf76ba0b7 --- /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 0000000000000000000000000000000000000000..7dce83594ec5b18525e640f5d202bc53fff927f3 --- /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 0000000000000000000000000000000000000000..6feabc5a790237e98b4178c3f3573ad60b743137 --- /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 0000000000000000000000000000000000000000..a3ed3631923bbc7e5e89f8803f724e326b2598dc --- /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 0000000000000000000000000000000000000000..a844c84a3ba7f27464142e066699d0dd5e66a2e1 --- /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 0000000000000000000000000000000000000000..f95113f7cd1711b4f67083eea1316ce50e3068f8 --- /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 0000000000000000000000000000000000000000..5b49444322de8c9b6e757f419dc23498cf877e4c --- /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 0000000000000000000000000000000000000000..f9b78c0e0ff67f791062d842c000fa069badc813 --- /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 0000000000000000000000000000000000000000..f2ca50f0ff7d396b83d6404f6eff19442d6f70de --- /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 0000000000000000000000000000000000000000..946ac928228859185476b0170faff661bae82503 --- /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 0000000000000000000000000000000000000000..ce6f9a582a314fef902928f056578e1ed7f673c2 --- /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 0000000000000000000000000000000000000000..7ad07d03b74ddb77d6bee4ed1a41d54a29a121a6 --- /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 0000000000000000000000000000000000000000..1ff841ac38a446d29f77e96433d79e2f52dedb00 --- /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 0000000000000000000000000000000000000000..37b418f21b9d3cccd90e9a203929cd7f5e7777a2 --- /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 0000000000000000000000000000000000000000..fde46f4d3399cb2a5e002af8d84052cf5c0deffa --- /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 0000000000000000000000000000000000000000..7427f1affa6fdf7ec99649049a386a5ec6d91e54 --- /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 0000000000000000000000000000000000000000..d60dd1517f1b50b2cd6470fdd433f1c9c1198ed8 --- /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 0000000000000000000000000000000000000000..febf612787e2f4a7c384418f62d6f8e04e29cd8c --- /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 0000000000000000000000000000000000000000..fea094ab7da863e5db62634baf16eddd1a874e20 --- /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 0000000000000000000000000000000000000000..4b933b9f9c2549408910eee7253a94ec6c582e9f --- /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 0000000000000000000000000000000000000000..66c42849747a2ac39afc8910701979f9e66d881f --- /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 0000000000000000000000000000000000000000..5fc950114dcfa8d9c84d3adb68b965a65b0df724 --- /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 0000000000000000000000000000000000000000..605838af8d2c0b328ec08b94c05c02b00bca948e --- /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 0000000000000000000000000000000000000000..944adba922ba9ec5cba0d196180945dd5f634c3d --- /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 0000000000000000000000000000000000000000..022817fc3d2be1871f5df2994d22d14c7cd49f99 --- /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 0000000000000000000000000000000000000000..0de18638019d78f00e1190da1dd9b757f0513fcd --- /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 0000000000000000000000000000000000000000..ce060de110d0c00369ae46dd63d58597cf1e1104 --- /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 0000000000000000000000000000000000000000..54750b61cd3e2eb4666f9b54c852a09c629f44fb --- /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 0000000000000000000000000000000000000000..44a75c502e001d19a2665f8b69eeab37bf521764 --- /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 0000000000000000000000000000000000000000..fcb736c4e621ba634305dda69d9c6836f897cb36 --- /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 0000000000000000000000000000000000000000..dfd6a98822a173376dada302f8c69ccb525f6b67 --- /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 0000000000000000000000000000000000000000..24ce64294ef1c5da3c83ebf773cb39a0d8c15b73 --- /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 0000000000000000000000000000000000000000..a38e75b8180bb181f24f564ba7e4deebcebf911b --- /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 0000000000000000000000000000000000000000..e05c1bf65cd7f3186674df278aeff476914ca5e4 --- /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 0000000000000000000000000000000000000000..897d545e6431d5632c925e2affa464a163aaad06 --- /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 0000000000000000000000000000000000000000..23e2fefde9bcf273854cf91ce228e6d6e8eaefab --- /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 0000000000000000000000000000000000000000..a108c2eaa2cf15b7832ab08a5cbbb33accbf70de --- /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 0000000000000000000000000000000000000000..f669de44e647e344031df87c511e2a5a27ee7984 --- /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 0000000000000000000000000000000000000000..a05f919ec5018d75d80576b92cbd7f7d3cf8161d --- /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 0000000000000000000000000000000000000000..167ee1fdcbc67c39b3c80a94278886ce2836e087 --- /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 0000000000000000000000000000000000000000..914021cc5cf42428050ac420f4ee7304087c345f --- /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 0000000000000000000000000000000000000000..22efc213a7b26a35d9d53fd5b5a96c2a435dab2d --- /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 0000000000000000000000000000000000000000..c9eb6dcc345cb48857adf424fc0557a7b2e7ee30 --- /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 0000000000000000000000000000000000000000..88a3bef8eb1ac3aff33ae78bae8cb132c68fef10 --- /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 0000000000000000000000000000000000000000..f0b96a525adffdfc30dea7fbc5501c3bae08a601 --- /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 0000000000000000000000000000000000000000..4f8499348a82a4397dbd90395c7caefdc3c9f0d9 --- /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 0000000000000000000000000000000000000000..aa0bf4ea5f01f87b207ad74e4ea4d585edb026ff --- /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 0000000000000000000000000000000000000000..ee15fe55536fb9308c4334b68a05ee8eb389a7ff --- /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 0000000000000000000000000000000000000000..41db450d31b45ce4f9c1a050493eeb2dd4600132 --- /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 0000000000000000000000000000000000000000..4a54252033ce7c198c7c3933394d155d9cfb0dad --- /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 0000000000000000000000000000000000000000..e311daceee5459fd41c1a38690a817ddf98b8f2a --- /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 0000000000000000000000000000000000000000..ac6980b3e3d3283295f569ba203cf898a25d66fb --- /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 0000000000000000000000000000000000000000..8649d34d13c0a83b935e9e935576dbfab4c879cc --- /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 0000000000000000000000000000000000000000..60b42875f30d73c49d7bb2632be93f91b4fbe471 --- /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 0000000000000000000000000000000000000000..a8a76d1b1ffed34448efdb66bde6f78768caef1d --- /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 0000000000000000000000000000000000000000..c18aacfdef21932708aa375207033c49f7637ce2 --- /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 0000000000000000000000000000000000000000..3d53c2abb599243b3c952cdcbec06f75003e44ef --- /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 0000000000000000000000000000000000000000..2b749d2e37ffa3e5b8432d6b1812a26b80cbee5f --- /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 0000000000000000000000000000000000000000..de5e95712ae1ff388ad45e9e74fad4abe961f135 --- /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 0000000000000000000000000000000000000000..0d5a5757bd54ec9365c8fb31c35afc6e9b871715 --- /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 0000000000000000000000000000000000000000..c120bc9d1a4b293d795464ae0a771ae1516ad703 --- /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 0000000000000000000000000000000000000000..46607cc3c14d6ec89f708d075e2aa853487729d1 --- /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 0000000000000000000000000000000000000000..5e4a1055bfb17a5171a4956604b61911f37572c9 --- /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 0000000000000000000000000000000000000000..c1b313812ea9a562db67df20cbe083af9b1af194 --- /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 0000000000000000000000000000000000000000..2b21f4d210fb4b1df2e83a87ead3bf6e121a539f --- /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 0000000000000000000000000000000000000000..3b38082718a5861c051327b35cf7c70bba513796 --- /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 0000000000000000000000000000000000000000..c5e076deb23e319e63ed49b02c10feb5e986e914 --- /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 0000000000000000000000000000000000000000..acf3b5c75010c64cd88430ef0af962b5398228ee --- /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 0000000000000000000000000000000000000000..f94f25ba36c8c2d407b7d2802b09d70c77ee46c9 --- /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 0000000000000000000000000000000000000000..d1639488ba3baac549430928112203f722239d6c --- /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 0000000000000000000000000000000000000000..d3541f4573517e1e92ed203dbbdcf4a20c22c6d5 --- /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 0000000000000000000000000000000000000000..ce867675e2d6f20cd96a93495d07239c303fb2ca --- /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 0000000000000000000000000000000000000000..cd2b2069f16a9b76b394e0593c3f20767046051d --- /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 0000000000000000000000000000000000000000..37ee427073b0ae8f50c7cab94b2a41e305482e5f --- /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 0000000000000000000000000000000000000000..332d1cd805a97e43c469affef72d4b5dc7c77ed6 --- /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 0000000000000000000000000000000000000000..4dccb4014bdd8fc4d27ae1b5cead951981e66166 --- /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 0000000000000000000000000000000000000000..b1d7133e9c56cf684d26b45b54275edc7f448fdf --- /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 0000000000000000000000000000000000000000..84fede2ec3ae88b8b651b284e0726ec747549aac --- /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 0000000000000000000000000000000000000000..cb08b037d5a892ee5e484a93e58fa77eca3b4e7e --- /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 0000000000000000000000000000000000000000..3eb407230e4721e4a604d7ef89e3380ee2b1742c --- /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 0000000000000000000000000000000000000000..878526083567817732a54089eb5e5c6022aebe4a --- /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 0000000000000000000000000000000000000000..59d3303556bfdbae06ebf7ebe96ee44f1c5aff40 --- /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 0000000000000000000000000000000000000000..123f5e9b1263083375c390b7b8c9d63044250daf --- /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 0000000000000000000000000000000000000000..b5274eb6071fd99666a735494a0fd6c9c7bfd677 --- /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 0000000000000000000000000000000000000000..92c9eae968b206289b841edccf37d166da82becc --- /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 0000000000000000000000000000000000000000..8b36efba3bfc7a0fdacb4ccefd41f6ff17eac552 --- /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 0000000000000000000000000000000000000000..5d4ee1351ba3b7a368842baa99611e0b5129cc02 --- /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 0000000000000000000000000000000000000000..712d4595e9bde425fead4efc776272a34c63611a --- /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 0000000000000000000000000000000000000000..bfbc49fb64eed14d1f79cb9461a889d817528b7c --- /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 0000000000000000000000000000000000000000..950112e342c70d91bb505cadf35cc1605ed29157 --- /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 0000000000000000000000000000000000000000..5148d67fb6971a3bd918a557f6c52a7663374be9 --- /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 0000000000000000000000000000000000000000..015f4c7bcde6aefa9ccc8795adc7b093eeb4c03f --- /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 0000000000000000000000000000000000000000..89c4c993bcdf0da1b5ac69da825b2945a53552a8 --- /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 0000000000000000000000000000000000000000..7570aa339a51475ff36d0a81287df29ddec00d73 --- /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 0000000000000000000000000000000000000000..2b401f6ebaad39f4a6c6562849662d8e0f629433 --- /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 0000000000000000000000000000000000000000..4b8aaee490f21e69c725eced8229ef827464c7f5 --- /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 0000000000000000000000000000000000000000..7881799e8b434c7bb7f7709a5dc12136c66c0b36 --- /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 0000000000000000000000000000000000000000..99aa52e22d53d933fdf5a8e2b1f4594b4f34c22a --- /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 5f06f6102159e4a79af2c11681a21bf4f5c5495a..f87e327c173cd796077b9f84d53b48ac06b7f4da 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 d80234b844cd1df01242a87ca37cb1a7547eb8ae..cd6dbe1695aafdbe48989730082a3739596fd2e3 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 @@ -824,6 +824,327 @@ "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor008", "testability/pages/ArkUITabsSingleSelectedcolor/ArkUITabsSingleSelectedcolor011", - "testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003" + "testability/pages/ArkUITabsSingleUnselectedcolor/ArkUITabsSingleUnselectedcolor003", + + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface001", + "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" ] } diff --git a/function/ui_compare_rh/uicompare/oh-package-lock.json5 b/function/ui_compare_rh/uicompare/oh-package-lock.json5 new file mode 100644 index 0000000000000000000000000000000000000000..1faa6b99d48e66baa345e65d2fa943a546f91182 --- /dev/null +++ b/function/ui_compare_rh/uicompare/oh-package-lock.json5 @@ -0,0 +1,15 @@ +{ + "lockfileVersion": 2, + "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.", + "specifiers": { + "@ohos/hypium@1.0.6": "@ohos/hypium@1.0.6" + }, + "packages": { + "@ohos/hypium@1.0.6": { + "resolved": "https://repo.harmonyos.com/ohpm/@ohos/hypium/-/hypium-1.0.6.tgz", + "integrity": "sha512-bb3DWeWhYrFqj9mPFV3yZQpkm36kbcK+YYaeY9g292QKSjOdmhEIQR2ULPvyMsgSR4usOBf5nnYrDmaCCXirgQ==", + "registryType": "ohpm", + "shasum": "3f5fed65372633233264b3447705b0831dfe7ea1" + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare_tools/excel/actionSheet.xlsx b/function/ui_compare_rh/uicompare_tools/excel/actionSheet.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..d8c3be79f5bf717b930196cf91fe131ad3c18ad6 Binary files /dev/null and b/function/ui_compare_rh/uicompare_tools/excel/actionSheet.xlsx differ diff --git a/function/ui_compare_rh/uicompare_tools/excel/uicompare.xlsx b/function/ui_compare_rh/uicompare_tools/excel/uicompare.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..8d0255136e1831e0437d42d19471ca5fdf3733c4 Binary files /dev/null and b/function/ui_compare_rh/uicompare_tools/excel/uicompare.xlsx differ