diff --git a/OAT.xml b/OAT.xml index e6b5b947bba36fe1ac1eb390307a3738babad273..e70b7a624f21be3bb7ad3a3dc125f6843bc1377d 100644 --- a/OAT.xml +++ b/OAT.xml @@ -115,6 +115,7 @@ Note:If the text contains special characters, please escape them according to th + diff --git a/function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json b/function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json new file mode 100755 index 0000000000000000000000000000000000000000..3c712962da3c2751c2b9ddb53559afcbd2b54a02 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/main/resources/dark/element/dark.json @@ -0,0 +1,8 @@ +{ + "color": [ + { + "name": "start_window_background", + "value": "#FFFFFF" + } + ] +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/drawer.png b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/drawer.png new file mode 100755 index 0000000000000000000000000000000000000000..e5dcdd1306030b18b7b8d631cccbfc22ee20e5ba Binary files /dev/null and b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/drawer.png differ 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 0860e1238b7d5125d3247205585c174e61e3e827..1c87ca27e468461bf4717dd9c56f77dde0f2930f 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 @@ -149,6 +149,20 @@ import UIComponentPopupBoxToastStyleInterface001 from './UIComponentPopupBoxToastStyleInterfaceTest/UIComponentPopupBoxToastStyleInterface001.test'; import UIComponentPopupBoxFullDialogInterface001 from './UIComponentPopupBoxFullDialogInterfaceTest/UIComponentPopupBoxFullDialogInterface001.test'; +import UIComponentNavNavDestinationSymbolTest + from './UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbolTest.test'; +import UIComponentNavNavDestinationTest from './UIComponentNavNavDestinationTest/UIComponentNavNavDestinationTest.test'; +import UIComponentNavNavigationCursorstyleTest + from './UIComponentNavNavigationCursorstyleTest/UIComponentNavNavigationCursorstyleTest.test'; +import UIComponentRowColumnSidebarContainerInterfaceTest + from './UIComponentRowColumnSidebarContainerInterfaceTest/UIComponentRowColumnSidebarContainerInterfaceTest.test'; +import UIComponentRowColumnSidebarContainerLayoutTest + from './UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayoutTest.test'; +import UIComponentRowColumnSidebarContainerUxconsistencyTest + from './UIComponentRowColumnSidebarContainerUxconsistencyTest/UIComponentRowColumnSidebarContainerUxconsistencyTest.test'; +import UIComponentUiSupportColorTest from './UIComponentUiSupportColorTest/UIComponentUiSupportColorTest.test'; +import UIComponentRowcolumnSidebarContainerCapability + from './UIComponentRowcolumnSidebarContainerCapabilityTest/UIComponentRowcolumnSidebarContainerCapability.test'; export default function testsuite() { ComponentTextRicheditorFontfeatures(); @@ -239,6 +253,14 @@ export default function testsuite() { UIComponentPopupBoxAttribute(); UIComponentPopupBoxPromptToastSequence(); UIComponentPopupBoxSpecificationsPopup(); + UIComponentUiSupportColorTest(); + UIComponentRowColumnSidebarContainerInterfaceTest(); + UIComponentNavNavigationCursorstyleTest(); + UIComponentNavNavDestinationTest(); + UIComponentRowColumnSidebarContainerUxconsistencyTest(); + UIComponentRowColumnSidebarContainerLayoutTest(); + UIComponentNavNavDestinationSymbolTest(); + UIComponentRowcolumnSidebarContainerCapability(); } diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbolTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbolTest.test.ets new file mode 100755 index 0000000000000000000000000000000000000000..65122973129e3961753a3e3905dac44f9adec54e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbolTest.test.ets @@ -0,0 +1,126 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { afterEach, describe, it } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Component, Driver, ON } from '@ohos.UiTest' + +export default function UIComponentNavNavDestinationSymbolTest() { + + + describe('UIComponentNavNavDestinationSymbolTest', () => { + + afterEach(async (done: Function) => { + + if (Settings.windowClass == undefined) { + return + } + + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`) + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done() + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0560 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0560 + * @tc.desc navdestination + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0560 start.`); + Settings.createWindow("testability/pages/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbol"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await driver.delayMs(1000); + let pushPage: Component = await driver.findComponent(ON.id('pushPage')); + await pushPage.click(); + await driver.delayMs(1000); + let more = await driver.findComponents(ON.within(ON.type("NavigationMenu"))); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0560 end.`+more.length); + await more[8].click(); + await driver.delayMs(2000); + windowSnap.snapShot(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0560 end.`); + await Utils.sleep(1000); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0130 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0130 + * @tc.desc navdestination + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0130 start.`); + Settings.createWindow("testability/pages/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbol"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await driver.delayMs(1000); + let pushPage: Component = await driver.findComponent(ON.id('pushPage')); + await pushPage.click(); + await Utils.sleep(1000); + Settings.changeOrientation(); + await Utils.sleep(2000); + windowSnap.snapShot(); + Settings.resetOrientation(); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0130 end.`); + await Utils.sleep(1000); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0340 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0340 + * @tc.desc navdestination + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0340 start.`); + Settings.createWindow("testability/pages/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbol"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await driver.delayMs(1000); + let pushPage: Component = await driver.findComponent(ON.id('pushPage')); + await pushPage.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0420 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0420 + * @tc.desc navdestination + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_SYMBOL_0420 start.`); + Settings.createWindow("testability/pages/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbol"); + await Utils.sleep(2000); + let driver: Driver = Driver.create(); + await driver.delayMs(1000); + let pushPage: Component = await driver.findComponent(ON.id('pushPage')); + await pushPage.click(); + await Utils.sleep(2000); + await Utils.sleep(1000); + windowSnap.snapShot(); + await Utils.sleep(1000); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavNavDestinationTest/UIComponentNavNavDestinationTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavNavDestinationTest/UIComponentNavNavDestinationTest.test.ets new file mode 100755 index 0000000000000000000000000000000000000000..731dbd92bebe6816e325902baf68f1077fce0776 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavNavDestinationTest/UIComponentNavNavDestinationTest.test.ets @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { afterEach, describe, it } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, ON } from '@ohos.UiTest' + +export default function UIComponentNavNavDestinationTest() { + + + describe('UIComponentNavNavDestinationTest', () => { + + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`); + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_0010 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_0010 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_0010.`); + Settings.createWindow('testability/pages/UIComponentNavNavDestination/UIComponentNavNavDestination0010'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btnQuery = await driver.findComponent(ON.id('queryNavigationInfoTest_btn1')); + await btnQuery.click(); + await Utils.sleep(1000); + let btnQueryinfo = await driver.findComponent(ON.id('queryNavigationInfo')); + await btnQueryinfo.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_0010.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_0020 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_0020 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_0020.`); + Settings.createWindow('testability/pages/UIComponentNavNavDestination/UIComponentNavNavDestination0020'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btnQuery = await driver.findComponent(ON.id('queryNavigationInfoTest_btn1')); + await btnQuery.click(); + await Utils.sleep(1000); + let btnQueryinfo = await driver.findComponent(ON.id('queryNavigationInfo')); + await btnQueryinfo.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVDESTINATION_0020.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavNavigationCursorstyleTest/UIComponentNavNavigationCursorstyleTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavNavigationCursorstyleTest/UIComponentNavNavigationCursorstyleTest.test.ets new file mode 100755 index 0000000000000000000000000000000000000000..8dd87b46a52d67450c2f402aac8f7923df7c8aa9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentNavNavigationCursorstyleTest/UIComponentNavNavigationCursorstyleTest.test.ets @@ -0,0 +1,222 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { afterEach, describe, it } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, ON } from '@ohos.UiTest' + +export default function UIComponentNavNavigationCursorstyleTest() { + + + describe('UIComponentNavNavigationCursorstyleTest', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`); + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0012 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0012 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0012', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0012.`); + Settings.createWindow('testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0012'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.mouseMoveTo(boundsCenter); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0012.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0013 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0013 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0013', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0013.`); + Settings.createWindow('testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0013'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav1")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.mouseMoveTo(boundsCenter); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0013.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0014 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0014 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0014', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0014.`); + Settings.createWindow('testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0014'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let addBtn = await driver.findComponent(ON.id('addStrokeWidth')); + await addBtn.click(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav2")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.mouseMoveTo(boundsCenter); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0014.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0015 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0015 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0015', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0015.`); + Settings.createWindow('testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0015'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let addBtn = await driver.findComponent(ON.id('addStartMargin')); + await addBtn.click(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav3")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.mouseMoveTo(boundsCenter); + await Utils.sleep(1000); + await driver.mouseMoveTo(await addBtn.getBoundsCenter()); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0015.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0018 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0018 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0018', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0018.`); + Settings.createWindow('testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0018'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav4")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + let changeScreen = await driver.findComponent(ON.id('changeScreen')); + await changeScreen.click(); + await Utils.sleep(1000); + let changeScreen1 = await driver.findComponent(ON.id('changeScreen1')); + await changeScreen1.click(); + await Utils.sleep(1000); + await driver.mouseMoveTo(boundsCenter); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0018.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0019 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0019 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0019', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0019.`); + Settings.createWindow('testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0019'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav5")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + let changeScreen = await driver.findComponent(ON.id('changeScreen')); + await changeScreen.click(); + await Utils.sleep(1000); + let changeScreen1 = await driver.findComponent(ON.id('changeScreen1')); + await changeScreen1.click(); + await Utils.sleep(1000); + await driver.mouseMoveTo(boundsCenter); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0019.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0023 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0023 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0023', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0023.`); + Settings.createWindow('testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0023'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav23")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.mouseMoveTo(boundsCenter); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0023.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0016 + * @tc.name SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0016 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0016', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0016.`); + Settings.createWindow('testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0016'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav16")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.mouseMoveTo(boundsCenter); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_NAV_NAVIGATION_CURSORSTYLE_0016.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowColumnSidebarContainerInterfaceTest/UIComponentRowColumnSidebarContainerInterfaceTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowColumnSidebarContainerInterfaceTest/UIComponentRowColumnSidebarContainerInterfaceTest.test.ets new file mode 100755 index 0000000000000000000000000000000000000000..bf98290b5ae6b9c71478b1fa430bc18af516edb3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowColumnSidebarContainerInterfaceTest/UIComponentRowColumnSidebarContainerInterfaceTest.test.ets @@ -0,0 +1,1636 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { afterEach, describe, it } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, ON } from '@ohos.UiTest' + +export default function UIComponentRowColumnSidebarContainerInterfaceTest() { + + + describe('UIComponentRowColumnSidebarContainerInterfaceTest', () => { + + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`); + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0010 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0010 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0010.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0010'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0010.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0020 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0020 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0020.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0020'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0020.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0030 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0030 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0030.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0030'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0030.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0040 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0040 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0040.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0040'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0040.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0050 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0050 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0050.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0050'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0050.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0060 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0060 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0060.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0060'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0060.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0070 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0070 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0070.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0070'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0070.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0080 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0080 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0080.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0080'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0080.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0090 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0090.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0090'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0090.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0100 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0100.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0100'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0100.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0110 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0110 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0110.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0110'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0110.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0120 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0120.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0120'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0120.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0130 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0130.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0130'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0130.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0140 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0140.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0140'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0140.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0250 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0250 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0250.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0250'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0250.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0270 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0270 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0270.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0270'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0270.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0280 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0280 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0280.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0280'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0280.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0290 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0290 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0290.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0290'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0290.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0300 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0300 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0300.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0300'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainer")).type("Button")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.click(boundsCenter.x, boundsCenter.y); + await Utils.sleep(2000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right + 1000, Math.floor(colum.bottom / 2), 100); + await driver.click(boundsCenter.x, boundsCenter.y); + await Utils.sleep(1000); + await driver.click(boundsCenter.x, boundsCenter.y); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0300.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0310 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0310 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0310.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0310'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0310.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0320 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0320 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0320.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0320'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0320.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0330 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0330 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0330.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0330'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0330.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0340 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0340 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0340.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0340'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0340.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0350 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0350 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0350.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0350'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0350.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0360 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0360 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0360.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0360'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0360.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0370 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0370 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0370.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0370'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0370.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0380 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0380 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0380.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0380'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0380.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0390 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0390 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0390.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0390'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0390.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0400 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0400 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0400.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0400'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0400.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0410 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0410 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0410.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0410'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0410.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0420 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0420 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0420.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0420'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0420.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0430 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0430 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0430.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0430'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0430.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0440 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0440 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0440.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0440'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0440.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0450 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0450 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0450', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0450.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0450'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0450.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0460 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0460 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0460.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0460'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0460.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0470 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0470 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0470', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0470.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0470'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0470.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0480 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0480 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0480', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0480.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0480'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0480.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0490 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0490 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0490.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0490'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0490.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0500 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0500 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0500.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0500'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0500.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0510 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0510 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0510.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0510'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0510.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0520 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0520 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0520.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0520'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0520.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0530 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0530 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0530.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0530'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0530.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0540 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0540 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0540.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0540'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0540.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0550 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0550 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0550.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0550'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0550.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0560 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0560 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0560.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0560'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0560.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0570 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0570 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0570.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0570'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0570.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0580 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0580 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0580.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0580'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0580.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0590 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0590 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0590.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0590'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0590.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0600 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0600 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0600.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0600'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0600.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0610 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0610 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0610.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0610'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0610.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0620 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0620 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0620.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0620'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0620.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0630 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0630 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0630.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0630'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0630.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0640 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0640 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0640.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0640'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0640.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0650 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0650 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0650.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0650'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0650.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0660 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0660 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0660.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0660'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0660.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0670 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0670 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0670.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0670'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0670.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0680 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0680 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0680.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0680'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0680.`); + done(); + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0690 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0690 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0690.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0690'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainer1")).type("Button")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.click(boundsCenter.x, boundsCenter.y); + await Utils.sleep(2000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer1")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right - 200, Math.floor(colum.bottom / 2), 100); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0690.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0700 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0700 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0700.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0700'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainer2")).type("Button")); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer2")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right - 200, Math.floor(colum.bottom / 2), 100); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0700.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0710 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0710 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0710.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0710'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainer3")).type("Button")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.click(boundsCenter.x, boundsCenter.y); + await Utils.sleep(2000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer3")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right - 200, Math.floor(colum.bottom / 2), 100); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0710.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0720 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0720 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0720.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0720'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0720.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0730 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0730 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0730.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0730'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0730.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0740 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0740 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0740.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0740'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0740.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0980 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0980 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0980.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0980'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0980.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0990 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0990 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0990.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0990'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_0990.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1000 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1000 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1000.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1000'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1000.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1010 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1010 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1010.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1010'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1010.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1020 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1020 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1020.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1020'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1020.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1030 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1030 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1030.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1030'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1030.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1040 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1040 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1040.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1040'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1040.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1050 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1050 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1050.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1050'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1050.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1060 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1060 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1060.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1060'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1060.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1070 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1070 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1070.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1070'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1070.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1080 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1080 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1080.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1080'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1080.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1090 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1090 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1090.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1090'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1090.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1100 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1100 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1100.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1100'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1100.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1110 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1110 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1110.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1110'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1110.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1120 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1120 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1120.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1120'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1120.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1130 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1130 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1130.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1130'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1130.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1140 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1140 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1140.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1140'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1140.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1150 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1150 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1150.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1150'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1150.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1160 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1160 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1160.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1160'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1160.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1170 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1170 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1170.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1170'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1170.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1180 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1180 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1180', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1180.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1180'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1180.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1190 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1190 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1190.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1190'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1190.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1200 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1200 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1200.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1200'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1200.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1210 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1210 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1210.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1210'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1210.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1220 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1220 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1220.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1220'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1220.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1230 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1230 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1230.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1230'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1230.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1240 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1240 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1240.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1240'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1240.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1250 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1250 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1250.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1250'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1250.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1260 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1260 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1260.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1260'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1260.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1270 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1270 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1270.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1270'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1270.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1280 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1280 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1280.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1280'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1280.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1290 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1290 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1290.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1290'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1290.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1300 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1300 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1300.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1300'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1300.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1310 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1310 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1310.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1310'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1310.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1320 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1320 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1320.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1320'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1320.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1330 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1330 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1330.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1330'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1330.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1340 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1340 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1340.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1340'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1340.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1350 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1350 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1350.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1350'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1350.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1360 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1360 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1360.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1360'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1360.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1370 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1370 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1370.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1370'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1370.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1380 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1380 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1380.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1380'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1380.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1390 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1390 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1390.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1390'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1390.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1400 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1400 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1400.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1400'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1400.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1410 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1410 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1410.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1410'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1410.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1500 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1500 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1500.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1500'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeWidth = await driver.findComponent(ON.id('changeWidth')); + await changeWidth.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1500.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1510 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1510 + * @tc.desc SidebarContainer +*/ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1510.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1510'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1510.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1520 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1520 + * @tc.desc SidebarContainer +*/ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1520.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1520'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerMax")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.mouseMoveTo(boundsCenter); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_INTERFACE_1520.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayoutTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayoutTest.test.ets new file mode 100755 index 0000000000000000000000000000000000000000..00cf80fedb78a337e4d006788124d5f59f2cf41c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayoutTest.test.ets @@ -0,0 +1,332 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { afterEach, describe, it } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, ON } from '@ohos.UiTest' + +export default function UIComponentRowColumnSidebarContainerLayoutTest() { + + + describe('UIComponentRowColumnSidebarContainerLayoutTest', () => { + + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`); + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0020 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0020 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0020.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0020'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right + 1000, Math.floor(colum.bottom / 2), + 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0020.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0030 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0030 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0030.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0030'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right + 1000, Math.floor(colum.bottom / 2), + 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0030.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0040 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0040 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0040.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0040'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right + 1000, Math.floor(colum.bottom / 2), + 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0040.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0050 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0050 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0050.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0050'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right + 1000, Math.floor(colum.bottom / 2), + 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0050.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0060 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0060 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0060.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0060'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let addWidth = await driver.findComponent(ON.id("addWidth")); + await addWidth.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0060.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0070 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0070 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0070.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0070'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let addWidth = await driver.findComponent(ON.id("addWidth")); + await addWidth.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0070.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0080 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0080 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0080.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0080'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let addWidth = await driver.findComponent(ON.id("addWidth")); + await addWidth.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0080.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0090 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0090 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0090.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0090'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0090.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0010 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0010 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0010.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0010'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer10")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right + 1000, Math.floor(colum.bottom / 2), + 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0010.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0100 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0100 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0100.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0100'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right - 20, Math.floor(colum.bottom / 2), + 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0100.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0110 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0110 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0110.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0110'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right - 100, Math.floor(colum.bottom / 2), + 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0110.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0120 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0120 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0120.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0120'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0120.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0130 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0130 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0130.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0130'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0120.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0150 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0150 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0150.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0150'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let show = await driver.findComponent(ON.id("show")); + await show.click(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right - 100, Math.floor(colum.bottom / 2), + 300); + await Utils.sleep(1000); + await show.click(); + await Utils.sleep(1000); + let img = await driver.findComponent(ON.type("Image")); + await img.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0150.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0170 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0170 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0170.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0170'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_LAYOUT_0170.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowColumnSidebarContainerUxconsistencyTest/UIComponentRowColumnSidebarContainerUxconsistencyTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowColumnSidebarContainerUxconsistencyTest/UIComponentRowColumnSidebarContainerUxconsistencyTest.test.ets new file mode 100755 index 0000000000000000000000000000000000000000..c0088c4755e13ada5823affb7620149beecb37a8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowColumnSidebarContainerUxconsistencyTest/UIComponentRowColumnSidebarContainerUxconsistencyTest.test.ets @@ -0,0 +1,143 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { afterEach, describe, it } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, ON } from '@ohos.UiTest' + +export default function UIComponentRowColumnSidebarContainerUxconsistencyTest() { + + + describe('UIComponentRowColumnSidebarContainerUxconsistencyTest', () => { + + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`); + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0070 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0070 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0070.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0070'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right + 1000, Math.floor(colum.bottom / 2), 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0070.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0080 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0080 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0080.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0080'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right + 1000, Math.floor(colum.bottom / 2), 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0080.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0090 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0090 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0090.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0090'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right - 100, Math.floor(colum.bottom / 2), 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0090.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0100 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0100 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0100.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0100'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let columns = await driver.findComponents(ON.within(ON.id("SideBarContainer")).type("Column")); + let colum = await columns[1].getBounds(); + await driver.swipe(colum.right, Math.floor(colum.bottom / 2), colum.right - 100, Math.floor(colum.bottom / 2), 300); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0100.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0110 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0110 + * @tc.desc SideBarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0110.`); + Settings.createWindow('testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0110'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainer")).type("Button")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.click(boundsCenter.x, boundsCenter.y); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_UXCONSISTENCY_0110.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowcolumnSidebarContainerCapabilityTest/UIComponentRowcolumnSidebarContainerCapability.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowcolumnSidebarContainerCapabilityTest/UIComponentRowcolumnSidebarContainerCapability.test.ets new file mode 100755 index 0000000000000000000000000000000000000000..70d1e27d754efb2cfcb0e2d4c1e338bf09b46b96 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentRowcolumnSidebarContainerCapabilityTest/UIComponentRowcolumnSidebarContainerCapability.test.ets @@ -0,0 +1,779 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { afterEach, describe, it } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, ON } from '@ohos.UiTest' + +export default function UIComponentRowcolumnSidebarContainerCapability() { + + + describe('UIComponentRowcolumnSidebarContainerCapability', () => { + + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`); + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0120 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0120 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0120.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn2 = await driver.findComponent(ON.text("minContentWidth500_1")); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0120.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0260_1 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0260_1 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0260_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0260_1.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("AUTO")); + let btn2 = await driver.findComponent(ON.text("minContentWidth500")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0260_1.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0260_2 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0260_2 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0260_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0260_2.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("AUTO")); + let btn2 = await driver.findComponent(ON.text("minContentWidth300")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0260_2.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0310 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0310 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0310.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability0310'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await Utils.sleep(1000); + await driver.drag(boundsCenter.x,boundsCenter.y,boundsCenter.x-200,boundsCenter.y); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0310.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0320 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0320 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0320.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Embed")); + let btn2 = await driver.findComponent(ON.text("minContentWidth400")); + let btn3 = await driver.findComponent(ON.text("sideBarWidth250")); + let btn4= await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn4.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0320.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0330 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0330 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0330.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Embed")); + let btn2 = await driver.findComponent(ON.text("minContentWidth undefined")); + let btn3 = await driver.findComponent(ON.text("sideBarWidth250")); + let btn4= await driver.findComponent(ON.text("_width360")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn4.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0330.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0340 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0340 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0340.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Overlay")); + let btn2 = await driver.findComponent(ON.text("minContentWidth400")); + let btn3 = await driver.findComponent(ON.text("sideBarWidth250")); + let btn4= await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn4.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0340.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0350 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0350 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0350.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Overlay")); + let btn2 = await driver.findComponent(ON.text("minContentWidth100")); + let btn3 = await driver.findComponent(ON.text("sideBarWidth250")); + let btn4= await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn4.click(); + await Utils.sleep(500); + await btn4.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0350.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0360 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0360 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0360.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Overlay")); + let btn2 = await driver.findComponent(ON.text("minContentWidth undefined")); + let btn3 = await driver.findComponent(ON.text("minSideBarWidth400")); + let btn4 = await driver.findComponent(ON.text("sideBarWidth450")); + let btn5= await driver.findComponent(ON.text("_width450")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn4.click(); + await Utils.sleep(1000); + await btn5.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0360.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0370 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0370 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0370.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("AUTO")); + let btn2 = await driver.findComponent(ON.text("minContentWidth400")); + let btn3 = await driver.findComponent(ON.text("minSideBarWidth200")); + let btn4= await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn4.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0370.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0380 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0380 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0380.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("AUTO")); + let btn2 = await driver.findComponent(ON.text("minContentWidth400")); + let btn3 = await driver.findComponent(ON.text("minSideBarWidth200")); + let btn4= await driver.findComponent(ON.text("_width300")); + let btn5= await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn4.click(); + await Utils.sleep(1000); + await btn5.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0380.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0390 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0390 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0390.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("AUTO")); + let btn2 = await driver.findComponent(ON.text("minContentWidth400")); + let btn3 = await driver.findComponent(ON.text("minSideBarWidth undefined")); + let btn4= await driver.findComponent(ON.text("_width640")); + let btn5= await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn4.click(); + await Utils.sleep(1000); + await btn5.click(); + await Utils.sleep(1000); + await btn5.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0390.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0400 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0400 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0400.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("AUTO")); + let btn2 = await driver.findComponent(ON.text("minContentWidth undefined")); + let btn3 = await driver.findComponent(ON.text("minSideBarWidth300")); + let btn4= await driver.findComponent(ON.text("_width660")); + let btn5= await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn4.click(); + await Utils.sleep(1000); + await btn5.click(); + await Utils.sleep(1000); + await btn5.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0400.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0410 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0410 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0410.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("AUTO")); + let btn2 = await driver.findComponent(ON.text("minContentWidth300")); + let btn3 = await driver.findComponent(ON.text("minSideBarWidth undefined")); + let btn5= await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn5.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0410.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0420 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0420 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0420.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("AUTO")); + let btn2 = await driver.findComponent(ON.text("minContentWidth undefined")); + let btn3 = await driver.findComponent(ON.text("minSideBarWidth200")); + let btn4= await driver.findComponent(ON.text("_width600")); + let btn5= await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + await btn5.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0420.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0460 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0460 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0460', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0460.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Overlay")); + let btn3 = await driver.findComponent(ON.text("End")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0460.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0470_1 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0470_1 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0470_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0470_1.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Embed")); + let btn2 = await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0470_1.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0470_2 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0470_2 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0470_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0470_2.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.drag(boundsCenter.x,boundsCenter.y,boundsCenter.x-50,boundsCenter.y); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0470_2.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0480_1 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0480_1 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0480_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0480_1.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Overlay")); + let btn2 = await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0480_1.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0480_2 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0480_2 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0480_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0480_2.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Overlay")); + let btn2 = await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.drag(boundsCenter.x,boundsCenter.y,boundsCenter.x-50,boundsCenter.y); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0480_2.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0490_1 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0490_1 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0490_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0490_1.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Overlay")); + let btn2 = await driver.findComponent(ON.text("minContentWidth100")); + let btn3 = await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(500); + await btn3.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0490_1.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0490_2 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0490_2 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0490_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0490_2.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Overlay")); + let btn2 = await driver.findComponent(ON.text("minContentWidth100")); + let btn3 = await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await driver.drag(boundsCenter.x,boundsCenter.y,boundsCenter.x-50,boundsCenter.y); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0490_2.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0500_1 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0500_1 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0500_1', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0500_1.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Embed")); + let btn2 = await driver.findComponent(ON.text("hide")); + let btn3 = await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0500_1.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0500_2 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0500_2 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0500_2', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0500_2.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Embed")); + let btn2 = await driver.findComponent(ON.text("hide")); + let btn3 = await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await Utils.sleep(1000); + await driver.drag(boundsCenter.x,boundsCenter.y,boundsCenter.x-50,boundsCenter.y); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0500_2.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0510 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0510 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0510.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("Overlay")); + let btn2 = await driver.findComponent(ON.text("hide")); + let btn3 = await driver.findComponent(ON.text("_width--")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await Utils.sleep(1000); + await driver.drag(boundsCenter.x,boundsCenter.y,boundsCenter.x-50,boundsCenter.y); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0510.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0520 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0520 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0520.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let btn1 = await driver.findComponent(ON.text("AUTO")); + let btn2 = await driver.findComponent(ON.text("hide")); + let btn3 = await driver.findComponent(ON.text("_width450")); + await Utils.sleep(1000); + await btn1.click(); + await Utils.sleep(1000); + await btn2.click(); + await Utils.sleep(1000); + await btn3.click(); + await Utils.sleep(1000); + let bar = await driver.findComponent(ON.within(ON.id("SideBarContainerNav")).type("Divider")); + let boundsCenter = await bar.getBoundsCenter(); + await Utils.sleep(1000); + await driver.drag(boundsCenter.x,boundsCenter.y,boundsCenter.x-50,boundsCenter.y); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0520.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0540 + * @tc.name SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0540 + * @tc.desc SidebarContainer + */ + it('SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0540.`); + Settings.createWindow('testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability0540'); + await Utils.sleep(2000); + await Settings.changeOrientation(); + await Utils.sleep(1000); + await Settings.changeOrientation(); + await Utils.sleep(2000); + await windowSnap.snapShot(); + await Utils.sleep(2000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_ROWCOLUMN_SIDEBARCONTAINER_CAPABILITY_0540.`); + done(); + }) + }) +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentUISupportColorTest/UIComponentUiSupportColorTest.test.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentUISupportColorTest/UIComponentUiSupportColorTest.test.ets new file mode 100755 index 0000000000000000000000000000000000000000..76c165d6c4f4e8cc0f750e6730d16ba9054bbfd1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/UIComponentUISupportColorTest/UIComponentUiSupportColorTest.test.ets @@ -0,0 +1,397 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { afterEach, describe, it } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { Driver, ON } from '@ohos.UiTest' + +export default function UIComponentUiSupportColorTest() { + + + describe('UIComponentUiSupportColorTest', () => { + + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return; + } + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`); + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0640 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0640 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor0640'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0650 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0650 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor0650'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0660 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0660 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor0660'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0670 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0670 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor0670'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0680 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0680 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor0680'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0690 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0690 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor0690'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0700 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0700 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_0700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor0700'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1620 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1620 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1620'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1630 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1630 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1630'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1640 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1640 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1640'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1650 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1650 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1650'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1660 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1660 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1660'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1670 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1670 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1670'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1680 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1750 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1680'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1690 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1690 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1690'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1700 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1700 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1700'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1710 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1710 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1710'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1720 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1720 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1720'); + await Utils.sleep(2000); + let driver = Driver.create(); + await Utils.sleep(1000); + let changeThemeBtn = await driver.findComponent(ON.id('changeTheme')); + await changeThemeBtn.click(); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1730 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1730 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1730'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1740 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1740 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1740'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + /* + * @tc.number SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1750 + * @tc.name SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1750 + * @tc.desc Set system color + */ + it('SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR_1750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + Settings.createWindow('testability/pages/UIComponentUiSupportColor/UISupportColor1750'); + await Utils.sleep(2000); + windowSnap.snapShot(); + await Utils.sleep(1000); + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_UISUPPORT_COLOR.`); + done(); + }) + }) +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Settings.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Settings.ets index c74ae272407cbf707ddcfaaacf42c1e132d5452d..581ce50bdfefc14eb06358c6c1ab009b2a554a6b 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Settings.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/test/model/Settings.ets @@ -21,8 +21,10 @@ import { BusinessError } from '@ohos.base' import Window from '@ohos.window' import common from '@ohos.app.ability.common'; import { i18n } from '@kit.LocalizationKit'; -import { router } from '@kit.ArkUI'; +import { router, uiAppearance } from '@kit.ArkUI'; import { systemDateTime } from '@kit.BasicServicesKit'; +import { ConfigurationConstant } from '@kit.AbilityKit'; +import Utils from './Utils'; const TAG: string = '[TEST]'; @@ -36,14 +38,14 @@ async function sleep(time: number): Promise { } class Settings { - isPhone: boolean = true; + isPhone: boolean = false; windowClass: window.Window | undefined = undefined windowCreateType: string = "changeWindow"; private static DEFAULT_WIDTH: number = 720; - private static DEFAULT_HEIGHT: number = 1280; + private static DEFAULT_HEIGHT: number = 1412; private static DEFAULT_DPI: number = 240; - private static DEFAULT_OFFSET_X: number = 0; - private static DEFAULT_OFFSET_Y: number = 60; + private static DEFAULT_OFFSET_X: number = 100; + private static DEFAULT_OFFSET_Y: number = 132; private portrait: boolean = true changeWindowPosition(windowClass: window.Window, X: number | undefined, Y: number | undefined) { @@ -145,6 +147,27 @@ class Settings { } } + async initEnv() { + let context = getContext() + let promise = await Window.getLastWindow(context); + let orientation = Window.Orientation.PORTRAIT; + try { + getContext().getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_NOT_SET); + await promise.setPreferredOrientation(orientation); + Utils.sleep(1000); + uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_LIGHT, () => { + }); + Utils.sleep(1000); + i18n.System.setAppPreferredLanguage('zh-Hans-CN'); // 设置系统当前Locale为 "zh-CN" + } catch (error) { + let err: BusinessError = error as BusinessError; + console.error(`call System.setAppPreferredLanguage failed, error code: ${err.code}, message: ${err.message}.`); + } + let appPreferredLanguage2: string = i18n.System.getAppPreferredLanguage(); // 获取应用偏好语言 + console.log(`Switch CusLocales,appPreferredLanguage2=${appPreferredLanguage2}`); + } + + /* * 窗口页面更新 * Setting.createWindow(pageURI: String, {X,Y,width,height,dpi}?:{X?:number,Y?:number,width?:number,height?:number,dpi?:number}):void @@ -307,7 +330,27 @@ class Settings { console.error('Failed to obtain the top window. Cause: ' + JSON.stringify(err)); }); } + resetOrientation() { + try { + window.getLastWindow(getContext(this), (err, data) => { // 获取window实例 + if (err.code) { + return; + } + let windowClass = data; + let orientation = window.Orientation.PORTRAIT; // 设置窗口方向为传感器自动旋转模式。 + try { + windowClass.setPreferredOrientation(orientation, (err) => { + if (err.code) { + return; + } + }); + } catch (exception) { + }; + }); + } catch (exception) { + }; + } setOrientation() { try { window.getLastWindow(getContext(this), (err, data) => { // 获取window实例 diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/TestAbility.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/TestAbility.ets index 5b2992dcb24394039f4c71907479c34895c1a73a..05797d1fd6b4b23b42b121f95e03d5cdf710e2aa 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/TestAbility.ets +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/TestAbility.ets @@ -59,13 +59,28 @@ export default class TestAbility extends UIAbility { hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageCreate'); GlobalThis.getInstance().setContext("context", this.context) - windowStage.loadContent('testability/pages/Index', (err) => { - if (err.code) { - hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? ''); - return; + // + let atManager = abilityAccessCtrl.createAtManager(); + let appFlags = bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_APPLICATION; + let permissionFlags = 0; + bundleManager.getBundleInfoForSelf(appFlags, (err, data) => { + if (err) { + Logger.error(TAG, 'getAllApplicationInfo failed: %{public}s', err.message); + console.error("") } - hilog.info(0x0000, 'testTag', 'Succeeded in loading the content.'); - }); + let tokenID = data.appInfo.accessTokenId; //系统应用可以通过bundleManager.getApplicationInfo获取,普通应用可以通过bundleManager.getBundleInfoForSelf获取 + atManager.grantUserGrantedPermission(tokenID, 'ohos.permission.READ_MEDIA', permissionFlags, (err, data) => { + if (err) { + Logger.info(TAG, `grantUserGrantedPermission fail, err->${JSON.stringify(err)}`) + } + }) + atManager.grantUserGrantedPermission(tokenID, 'ohos.permission.WRITE_MEDIA', permissionFlags, (err, data) => { + if (err) { + Logger.info(TAG, `grantUserGrantedPermission fail, err->${JSON.stringify(err)}`) + } + }) + }) + } onWindowStageDestroy() { diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavDestination/UIComponentNavNavDestination0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavDestination/UIComponentNavNavDestination0010.ets new file mode 100755 index 0000000000000000000000000000000000000000..9ea71eb3089cf08463af7c2247773177977af48a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavDestination/UIComponentNavNavDestination0010.ets @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import observer from '@ohos.arkui.observer'; +import { JSON } from '@kit.ArkTS'; + +@Entry +@Component +struct UIComponentNavNavDestination0010 { + @State str: string = '' + @State pageInfos: NavPathStack = new NavPathStack(); + @State navIdValue: string | undefined = ''; + @State navPathStack: NavPathStack | undefined = undefined; + + aboutToAppear(): void { + this.navIdValue = JSON.stringify(this.queryNavigationInfo()); + } + + @Builder + pageOneTmp() { + NavDestination() { + Column({ space: 10 }) { + CustomCom({ navIdValue: this.navIdValue, navPathStack: this.navPathStack }) + Button('push PageTwo') + .onClick(() => { + this.navPathStack?.pushPath({ name: 'pageTwo', param: 'mes' }) + }) + .id('queryNavigationInfoTest_btn2') + } + }.title('pageOne') + } + + @Builder + PageMap(name: string) { + if (name === 'pageOne') { + this.pageOneTmp(); + } + } + + build() { + Column({ space: 5 }) { + Text(this.navIdValue).id('queryNavigationInfoTest_text1') + + Navigation(this.pageInfos) { + Column({ space: 10 }) { + + Button('pushPath pageOne',) + .onClick(() => { + this.pageInfos.pushPath({ name: 'pageOne', param: 'mes' }); + }) + .id('queryNavigationInfoTest_btn1') + } + } + .mode(NavigationMode.Stack) + .id('queryNavigationInfoTest_navId') + .title('NavIndex') + .navDestination(this.PageMap) + } + + } +} + + +@Component +struct CustomCom { + navInfo: observer.NavigationInfo | undefined; + @Link navIdValue: string | undefined; + @Link navPathStack: NavPathStack | undefined; + + build() { + Column() { + Button('queryNavigationInfo') + .id('queryNavigationInfo') + .onClick(() => { + this.navInfo = this.queryNavigationInfo(); + this.navIdValue = JSON.stringify(this.navInfo); + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavDestination/UIComponentNavNavDestination0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavDestination/UIComponentNavNavDestination0020.ets new file mode 100755 index 0000000000000000000000000000000000000000..d957828e2ea0bf48eb9ee743a6c682beb4a79b07 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavDestination/UIComponentNavNavDestination0020.ets @@ -0,0 +1,87 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import observer from '@ohos.arkui.observer'; +import { JSON } from '@kit.ArkTS'; + +@Entry +@Component +struct UIComponentNavNavDestination0020 { + @State str: string = '' + @State pageInfos: NavPathStack = new NavPathStack(); + @State navIdValue: string | undefined = ''; + @State navPathStack: NavPathStack | undefined = undefined; + + @Builder + pageOneTmp() { + NavDestination() { + Column({ space: 10 }) { + CustomCom({ navIdValue: this.navIdValue, navPathStack: this.navPathStack }) + Button('push PageTwo') + .onClick(() => { + this.navPathStack?.pushPath({ name: 'pageTwo', param: 'mes' }) + }) + .id('queryNavigationInfoTest_btn2') + } + }.title('pageOne') + } + + @Builder + PageMap(name: string) { + if (name === 'pageOne') { + this.pageOneTmp(); + } + } + + build() { + Column({ space: 5 }) { + Text(this.navIdValue).id('queryNavigationInfoTest_text1') + + Navigation(this.pageInfos) { + Column({ space: 10 }) { + + Button('pushPath pageOne',) + .onClick(() => { + this.pageInfos.pushPath({ name: 'pageOne', param: 'mes' }); + }) + .id('queryNavigationInfoTest_btn1') + } + } + .mode(NavigationMode.Stack) + .id('queryNavigationInfoTest_navId') + .title('NavIndex') + .navDestination(this.PageMap) + } + + } +} + + +@Component +struct CustomCom { + navInfo: observer.NavigationInfo | undefined; + @Link navIdValue: string | undefined; + @Link navPathStack: NavPathStack | undefined; + + build() { + Column() { + Button('queryNavigationInfo') + .id('queryNavigationInfo') + .onClick(() => { + this.navInfo = this.queryNavigationInfo(); + this.navIdValue = JSON.stringify(this.navInfo); + }) + }.width('100%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbol.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbol.ets new file mode 100755 index 0000000000000000000000000000000000000000..c8bc7828a97d8b17235f28e015de629b6738bd8d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbol.ets @@ -0,0 +1,153 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import {SymbolGlyphModifier} from '@ohos.arkui.modifier' +@Entry +@Component +export struct UIComponentNavNavDestinationSymbol{ + + @Provide('navPathStack') navPathStack: NavPathStack = new NavPathStack(); + @State menuItems: Array = [ + { + value: 'menuItem1', + icon: 'resources/base/media/cat.jpg' + }, + { + value: 'menuItem2', + icon: 'resources/base/media/cat.jpg', + symbolIcon: new SymbolGlyphModifier($r('sys.symbol.ohos_folder_badge_plus')).fontColor([Color.Red, Color.Green]) + .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_COLOR), + }, + { + value: 'menuItem3', + symbolIcon: new SymbolGlyphModifier($r('sys.symbol.ohos_lungs')), + }, + ] + @State toolItems: Array = [ + { + value: 'toolItem1', + symbolIcon: new SymbolGlyphModifier($r('sys.symbol.ohos_lungs')), + status: ToolbarItemStatus.ACTIVE, + activeSymbolIcon: new SymbolGlyphModifier($r('sys.symbol.ohos_folder_badge_plus')).fontColor([Color.Red, + Color.Green]).renderingStrategy(SymbolRenderingStrategy.MULTIPLE_COLOR), + action: () => { + } + }, + { + value: 'toolItem2', + symbolIcon: new SymbolGlyphModifier($r('sys.symbol.ohos_star')), + status: ToolbarItemStatus.ACTIVE, + activeIcon: 'resources/base/media/cat.jpg', + action: () => { + } + }, + { + value: 'toolItem3', + symbolIcon: new SymbolGlyphModifier($r('sys.symbol.ohos_lungs')), + status: ToolbarItemStatus.ACTIVE, + action: () => { + } + } + ] + + @Builder + myRouter(name: string, param?: Object) { + if (name === 'NavigationMenu') { + NavigationMenu(); + } + } + + build() { + Navigation(this.navPathStack) { + Column() { + Button('跳转') + .id('pushPage') + .onClick(() => { + this.navPathStack.pushPathByName('NavigationMenu', null); + }) + } + } + .backButtonIcon(new SymbolGlyphModifier($r('sys.symbol.ohos_wifi'))) + .titleMode(NavigationTitleMode.Mini) + .menus(this.menuItems) + .toolbarConfiguration(this.toolItems) + .title('一级页面') + .navDestination(this.myRouter) + } +} + +@Component +export struct NavigationMenu { + @Consume('navPathStack') navPathStack: NavPathStack; + @State icon1:SymbolGlyphModifier[] = [ + new SymbolGlyphModifier($r('sys.symbol.ohos_folder_badge_plus')), + new SymbolGlyphModifier($r('sys.symbol.trash_circle')), + new SymbolGlyphModifier($r('sys.symbol.ohos_trash')), + new SymbolGlyphModifier($r('sys.symbol.picture')), + new SymbolGlyphModifier($r('sys.symbol.ohos_lungs')), + ] + @State iconIndex1:number = 0; + @State fontSize:number|string|Resource|null|undefined = 0; + + @State fontColor:null|undefined|(Color|string|Resource)[] = undefined; + @State fontWeight:null|undefined|number|string|FontWeight = 30; + @State effectStrategy:SymbolEffectStrategy = SymbolEffectStrategy.NONE; + @State menuItems: Array = [ + { + value:'1', + symbolIcon: this.icon1[this.iconIndex1].fontSize(this.fontSize).fontColor(this.fontColor).fontWeight(this.fontWeight).effectStrategy(this.effectStrategy), + }, + { + value:'2', + symbolIcon: this.icon1[this.iconIndex1].fontSize(this.fontSize).fontColor(this.fontColor).fontWeight(this.fontWeight).effectStrategy(this.effectStrategy), + }, + { + value:'3', + symbolIcon: this.icon1[this.iconIndex1].fontSize(this.fontSize).fontColor(this.fontColor).fontWeight(this.fontWeight).effectStrategy(this.effectStrategy), + }, + { + value:'4', + symbolIcon: this.icon1[this.iconIndex1].fontSize(this.fontSize).fontColor(this.fontColor).fontWeight(this.fontWeight).effectStrategy(this.effectStrategy), + }, + { + value:'5', + symbolIcon: this.icon1[this.iconIndex1].fontSize(this.fontSize).fontColor(this.fontColor).fontWeight(this.fontWeight).effectStrategy(this.effectStrategy), + }, + { + value:'6', + symbolIcon: this.icon1[this.iconIndex1].fontSize(this.fontSize).fontColor(this.fontColor).fontWeight(this.fontWeight).effectStrategy(this.effectStrategy), + }, + { + value:'7', + symbolIcon: this.icon1[this.iconIndex1].fontSize(this.fontSize).fontColor(this.fontColor).fontWeight(this.fontWeight).effectStrategy(this.effectStrategy), + } + ] + + build() { + NavDestination() { + Row() { + Column() { + } + .width('100%') + } + .height('100%') + } + .hideTitleBar(false) + .title('NavDestination title') + .backgroundColor($r('sys.color.ohos_id_color_titlebar_sub_bg')) + .backButtonIcon(new SymbolGlyphModifier($r('sys.symbol.ohos_star')).fontColor([Color.Blue])) + .menus(this.menuItems) + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0012.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0012.ets new file mode 100755 index 0000000000000000000000000000000000000000..062fee30992147c7027f00fc4565d3587f1d578a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0012.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentNavNavigationCursorstyle0012 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer(SideBarContainerType.Embed) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:5,color:Color.Red}) + .id('SideBarContainerNav') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0013.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0013.ets new file mode 100755 index 0000000000000000000000000000000000000000..1b0ca177d2c704a588e3f0be86aafd87ba1c79a4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0013.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentNavNavigationCursorstyle0013 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:5,color:Color.Red}) + .id('SideBarContainerNav1') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0014.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0014.ets new file mode 100755 index 0000000000000000000000000000000000000000..7855de3a4d9148f91c8b541cd7ca15abde41054d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0014.ets @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentNavNavigationCursorstyle0014 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthNumber : number = 5; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + Button('addStrokeWidth') + .id('addStrokeWidth') + .width(100) + .height(60) + .onClick(()=>{ + this.widthNumber = 30; + }) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth: this.widthNumber,color:Color.Red}) + .id('SideBarContainerNav2') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0015.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0015.ets new file mode 100755 index 0000000000000000000000000000000000000000..f32e5ae6e6b9ca3f39555188a67b5d819afcc71f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0015.ets @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentNavNavigationCursorstyle0015 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthNumber : number = 0; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + Button('addStartMargin') + .id('addStartMargin') + .width(100) + .height(60) + .onClick(()=>{ + this.widthNumber = 30; + }) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth: 5,color:Color.Red,startMargin: this.widthNumber}) + .id('SideBarContainerNav3') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0016.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0016.ets new file mode 100755 index 0000000000000000000000000000000000000000..1aac3780602b664f83b2652e969543cc9dc32c49 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0016.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentNavNavigationCursorstyle0016 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth: 5,color:Color.Red}) + .id('SideBarContainerNav16') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0018.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0018.ets new file mode 100755 index 0000000000000000000000000000000000000000..db3242568d611bd80ba74283d48e1c519da1444b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0018.ets @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import Settings from '../../../test/model/Settings'; + +@Entry +@Component +struct UIComponentNavNavigationCursorstyle0018 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer(SideBarContainerType.Embed) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + Button('changeScreen') + .id('changeScreen') + .width(100) + .height(60) + .onClick(()=>{ + Settings.changeOrientation(); + }) + Button('changeScreen1') + .id('changeScreen1') + .width(100) + .height(60) + .onClick(()=>{ + Settings.resetOrientation(); + }) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth: 5,color:Color.Red}) + .id('SideBarContainerNav4') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0019.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0019.ets new file mode 100755 index 0000000000000000000000000000000000000000..47c7aa72408d9d399a979b03587bc7d28244776a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0019.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import Settings from '../../../test/model/Settings'; + +@Entry +@Component +struct UIComponentNavNavigationCursorstyle0018 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + Button('changeScreen') + .id('changeScreen') + .width(100) + .height(60) + .onClick(()=>{ + Settings.changeOrientation(); + }) + Button('changeScreen1') + .id('changeScreen1') + .width(100) + .height(60) + .onClick(()=>{ + Settings.resetOrientation(); + }) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .sideBarWidth(100) + .divider({strokeWidth: 5,color:Color.Red}) + .id('SideBarContainerNav5') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0023.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0023.ets new file mode 100755 index 0000000000000000000000000000000000000000..c435aebc06eb13cd83986a6aa7c6b2b7ddcff9f1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0023.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentNavNavigationCursorstyle0023 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth: 5,color:Color.Red}) + .id('SideBarContainerNav23') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0010.ets new file mode 100755 index 0000000000000000000000000000000000000000..bc87d2c3e3de6cc5f2e2bced0af3fbfc01ca0f7d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0010.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0010 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0020.ets new file mode 100755 index 0000000000000000000000000000000000000000..a2fde5bf25c8f7041fec40382e1e146c4cfd54cf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0020.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0020 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(false) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0030.ets new file mode 100755 index 0000000000000000000000000000000000000000..f313e4a8e51e6bd5348f541d6160372e9f39ce4f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0030.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0030 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0040.ets new file mode 100755 index 0000000000000000000000000000000000000000..5ddae25ed27cdf5b4f9dc6b510df1453090374a6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0040.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0040 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({ + left:20 + }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0050.ets new file mode 100755 index 0000000000000000000000000000000000000000..8b4ad910c2273dda8859a5703d021bc62832b3e0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0050.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0050 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({ + left:-20 + }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0060.ets new file mode 100755 index 0000000000000000000000000000000000000000..127f6d1a6089f30c9d3ac3997ee74351343f7f16 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0060.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0060 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0070.ets new file mode 100755 index 0000000000000000000000000000000000000000..7ff4bc512c71778692c6ec6a5d502b1bd1b21295 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0070.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0070 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({ top: 20 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0080.ets new file mode 100755 index 0000000000000000000000000000000000000000..a1d94f52f114af18e8bf18ea8205bc7b43a3eedf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0080.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0080 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({ top: -20 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0090.ets new file mode 100755 index 0000000000000000000000000000000000000000..be7d04a1698f9cfa8248c5d6a9684c271e48e7fb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0090.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0090 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0100.ets new file mode 100755 index 0000000000000000000000000000000000000000..8fd93181018536e40e96a41ac6d8e8d44cdade59 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0100.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0100 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({ width: 20 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0110.ets new file mode 100755 index 0000000000000000000000000000000000000000..b51ff329cef419f30ee643ef3fcc183f2d164576 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0110.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0110 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({ width: -20 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0120.ets new file mode 100755 index 0000000000000000000000000000000000000000..34ce945cb4915261e0100698f00552918eb6fe82 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0120.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0120 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0130.ets new file mode 100755 index 0000000000000000000000000000000000000000..4fe6f2e0545a56be79e34a2c39b6c4f24975c2f6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0130.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0130 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({ height: 20 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0140.ets new file mode 100755 index 0000000000000000000000000000000000000000..b5c417456a87d6695479458f5029e9bdb4068836 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0140.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0140 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({ height: -20 }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0250.ets new file mode 100755 index 0000000000000000000000000000000000000000..2a9bcf84b59362144262873a2b86ad043d5d4c4c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0250.ets @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0250 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({ + icons: { + hidden: $r('app.media.test'), + shown: $r('app.media.test'), + switching: $r('app.media.test') + } + }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0270.ets new file mode 100755 index 0000000000000000000000000000000000000000..9590c6f7b05caea99f40d238252b5e97c613137f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0270.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0270 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showControlButton(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0280.ets new file mode 100755 index 0000000000000000000000000000000000000000..6275d3afbeb8f37ff4bfe0ff5638e6042a1a5af4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0280.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0280 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showControlButton(false) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0290.ets new file mode 100755 index 0000000000000000000000000000000000000000..373f98b23b22cef41081bd50be7949e7b0c120dc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0290.ets @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0290 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0300.ets new file mode 100755 index 0000000000000000000000000000000000000000..9358db77b4440569e348796e8ed6b8a068036d4e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0300.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0300 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0310.ets new file mode 100755 index 0000000000000000000000000000000000000000..046ec06f8698d705a69ac36e1542b31613367bc1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0310.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0310 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth(0) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0320.ets new file mode 100755 index 0000000000000000000000000000000000000000..03ed2e5e51e79827dc16a641c82cb8decaf16826 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0320.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0320 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth(-10) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0330.ets new file mode 100755 index 0000000000000000000000000000000000000000..af587f80ca7ab4d69d38f96970f299a20705523e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0330.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0330 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth(100) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0340.ets new file mode 100755 index 0000000000000000000000000000000000000000..198f32c77906d97dd5e8ed642aae8205f45a08c7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0340.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0340 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth('0') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0350.ets new file mode 100755 index 0000000000000000000000000000000000000000..26c3a87aa1ef1959fffe998821bf03968cf8fe5e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0350.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0350 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth('-10') + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0360.ets new file mode 100755 index 0000000000000000000000000000000000000000..6e4d25e2e21e8c34915370e68c4f262d27cd06f6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0360.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0360 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth('100') + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0370.ets new file mode 100755 index 0000000000000000000000000000000000000000..a58ab7c84809af18c3700b38dedcd764120f3f4c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0370.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0370 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth('100vp') + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0380.ets new file mode 100755 index 0000000000000000000000000000000000000000..2bde4ff8820fcb6bb9ff28e6ff2579591569132e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0380.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0380 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth('100fp') + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0390.ets new file mode 100755 index 0000000000000000000000000000000000000000..b9c0222739ccb56215f2f26ee46b0e553cc7be24 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0390.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0390 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth('100lpx') + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0400.ets new file mode 100755 index 0000000000000000000000000000000000000000..d508c44f4fb101a3f090249f5be68eed15eaa0aa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0400.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0400 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth('100px') + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0410.ets new file mode 100755 index 0000000000000000000000000000000000000000..82b2694d648fcdc46ae133b2a6dddfef2810fae0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0410.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0410 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth('asdads') + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0420.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0420.ets new file mode 100755 index 0000000000000000000000000000000000000000..2bf565aa722e1be4b24a1f1a9d9eef42953cd035 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0420.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0420 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + . sideBarWidth('210dd') + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0430.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0430.ets new file mode 100755 index 0000000000000000000000000000000000000000..fbe67726fd9f8eccc64863be963dcff5bfd4df49 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0430.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0430 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(getContext().resourceManager.getStringSync($r('app.string.side_width'))) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0440.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0440.ets new file mode 100755 index 0000000000000000000000000000000000000000..71770b8231b30079f3d0791cfd94c9b5bdfdd50b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0440.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0440 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(getContext().resourceManager.getNumber($r('app.integer.size'))) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0450.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0450.ets new file mode 100755 index 0000000000000000000000000000000000000000..676b327c03a9d67c7bd1033746b1c124a5184e01 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0450.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0450 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(getContext().resourceManager.getNumber($r('app.float.side_width'))) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0460.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0460.ets new file mode 100755 index 0000000000000000000000000000000000000000..67744608dddce71c29908f8a032766406495f257 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0460.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0460 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth($rawfile('cat.jpg')) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0470.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0470.ets new file mode 100755 index 0000000000000000000000000000000000000000..590d912fed6e1e7542e438b0faaa62fe8d7c571f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0470.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0470 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth(0) + .sideBarWidth(80) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0480.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0480.ets new file mode 100755 index 0000000000000000000000000000000000000000..976c5223ee92d862a40e37b83989ea3f5087e45b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0480.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0480 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth(-10) + .sideBarWidth(80) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0490.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0490.ets new file mode 100755 index 0000000000000000000000000000000000000000..180d2671e7a03db14d104bcc13470b845d1e3188 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0490.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0490 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth(100) + .sideBarWidth(80) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0500.ets new file mode 100755 index 0000000000000000000000000000000000000000..3437ee584856ab76ad8a387a0589e268e4d89002 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0500.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0500 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth('0') + .sideBarWidth(80) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0510.ets new file mode 100755 index 0000000000000000000000000000000000000000..c0db0db83c8706ee2f4518b0e7e8250cd2b3a3f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0510.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0510 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth('-10') + .sideBarWidth(80) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0520.ets new file mode 100755 index 0000000000000000000000000000000000000000..e13093e0f68b8b9738ab30507dcb900ce213cf06 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0520.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0520 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth('100') + .sideBarWidth(80) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0530.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0530.ets new file mode 100755 index 0000000000000000000000000000000000000000..a9e7ee5d8744a315a8532ffa6cc0075d20253573 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0530.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0530 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth('asdasd') + .sideBarWidth(80) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0540.ets new file mode 100755 index 0000000000000000000000000000000000000000..9997729183e40d859f406d4c415bdf9dfffd3cf3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0540.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0540 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth(getContext().resourceManager.getStringSync($r('app.string.side_width'))) + .sideBarWidth(80) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0550.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0550.ets new file mode 100755 index 0000000000000000000000000000000000000000..3b3a81e5e3ca70ad7dd7df2833f361f30a4e6d1b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0550.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0550 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth(getContext().resourceManager.getNumber($r('app.integer.size'))) + .sideBarWidth(80) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0560.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0560.ets new file mode 100755 index 0000000000000000000000000000000000000000..426ca2d260331514e3f88764f77061d6a555604e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0560.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0560 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(80) + .minSideBarWidth(getContext().resourceManager.getNumber($r('app.float.side_width'))) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0570.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0570.ets new file mode 100755 index 0000000000000000000000000000000000000000..a9b50eafd860457e1fa2a4475b8e9980da04f865 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0570.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0570 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth($rawfile('cat.jpg')) + .sideBarWidth(80) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0580.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0580.ets new file mode 100755 index 0000000000000000000000000000000000000000..0a7520ce348afee5c499b3a5d83a7773f8d6bfeb --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0580.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0580 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth(0) + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0590.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0590.ets new file mode 100755 index 0000000000000000000000000000000000000000..e73d9e87dcc123a68f0bbc0b013d11b0186dd025 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0590.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0590 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth(-10) + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0600.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0600.ets new file mode 100755 index 0000000000000000000000000000000000000000..3dc0478041e2f380d1d28a0303346a9911e07298 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0600.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0600 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth(100) + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0610.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0610.ets new file mode 100755 index 0000000000000000000000000000000000000000..e1c39b60f6d912a216b9aba8305ef60799b0e632 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0610.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0610 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth('0') + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0620.ets new file mode 100755 index 0000000000000000000000000000000000000000..a6b7d070981ab9cc05ff50ce555a046404e63a0e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0620.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0620 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth('-10') + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0630.ets new file mode 100755 index 0000000000000000000000000000000000000000..a7fed0f67ef921cf96b09292a7549661b3c80f20 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0630.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0630 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth('100') + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0640.ets new file mode 100755 index 0000000000000000000000000000000000000000..2c0c1656e511b6fc507251b81a68412b78d5ead0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0640.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0640 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth('asdasd') + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0650.ets new file mode 100755 index 0000000000000000000000000000000000000000..01710cd325fa62272c741a157c602bf59386bb4d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0650.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0650 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth(getContext().resourceManager.getStringSync($r('app.string.side_width'))) + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0660.ets new file mode 100755 index 0000000000000000000000000000000000000000..9253b43201341bcf1094778e812ac8e039380bca --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0660.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0660 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth(getContext().resourceManager.getNumber($r('app.integer.size'))) + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0670.ets new file mode 100755 index 0000000000000000000000000000000000000000..22b5ec454dbf7c97d719210df077c16a8516a32b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0670.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0670 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth(getContext().resourceManager.getNumber($r('app.float.side_width'))) + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0680.ets new file mode 100755 index 0000000000000000000000000000000000000000..8ca65e28998eb106586ad8e1a84a196961d818d7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0680.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0680 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .maxSideBarWidth($rawfile('cat.jpg')) + .sideBarWidth(150) + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0690.ets new file mode 100755 index 0000000000000000000000000000000000000000..9b69d3291c5a8f4c00f34bb522710641fd609714 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0690.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0690 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth(140) + .autoHide(true) + .id('SideBarContainer1') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0700.ets new file mode 100755 index 0000000000000000000000000000000000000000..f21692ef43afe3b6d2e84d1fc22e6402a2cae586 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0700.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0700 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth(140) + .autoHide(false) + .id('SideBarContainer2') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0710.ets new file mode 100755 index 0000000000000000000000000000000000000000..28afd6bd451e97cc9aaf5d755e43fae23fede825 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0710.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0710 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth(140) + .id('SideBarContainer3') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0720.ets new file mode 100755 index 0000000000000000000000000000000000000000..4904b745be03d7d22ee0ffb5d4fa489398042a9c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0720.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0720 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .sideBarPosition(SideBarPosition.Start) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0730.ets new file mode 100755 index 0000000000000000000000000000000000000000..ac4d22b038dc29176a90c9ee38786acfe0f65d4a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0730.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0730 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .sideBarPosition(SideBarPosition.End) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0740.ets new file mode 100755 index 0000000000000000000000000000000000000000..558a1970037cd82e535f4ea429dfbd41272399b5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0740.ets @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0740 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0980.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0980.ets new file mode 100755 index 0000000000000000000000000000000000000000..66c95ee15c1dfb3dadce1c74579802603fba7a6d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0980.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0980 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:0}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0990.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0990.ets new file mode 100755 index 0000000000000000000000000000000000000000..678369c2195ce8531ca071aa30d93a504ca320bf --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0990.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface0990 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:-10}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1000.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1000.ets new file mode 100755 index 0000000000000000000000000000000000000000..0e173075104548e3ae2ef2b3fd5e6c07e15e1d84 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1000.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1000 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:10}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1010.ets new file mode 100755 index 0000000000000000000000000000000000000000..22d06778ebc4c0a04b0c2a6e9b18a25577d6b766 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1010.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1010 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:'0'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1020.ets new file mode 100755 index 0000000000000000000000000000000000000000..eca52cabb05347142772a829b93983ee78ed82cc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1020.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1020 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:'-10'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1030.ets new file mode 100755 index 0000000000000000000000000000000000000000..c8338e6fa4405b6e91d484385af02936750f83f4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1030.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1030 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:'10'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1040.ets new file mode 100755 index 0000000000000000000000000000000000000000..de6b10f08dd7654f0c5dbaf70134b19eedd6a388 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1040.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1040 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:'10vp'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1050.ets new file mode 100755 index 0000000000000000000000000000000000000000..efb4aa3d5bfb095c9d8c0ec2f7df9a42dd96b9fa --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1050.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1050 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:'10fp'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1060.ets new file mode 100755 index 0000000000000000000000000000000000000000..d6a2b8a681844a1e60a50655362fe5d4b27e99d5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1060.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1060 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:'10lpx'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1070.ets new file mode 100755 index 0000000000000000000000000000000000000000..93482f8ee6282b34ed091ce2ab286599c030aaad --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1070.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1070 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:'10px'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1080.ets new file mode 100755 index 0000000000000000000000000000000000000000..c18f51ea64962357810570bd758e3b4d8d5848ec --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1080.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1080 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:'asdasd'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1090.ets new file mode 100755 index 0000000000000000000000000000000000000000..68974cc2fa8afc797f5eac9544d053a5f60d59c8 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1090.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1090 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:'10dd'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1100.ets new file mode 100755 index 0000000000000000000000000000000000000000..4cf9b5f203865940a5a4a70c13e2402c01a826ab --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1100.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1100 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:getContext().resourceManager.getStringSync($r('app.string.scrollby_10'))}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1110.ets new file mode 100755 index 0000000000000000000000000000000000000000..09181309a96f6bddded5837b4bb195f1c6c3dcd0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1110.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1110 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:getContext().resourceManager.getNumber($r('app.integer.size'))}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1120.ets new file mode 100755 index 0000000000000000000000000000000000000000..743a1782b0f6991d2147498ab260a68e08d7b88a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1120.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1120 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:getContext().resourceManager.getNumber($r('app.float.10'))}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1130.ets new file mode 100755 index 0000000000000000000000000000000000000000..44b6b3aa0fae5f1f81858ebfc58c398c5749f48d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1130.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1130 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:null}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1140.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1140.ets new file mode 100755 index 0000000000000000000000000000000000000000..d6b1ad1755cb58f493404a0213b398869d704d2b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1140.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1140 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,startMargin:undefined}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1150.ets new file mode 100755 index 0000000000000000000000000000000000000000..516bdd0fd4cec996b99dce6d9d3190348a25fb92 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1150.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1150 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:0}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1160.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1160.ets new file mode 100755 index 0000000000000000000000000000000000000000..4460045dfaf27ffa79bc0979d929abc496ea0dd6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1160.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1160 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:-10}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1170.ets new file mode 100755 index 0000000000000000000000000000000000000000..79d1210609a4f5b284e4bbecda9df41d38af297d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1170.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1170 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:10}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1180.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1180.ets new file mode 100755 index 0000000000000000000000000000000000000000..bbb190152660035a783d2900c3d40cbbe0226ee2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1180.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1180 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:'0'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1190.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1190.ets new file mode 100755 index 0000000000000000000000000000000000000000..1b66d33296421a6b1e6a5306d7b0f34ec0934fb2 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1190.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1190 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:'-10'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1200.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1200.ets new file mode 100755 index 0000000000000000000000000000000000000000..0617e99196377d393b89e69e8ab52eb86440dce0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1200.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1200 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:'10'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1210.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1210.ets new file mode 100755 index 0000000000000000000000000000000000000000..d73e9af04690182333e8bf7543049508b295963a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1210.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1210 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:'10vp'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1220.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1220.ets new file mode 100755 index 0000000000000000000000000000000000000000..43e459a5936ec4a9bae5facee1f2b1ffcdab4a26 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1220.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1220 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:'10fp'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1230.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1230.ets new file mode 100755 index 0000000000000000000000000000000000000000..548a09a55c2afc71ae60a50e667c10ff170eac48 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1230.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1230 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:'10lpx'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1240.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1240.ets new file mode 100755 index 0000000000000000000000000000000000000000..1be3beef98483d5857a0a7570898bea9d705aeb9 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1240.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1240 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:'10px'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1250.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1250.ets new file mode 100755 index 0000000000000000000000000000000000000000..ebe06dc7f06d728d79ae0fdc8ee5a7260c2c35a0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1250.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1250 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:'asdasd'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1260.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1260.ets new file mode 100755 index 0000000000000000000000000000000000000000..93634e5b2618e3252a0c812aa5b421c3682858e3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1260.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1260 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:'10dd'}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1270.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1270.ets new file mode 100755 index 0000000000000000000000000000000000000000..7a807c3d03cc6c9f879c67718adf6f29b25f361f --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1270.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1270 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:getContext().resourceManager.getStringSync($r('app.string.scrollby_10'))}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1280.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1280.ets new file mode 100755 index 0000000000000000000000000000000000000000..807ca243e43313c7b144773ceaf025b64b0dd1c5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1280.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1280 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:getContext().resourceManager.getNumber($r('app.integer.size'))}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1290.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1290.ets new file mode 100755 index 0000000000000000000000000000000000000000..514b44a8290a36129ef683ddbaa08847859960de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1290.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1290 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:getContext().resourceManager.getNumber($r('app.float.10'))}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1300.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1300.ets new file mode 100755 index 0000000000000000000000000000000000000000..b5defca785ad749cc95ae70c5ca793fd70d0b3f0 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1300.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1300 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:null}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1310.ets new file mode 100755 index 0000000000000000000000000000000000000000..92120f38cce24e7aad443c1d0ca7b91d084e0f5e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1310.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1310 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .divider({strokeWidth:1,color:Color.Red,endMargin:undefined}) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1320.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1320.ets new file mode 100755 index 0000000000000000000000000000000000000000..44cd16a7384d39314ad06cc807c70c200940715e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1320.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1320 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(400) + .showSideBar(true) + .minContentWidth('0vp') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1330.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1330.ets new file mode 100755 index 0000000000000000000000000000000000000000..c1df347be7569ae8baaaaa5969dc5b2d18e5f946 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1330.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1330 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(400) + .showSideBar(true) + .minContentWidth('100vp') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1340.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1340.ets new file mode 100755 index 0000000000000000000000000000000000000000..016815dd8928d87f220d22c71ccb0e6359782f90 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1340.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1340 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(380) + .showSideBar(true) + .minContentWidth('100px') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1350.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1350.ets new file mode 100755 index 0000000000000000000000000000000000000000..1516162cf3d18c7f17e6cb44fe25ee045045f0bd --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1350.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1350 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(400) + .showSideBar(true) + .minContentWidth('100fp') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1360.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1360.ets new file mode 100755 index 0000000000000000000000000000000000000000..953175a915f26a40eaba434ef6d075cea540fcbc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1360.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1360 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(380) + .showSideBar(true) + .minContentWidth('100lpx') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1370.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1370.ets new file mode 100755 index 0000000000000000000000000000000000000000..875606836d801ba669e57b2096850a191f8d12f5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1370.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1370 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(400) + .showSideBar(true) + .minContentWidth('0%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1380.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1380.ets new file mode 100755 index 0000000000000000000000000000000000000000..7c07d14f7e9ab6d7fa1b9ddd2644dc9c2999dac6 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1380.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1380 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(400) + .showSideBar(true) + .minContentWidth('20%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1390.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1390.ets new file mode 100755 index 0000000000000000000000000000000000000000..090948d807a5bde08fd5b518eac95264c8759d62 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1390.ets @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1390 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .sideBarWidth(400) + .showSideBar(true) + .minContentWidth('120%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1400.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1400.ets new file mode 100755 index 0000000000000000000000000000000000000000..9af75a6e45289febe30c36ff5794df82af9d19de --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1400.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1400 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + } + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .minContentWidth('-120%') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1410.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1410.ets new file mode 100755 index 0000000000000000000000000000000000000000..65c9bc737fd444b2034788811333b8f8cc042601 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1410.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1410 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + } + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .minContentWidth($r('app.string.min_content')) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1500.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1500.ets new file mode 100755 index 0000000000000000000000000000000000000000..91f4897e76cb8be10635c254ee2558becc992e45 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1500.ets @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1500 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = -10; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + } + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + Button('changeWidth') + .id('changeWidth') + .width(100) + .height(60) + .onClick(()=>{ + this.widthSide = -20; + }) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .sideBarWidth(this.widthSide) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1510.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1510.ets new file mode 100755 index 0000000000000000000000000000000000000000..85b7411d2772814260fe309631c8713ab5d8f287 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1510.ets @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1510 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = -10; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + } + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + Button('changeWidth') + .id('changeWidth') + .width(100) + .height(60) + .onClick(()=>{ + this.widthSide = -20; + }) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .controlButton({ + icons: { + hidden: $r('app.media.cat'), + shown: $r('app.media.cat'), + switching: $r('app.media.cat') + } + }) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1520.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1520.ets new file mode 100755 index 0000000000000000000000000000000000000000..3d70d9ba679ca21c7c2a9bacc48dd50e9c3ce819 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1520.ets @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerInterface1520 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = -10; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + } + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + Button('changeWidth') + .id('changeWidth') + .width(100) + .height(60) + .onClick(()=>{ + this.widthSide = -20; + }) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .minSideBarWidth(300) + .maxSideBarWidth(300) + .showSideBar(true) + .divider({ strokeWidth: 5, color: Color.Gray}) + .id('SideBarContainerMax') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0010.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0010.ets new file mode 100755 index 0000000000000000000000000000000000000000..47bd3eccbcc45ce95d391b531c4c514647d077c4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0010.ets @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0010 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer(SideBarContainerType.Embed) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .minContentWidth(400) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .id('SideBarContainer10') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0020.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0020.ets new file mode 100755 index 0000000000000000000000000000000000000000..b48e5d76fb5bab6310ab247c80aa0af2397685d7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0020.ets @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0020 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer(SideBarContainerType.Overlay) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .minContentWidth(400) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0030.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0030.ets new file mode 100755 index 0000000000000000000000000000000000000000..d2e86bfd5ff92f1b28f5a91f0f4b6502f60bce4d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0030.ets @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0030 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer(SideBarContainerType.Overlay) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .minContentWidth(100) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0040.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0040.ets new file mode 100755 index 0000000000000000000000000000000000000000..6c3a3e279ca6ad974803c22a5409eeafc8b96178 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0040.ets @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0040 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .minContentWidth(400) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0050.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0050.ets new file mode 100755 index 0000000000000000000000000000000000000000..b9d5acf0118f168b6b385c5968fa572668bf6ed7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0050.ets @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0050 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .minContentWidth(100) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0060.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0060.ets new file mode 100755 index 0000000000000000000000000000000000000000..56b877b39b31e854370c26711d039e7b47be1aea --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0060.ets @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0060 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = 400; + + build() { + SideBarContainer(SideBarContainerType.Overlay) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(25) + Button('addWidth') + .id('addWidth') + .width(100) + .height(40) + .onClick(()=>{ + this.widthSide = 1000; + }) + } + .margin({ top: 50, left: 200, right: 30 }) + } + .showSideBar(true) + .minContentWidth(400) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .width(this.widthSide) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0070.ets new file mode 100755 index 0000000000000000000000000000000000000000..6c9b37bd836dc3c1498361a1c3686346900bcc43 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0070.ets @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0070 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = 300; + + build() { + SideBarContainer(SideBarContainerType.Overlay) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(25) + Button('addWidth') + .id('addWidth') + .width(100) + .height(40) + .onClick(()=>{ + this.widthSide = 600; + }) + } + .margin({ top: 50, left: 200, right: 30 }) + } + .showSideBar(true) + .minContentWidth(100) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .width(this.widthSide) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0080.ets new file mode 100755 index 0000000000000000000000000000000000000000..1ba9a3e964919110f97c70c873125646c6837a39 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0080.ets @@ -0,0 +1,62 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0080 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = 400; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(25) + Button('addWidth') + .id('addWidth') + .width(100) + .height(40) + .onClick(()=>{ + this.widthSide = 1000; + }) + } + .margin({ top: 50, left: 200, right: 30 }) + } + .showSideBar(true) + .minContentWidth(400) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .width(this.widthSide) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0090.ets new file mode 100755 index 0000000000000000000000000000000000000000..872f2117d837dec75e69bdb2327c345ec53d6373 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0090.ets @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0090 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = 200; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(25) + } + .margin({ top: 50, left: 120}) + } + .showSideBar(true) + .minContentWidth(100) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .width(this.widthSide) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0100.ets new file mode 100755 index 0000000000000000000000000000000000000000..9a100252bfd22bd7ca28171f298cbe751db4c652 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0100.ets @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0100 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = 200; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(25) + } + .margin({ top: 50, left: 120}) + } + .showSideBar(true) + .minContentWidth(400) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .autoHide(true) + .width(this.widthSide) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0110.ets new file mode 100755 index 0000000000000000000000000000000000000000..148e3e20a28e927ce6d6df267d159a5550e65dc7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0110.ets @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0110 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = 200; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(25) + } + .margin({ top: 50, left: 120}) + } + .showSideBar(true) + .minContentWidth(100) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .autoHide(true) + .width(this.widthSide) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0120.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0120.ets new file mode 100755 index 0000000000000000000000000000000000000000..c2ca06da6fce46f2cf886fcea1f91f85ddc39fe3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0120.ets @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0120 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = 700; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(25) + } + .margin({ top: 50, left: 120}) + } + .showSideBar(true) + .minContentWidth(100) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .autoHide(true) + .width(this.widthSide) + .divider({strokeWidth:50,color:Color.Blue}) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0130.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0130.ets new file mode 100755 index 0000000000000000000000000000000000000000..29d2f3a83fa5c437c47892c303181b12367ddc07 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0130.ets @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0130 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State widthSide : number = 600; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(25) + } + .margin({ top: 50, left: 120}) + } + .showSideBar(true) + .minContentWidth(100) + .minSideBarWidth(200) + .maxSideBarWidth(300) + .autoHide(true) + .width(this.widthSide) + .divider({strokeWidth:50,color:Color.Blue}) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0150.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0150.ets new file mode 100755 index 0000000000000000000000000000000000000000..f83947f9ff2413016d5dee68bdb8244fcd816900 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0150.ets @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0150 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State showBtnCon : boolean = true; + + build() { + SideBarContainer(SideBarContainerType.AUTO) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Button('show') + .id('show') + .width(100) + .height(40) + .onClick(()=>{ + this.showBtnCon = !this.showBtnCon; + }) + Text('content').fontSize(25) + } + .margin({ top: 50, left: 120}) + } + .controlButton({ + icons: { + hidden: ('cat.jpg'), + shown: ('cat.jpg'), + switching: ('cat.jpg') + } + }) + .showControlButton(this.showBtnCon) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0170.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0170.ets new file mode 100755 index 0000000000000000000000000000000000000000..abc557909bd0b5904e943592aa000f97a647fa01 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0170.ets @@ -0,0 +1,67 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerLayout0170 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + @State showBtnCon : boolean = false; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Button('show') + .id('show') + .width(100) + .height(40) + .onClick(()=>{ + this.showBtnCon = !this.showBtnCon; + }) + Image('cat.jpg') + .width('200px') + .height('200px') + } + .margin({ top: 50, left: 120}) + } + .controlButton({ + icons: { + hidden: ('cat.jpg'), + shown: ('openeye.png'), + switching: ('cat.jpg') + } + }) + .showControlButton(this.showBtnCon) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0070.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0070.ets new file mode 100755 index 0000000000000000000000000000000000000000..ac1137d0dd4b48cc65cc012638e9b3f5de86852a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0070.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerUxconsistency0070 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0080.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0080.ets new file mode 100755 index 0000000000000000000000000000000000000000..2eb5e2c65a52c848609bb5b682b298d05d36148c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0080.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerUxconsistency0080 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0090.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0090.ets new file mode 100755 index 0000000000000000000000000000000000000000..9fbec6486019d1a7228d9991ab1023851f5d905a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0090.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerUxconsistency0090 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0100.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0100.ets new file mode 100755 index 0000000000000000000000000000000000000000..3a7f98e7605ca87a9fb977d244eec6ac141e84f1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0100.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerUxconsistency0100 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0110.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0110.ets new file mode 100755 index 0000000000000000000000000000000000000000..29f4caff4c8e215ec2a7b61609597637852515ed --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0110.ets @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowColumnSidebarContainerUxconsistency0110 { + normalIcon: Resource = $r('app.media.icon'); + selectedIcon: Resource = $r('app.media.icon'); + @State arr: number[] = [1, 2, 3]; + @State current: number = 1; + + build() { + SideBarContainer() { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : Color.Gray) + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item; + }) + }, (item: string) => item); + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('content').fontSize(25) + } + .margin({ top: 50, left: 20, right: 30 }) + } + .showSideBar(true) + .id('SideBarContainer') + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability.ets new file mode 100755 index 0000000000000000000000000000000000000000..475956eef9713428f842154567da7bd42cfd3400 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability.ets @@ -0,0 +1,173 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowcolumnSidebarContainerCapability { + normalIcon: Resource = $r("app.media.icon") + selectedIcon: Resource = $r("app.media.icon") + @State arr: number[] = [1, 2, 3] + @State current: number = 1 + @State sideType: SideBarContainerType | undefined = undefined; + @State minContentWidth: number | Resource| undefined = 400; + @State minSideBarWidth: number | undefined = 200; + @State maxSideBarWidth: number | undefined = 300; + @State sideBarWidth: number | undefined = 200; + @State sideBarPosition: SideBarPosition | undefined = undefined; + @State _width: number = 600 + @State autoHide:boolean = true + + build() { + Column({ space: 5 }) { + SideBarContainer(this.sideType) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : '#999') + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item + }) + }, (item: string) => item) + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(18) + Text('SideBarContainer content text2').fontSize(18) + } + .margin({ top: 20, left: 200, right: 30 }) + } + .controlButton({ + icons: { + hidden: 'drawer.png', + shown: 'drawer.png', + switching: 'drawer.png' + } + }) + .id('SideBarContainerNav') + .width(this._width) + .height('45%') + .sideBarWidth(this.sideBarWidth) + .autoHide(this.autoHide) + .borderWidth(2) + .backgroundColor('#19000000') + .borderColor(Color.Blue) + .sideBarPosition(this.sideBarPosition) + .minSideBarWidth(this.minSideBarWidth) + .maxSideBarWidth(this.maxSideBarWidth) + .minContentWidth(this.minContentWidth) + .onChange((value: boolean) => { + console.info('status:' + value) + }) + .divider({ + strokeWidth: '3vp', + color: Color.Gray + }) + + Row({ space: 2 }) { + Button('Embed').onClick(() => { + this.sideType = SideBarContainerType.Embed; + }) + Button('Overlay').onClick(() => { + this.sideType = SideBarContainerType.Overlay; + }) + Button('AUTO').onClick(() => { + this.sideType = SideBarContainerType.AUTO; + }) + Button('End').onClick(() => { + this.sideBarPosition = SideBarPosition.End + }) + Button('hide').onClick(() => { + this.autoHide = false + }) + } + Row({ space: 2 }) { + Button('_width--').onClick(() => { + this._width -= 200 + }) + Button('_width300').onClick(() => { + this._width = 300 + }) + } + Row({ space: 2 }) { + Button('_width360').onClick(() => { + this._width = 360 + }) + Button('_width450').onClick(() => { + this._width = 450 + }) + Button('_width640').onClick(() => { + this._width = 640 + }) + } + Row({ space: 2 }) { + Button('_width660').onClick(() => { + this._width -= 660 + }) + Button('sideBarWidth250').onClick(() => { + this.sideBarWidth = 250 + }) + Button('sideBarWidth450').onClick(() => { + this.sideBarWidth = 450 + }) + } + Row({ space: 2 }) { + Button('minContentWidth100').onClick(() => { + this.minContentWidth = 100 + }) + Button('minContentWidth300').onClick(() => { + this.minContentWidth = 300 + }) + } + Row({ space: 2 }) { + Button('minContentWidth undefined').onClick(() => { + this.minContentWidth = undefined + }) + Button('minContentWidth500').onClick(() => { + this.minContentWidth = 500 + }) + } + Row({ space: 2 }) { + Button('minContentWidth400').onClick(() => { + this.minContentWidth = 400 + }) + Button('minContentWidth500_1').onClick(() => { + this.minContentWidth = $r('app.string.min_content') + }) + } + Row({ space: 2 }) { + Button('minSideBarWidth400').onClick(() => { + this.minSideBarWidth = 400 + }) + Button('minSideBarWidth200').onClick(() => { + this.minSideBarWidth = 200 + }) + } + Row({ space: 2 }) { + Button('minSideBarWidth undefined').onClick(() => { + this.minSideBarWidth = undefined + }) + Button('minSideBarWidth300').onClick(() => { + this.minSideBarWidth = 300 + }) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability0310.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability0310.ets new file mode 100755 index 0000000000000000000000000000000000000000..6af6861c4a181824ac5178b238a255c8889408ac --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability0310.ets @@ -0,0 +1,82 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowcolumnSidebarContainerCapability0310 { + normalIcon: Resource = $r("app.media.icon") + selectedIcon: Resource = $r("app.media.icon") + @State arr: number[] = [1, 2, 3] + @State current: number = 1 + @State sideType: SideBarContainerType | undefined = undefined; + @State minContentWidth: number | Resource| undefined = 400; + @State minSideBarWidth: number | undefined = 200; + @State maxSideBarWidth: number | undefined = 400; + @State sideBarWidth: number | undefined = 300; + @State sideBarPosition: SideBarPosition | undefined = undefined; + @State _width: number = 700 + + build() { + Column({ space: 5 }) { + SideBarContainer(this.sideType) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : '#999') + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item + }) + }, (item: string) => item) + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(18) + Text('SideBarContainer content text2').fontSize(18) + } + .margin({ top: 20, left: 200, right: 30 }) + } + .controlButton({ + icons: { + hidden: 'drawer.png', + shown:'drawer.png', + switching: 'drawer.png' + } + }) + .id('SideBarContainerNav') + .width(this._width) + .height('80%') + .sideBarWidth(this.sideBarWidth) + .autoHide(true) + .backgroundColor('#19000000') + .sideBarPosition(this.sideBarPosition) + .minSideBarWidth(this.minSideBarWidth) + .maxSideBarWidth(this.maxSideBarWidth) + .minContentWidth(this.minContentWidth) + .onChange((value: boolean) => { + console.info('status:' + value) + }) + .divider({ + strokeWidth: '3vp', + color: Color.Gray + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability0540.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability0540.ets new file mode 100755 index 0000000000000000000000000000000000000000..314ca3029690dbff5ae8155db352ea4b2dd182c7 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability0540.ets @@ -0,0 +1,83 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentRowcolumnSidebarContainerCapability0540 { + normalIcon: Resource = $r("app.media.icon") + selectedIcon: Resource = $r("app.media.icon") + @State arr: number[] = [1, 2, 3] + @State current: number = 1 + @State sideType: SideBarContainerType | undefined = SideBarContainerType.AUTO; + @State minContentWidth: number | Resource| undefined = 400; + @State minSideBarWidth: number | undefined = 200; + @State maxSideBarWidth: number | undefined = 400; + @State sideBarWidth: number | undefined = 300; + @State sideBarPosition: SideBarPosition | undefined = undefined; + + build() { + Column({ space: 5 }) { + SideBarContainer(this.sideType) { + Column() { + ForEach(this.arr, (item: number) => { + Column({ space: 5 }) { + Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) + Text("Index0" + item) + .fontSize(25) + .fontColor(this.current === item ? '#0A59F7' : '#999') + .fontFamily('source-sans-pro,cursive,sans-serif') + } + .onClick(() => { + this.current = item + }) + }, (item: string) => item) + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + + Column() { + Text('SideBarContainer content text1').fontSize(18) + Text('SideBarContainer content text2').fontSize(18) + } + .margin({ top: 20, left: 200, right: 30 }) + } + .controlButton({ + icons: { + hidden: 'drawer.png', + shown: 'drawer.png', + switching: 'drawer.png' + } + }) + .id('SideBarContainerNav') + .width('100%') + .height('80%') + .sideBarWidth(this.sideBarWidth) + .autoHide(true) + .borderWidth(2) + .backgroundColor('#19000000') + .borderColor(Color.Blue) + .sideBarPosition(this.sideBarPosition) + .minSideBarWidth(this.minSideBarWidth) + .maxSideBarWidth(this.maxSideBarWidth) + .minContentWidth(this.minContentWidth) + .onChange((value: boolean) => { + console.info('status:' + value) + }) + .divider({ + strokeWidth: '3vp', + color: Color.Gray + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0640.ets new file mode 100755 index 0000000000000000000000000000000000000000..04165df5437124db78d83e4dc03a945bd5887825 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0640.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 UISupportColor0640 { + @State themeColor: number = ThemeColorMode.LIGHT; + + build() { + NavDestination() { + WithTheme({ colorMode: this.themeColor }) { + Column() { + Text('I Love China') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(() => { + this.themeColor = ThemeColorMode.LIGHT; + }) + } + .justifyContent(FlexAlign.Center) + .width('70%') + .height('33%') + .backgroundColor($r('sys.color.background_primary')) + } + }.width("100%").height("100%").align(Alignment.Center) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0650.ets new file mode 100755 index 0000000000000000000000000000000000000000..d04f105cb4d0ca9f2807ff368d60beeeef69adbc --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0650.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 UISupportColor0650 { + @State themeColor: number = ThemeColorMode.LIGHT; + build() { + NavDestination() { + WithTheme({ colorMode: this.themeColor }) { + Column() { + Text('I Love China') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(()=>{ + this.themeColor = ThemeColorMode.DARK; + }) + } + .justifyContent(FlexAlign.Center) + .width('70%') + .height('33%') + .backgroundColor($r('sys.color.background_primary')) + } + }.width("100%").height("100%").align(Alignment.Center) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0660.ets new file mode 100755 index 0000000000000000000000000000000000000000..3e3c91ee3c613a6de53f64069fa86d1bea409b5d --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0660.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 UISupportColor0660 { + @State themeColor: number = ThemeColorMode.DARK; + build() { + NavDestination() { + WithTheme({ colorMode: this.themeColor }) { + Column() { + Text('I Love China') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(()=>{ + this.themeColor = ThemeColorMode.LIGHT; + }) + } + .justifyContent(FlexAlign.Center) + .width('70%') + .height('33%') + .backgroundColor($r('sys.color.background_primary')) + } + }.width("100%").height("100%").align(Alignment.Center) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0670.ets new file mode 100755 index 0000000000000000000000000000000000000000..5b1ab96cf695ae84aefde251c87ae76f164f2a1b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0670.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 UISupportColor0670 { + @State themeColor: number = ThemeColorMode.DARK; + build() { + NavDestination() { + WithTheme({ colorMode: this.themeColor }) { + Column() { + Text('I Love China') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(()=>{ + this.themeColor = ThemeColorMode.DARK; + }) + } + .justifyContent(FlexAlign.Center) + .width('70%') + .height('33%') + .backgroundColor($r('sys.color.background_primary')) + } + }.width("100%").height("100%").align(Alignment.Center) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0680.ets new file mode 100755 index 0000000000000000000000000000000000000000..e1d895250b8f6ed5fe0b334bb21afa4772769099 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0680.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UISupportColor0680 { + @State themeColor: number = ThemeColorMode.LIGHT; + build() { + NavDestination() { + WithTheme({ colorMode: this.themeColor }) { + Column() { + Text('I Love China') + .fontSize(40) + } + .justifyContent(FlexAlign.Center) + .width('70%') + .height('33%') + .backgroundColor($r('sys.color.background_primary')) + } + }.width("100%").height("100%").align(Alignment.Center) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0690.ets new file mode 100755 index 0000000000000000000000000000000000000000..833daacd7daffb0c5b31d1b99348f8d0abf1f6e1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0690.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UISupportColor0690 { + @State themeColor: number = ThemeColorMode.DARK; + build() { + NavDestination() { + WithTheme({ colorMode: this.themeColor }) { + Column() { + Text('I Love China') + .fontSize(40) + } + .justifyContent(FlexAlign.Center) + .width('70%') + .height('33%') + .backgroundColor($r('sys.color.background_primary')) + } + }.width("100%").height("100%").align(Alignment.Center) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0700.ets new file mode 100755 index 0000000000000000000000000000000000000000..b34394a3d1d5c8fcb637e97d6b81f8361e50d289 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor0700.ets @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UISupportColor0700 { + @State themeColor: number = ThemeColorMode.SYSTEM; + build() { + NavDestination() { + WithTheme({ colorMode: this.themeColor }) { + Column() { + Text('I Love China') + .fontSize(40) + } + .justifyContent(FlexAlign.Center) + .width('70%') + .height('33%') + .backgroundColor($r('sys.color.background_primary')) + } + }.width("100%").height("100%").align(Alignment.Center) + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1620.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1620.ets new file mode 100755 index 0000000000000000000000000000000000000000..17c45ac2ac281f4a154720810c8f28a803651b1c --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1620.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 UISupportColor1620 { + @State themeColor: number = ThemeColorMode.LIGHT; + + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(() => { + this.themeColor = ThemeColorMode.LIGHT; + }) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1630.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1630.ets new file mode 100755 index 0000000000000000000000000000000000000000..c420969f930a1f9a6545e918d9a225007fdd777e --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1630.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 UISupportColor1630 { + @State themeColor: number = ThemeColorMode.LIGHT; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(()=>{ + this.themeColor = ThemeColorMode.DARK; + }) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1640.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1640.ets new file mode 100755 index 0000000000000000000000000000000000000000..d960f9a2bf6b4f1f971d8d3e33c6a3ff63af8a2a --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1640.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 UISupportColor1640 { + @State themeColor: number = ThemeColorMode.DARK; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(()=>{ + this.themeColor = ThemeColorMode.LIGHT; + }) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1650.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1650.ets new file mode 100755 index 0000000000000000000000000000000000000000..a0318b33f649428cfe616605def184a709efebe5 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1650.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 UISupportColor1650 { + @State themeColor: number = ThemeColorMode.DARK; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(()=>{ + this.themeColor = ThemeColorMode.DARK; + }) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1660.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1660.ets new file mode 100755 index 0000000000000000000000000000000000000000..5b74aa985c9d145033b154b8eb02a538b0df3ce4 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1660.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UISupportColor1660 { + @State themeColor: number = ThemeColorMode.LIGHT; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1670.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1670.ets new file mode 100755 index 0000000000000000000000000000000000000000..94a508c1297efa1feb8c2ca43e6ef3a73d023cda --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1670.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UISupportColor1670 { + @State themeColor: number = ThemeColorMode.DARK; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1680.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1680.ets new file mode 100755 index 0000000000000000000000000000000000000000..0d94bb2f3d071a0cd29b6019a842eb00ff7ab230 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1680.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UISupportColor1680 { + @State themeColor: number = ThemeColorMode.SYSTEM; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1690.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1690.ets new file mode 100755 index 0000000000000000000000000000000000000000..adddad3796e5ec7d9848706914382808b80c3150 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1690.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 UISupportColor1690 { + @State themeColor: number = ThemeColorMode.LIGHT; + + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(() => { + this.themeColor = ThemeColorMode.LIGHT; + }) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1700.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1700.ets new file mode 100755 index 0000000000000000000000000000000000000000..2bee4285bd28ac33c77d9045a0bc81fdb9f4877b --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1700.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 UISupportColor1700 { + @State themeColor: number = ThemeColorMode.LIGHT; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(()=>{ + this.themeColor = ThemeColorMode.DARK; + }) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1710.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1710.ets new file mode 100755 index 0000000000000000000000000000000000000000..62adb048b35363e529df285028bf1bfec05956c3 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1710.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 UISupportColor1710 { + @State themeColor: number = ThemeColorMode.DARK; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(()=>{ + this.themeColor = ThemeColorMode.LIGHT; + }) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1720.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1720.ets new file mode 100755 index 0000000000000000000000000000000000000000..456d4555aaf9527e1971c99bf0feb1e56ec233d1 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1720.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 UISupportColor1720 { + @State themeColor: number = ThemeColorMode.DARK; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + .onClick(()=>{ + this.themeColor = ThemeColorMode.DARK; + }) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1730.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1730.ets new file mode 100755 index 0000000000000000000000000000000000000000..948db6263ead02c35e8041c8adfffff55046f880 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1730.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UISupportColor1730 { + @State themeColor: number = ThemeColorMode.LIGHT; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1740.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1740.ets new file mode 100755 index 0000000000000000000000000000000000000000..40b666ac481f6f01001068b0e7d1e4aafcf8b478 --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1740.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UISupportColor1740 { + @State themeColor: number = ThemeColorMode.DARK; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1750.ets b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1750.ets new file mode 100755 index 0000000000000000000000000000000000000000..507111eb3890142402af99a6d11d9facce4c56ba --- /dev/null +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentUISupportColor/UISupportColor1750.ets @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the 'License') + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an 'AS IS' BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UISupportColor1750 { + @State themeColor: number = ThemeColorMode.SYSTEM; + build() { + WithTheme({ colorMode: this.themeColor }) { + Stepper() { + StepperItem() { + Column() { + Text('Page One') + .fontSize(40) + Button('changeTheme') + .id('changeTheme') + .width(100) + .height(60) + } + } + }.width("100%").height("100%").align(Alignment.Center) + } + } +} diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 b/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 index e58bd507f3ecff51931c351ebcabf6603cd5c40c..ab16cf2204de6baae6fee78519107ab34771f4b2 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/module.json5 @@ -12,6 +12,18 @@ "installationFree": false, "pages": "$profile:test_pages", "requestPermissions": [ + { + "name": "ohos.permission.SYSTEM_FLOAT_WINDOW", + "usedScene": { + "abilities": [ + "EntryAbility" + ], + "when": "inuse" + } + }, + { + "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS" + }, { "name": "ohos.permission.WRITE_MEDIA" }, @@ -26,6 +38,12 @@ }, { "name":"ohos.permission.INTERNET" + }, + { + "name": "ohos.permission.CAPTURE_SCREEN" + }, + { + "name": "ohos.permission.ACCESS_SCREEN_LOCK_INNER" } ], "abilities": [ diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/float.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/float.json index 4038f619b6a75b6e28b75700455d382845eeaec6..959610f8491c9856c3c8addd86a30b3bbc923dbf 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/float.json +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/float.json @@ -11,6 +11,14 @@ { "name": "bbb", "value": "5" + }, + { + "name": "side_width", + "value": "100" + }, + { + "name": "10", + "value": "10" } ] } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/integer.json b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/integer.json index 97e43d83bf94a0d1a5df72c19fc3df8acdf5e3ae..2e1b6958034b65096bb0b5f05bd85a7b3dd9972f 100644 --- a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/integer.json +++ b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/element/integer.json @@ -41,6 +41,10 @@ { "name": "integer333", "value": 333 + }, + { + "name": "size", + "value": 0 } ] } \ 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 ce65c09bf1f31a1214be8ab75ed207896afea2d3..7ef6ad5714fb19ef5b5289766007d1e30b305b58 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 @@ -12,6 +12,10 @@ "name": "TestAbility_label", "value": "test label" }, + { + "name": "side_width", + "value": "100" + }, { "name": "Font_size", "value": "5vp" @@ -243,6 +247,26 @@ { "name": "20string", "value": "20" + }, + { + "name": "scrollby_negative_10", + "value": "-10" + }, + { + "name": "scrollby_negative_9", + "value": "-9" + }, + { + "name": "scrollby_10", + "value": "10" + }, + { + "name": "scrollby_abc", + "value": "abc" + }, + { + "name": "min_content", + "value": "500" } ] } \ No newline at end of file diff --git a/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/test.mp4 b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/test.mp4 new file mode 100755 index 0000000000000000000000000000000000000000..a72dbb676816d3035155db72e8cb7b25aa058051 Binary files /dev/null and b/function/ui_compare_rh/uicompare/entry/src/ohosTest/resources/base/media/test.mp4 differ 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 5cc05ce92cff61b76d701a3fe495c11c73638078..fe3725d2c1e5d906510aa2aa663284b1175c6a80 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 @@ -1256,6 +1256,27 @@ "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor103", "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor104", "testability/pages/UIComponentUISupportColor/UIComponentUISupportColor105", + "testability/pages/UIComponentUiSupportColor/UISupportColor0640", + "testability/pages/UIComponentUiSupportColor/UISupportColor0650", + "testability/pages/UIComponentUiSupportColor/UISupportColor0660", + "testability/pages/UIComponentUiSupportColor/UISupportColor0670", + "testability/pages/UIComponentUiSupportColor/UISupportColor0680", + "testability/pages/UIComponentUiSupportColor/UISupportColor0690", + "testability/pages/UIComponentUiSupportColor/UISupportColor0700", + "testability/pages/UIComponentUiSupportColor/UISupportColor1620", + "testability/pages/UIComponentUiSupportColor/UISupportColor1630", + "testability/pages/UIComponentUiSupportColor/UISupportColor1640", + "testability/pages/UIComponentUiSupportColor/UISupportColor1650", + "testability/pages/UIComponentUiSupportColor/UISupportColor1660", + "testability/pages/UIComponentUiSupportColor/UISupportColor1670", + "testability/pages/UIComponentUiSupportColor/UISupportColor1680", + "testability/pages/UIComponentUiSupportColor/UISupportColor1690", + "testability/pages/UIComponentUiSupportColor/UISupportColor1700", + "testability/pages/UIComponentUiSupportColor/UISupportColor1710", + "testability/pages/UIComponentUiSupportColor/UISupportColor1720", + "testability/pages/UIComponentUiSupportColor/UISupportColor1730", + "testability/pages/UIComponentUiSupportColor/UISupportColor1740", + "testability/pages/UIComponentUiSupportColor/UISupportColor1750", "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle051", "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle052", "testability/pages/UIComponentButtonStyle/UIComponentButtonStyle053", @@ -1801,6 +1822,155 @@ "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface007", "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface008", "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface009", - "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010" + "testability/pages/UIComponentPopupBoxFullDialogInterface/UIComponentPopupBoxFullDialogInterface0010", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0010", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0020", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0030", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0040", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0050", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0060", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0070", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0080", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0090", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0100", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0110", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0120", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0130", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0140", + + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0250", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0270", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0280", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0290", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0310", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0320", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0330", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0340", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0350", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0360", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0370", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0380", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0390", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0400", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0410", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0420", + + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0430", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0440", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0450", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0460", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0470", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0480", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0490", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0500", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0510", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0520", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0530", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0540", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0550", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0560", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0570", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0580", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0590", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0600", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0610", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0620", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0630", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0640", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0650", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0660", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0670", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0680", + + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0300", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0690", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0700", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0710", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0720", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0730", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0740", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0980", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface0990", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1000", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1010", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1020", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1030", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1040", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1050", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1060", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1070", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1080", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1090", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1100", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1110", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1120", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1130", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1140", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1150", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1160", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1170", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1180", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1190", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1200", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1210", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1220", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1230", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1240", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1250", + + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1260", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1270", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1280", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1290", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1300", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1310", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1320", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1330", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1340", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1350", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1360", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1370", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1380", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1390", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1400", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1410", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1500", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1510", + "testability/pages/UIComponentRowColumnSidebarContainerInterface/UIComponentRowColumnSidebarContainerInterface1520", + + "testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0012", + "testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0013", + "testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0014", + "testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0015", + "testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0016", + "testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0018", + "testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0019", + "testability/pages/UIComponentNavNavigationCursorstyle/UIComponentNavNavigationCursorstyle0023", + "testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0070", + "testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0080", + "testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0090", + "testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0100", + "testability/pages/UIComponentRowColumnSidebarContainerUxconsistency/UIComponentRowColumnSidebarContainerUxconsistency0110", + "testability/pages/UIComponentNavNavDestination/UIComponentNavNavDestination0010", + "testability/pages/UIComponentNavNavDestination/UIComponentNavNavDestination0020", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0010", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0020", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0030", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0040", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0050", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0060", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0070", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0080", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0090", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0100", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0110", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0120", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0130", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0150", + "testability/pages/UIComponentRowColumnSidebarContainerLayout/UIComponentRowColumnSidebarContainerLayout0170", + "testability/pages/UIComponentNavNavDestinationSymbol/UIComponentNavNavDestinationSymbol", + "testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability", + "testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability0310", + "testability/pages/UIComponentRowcolumnSidebarContainerCapability/UIComponentRowcolumnSidebarContainerCapability0540" ] }