From e1ea032b4b080d1f7e1982836eb542272c955965 Mon Sep 17 00:00:00 2001 From: wuqina <3220241511@bit.edu.cn> Date: Wed, 31 Jul 2024 10:15:37 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E5=AD=97=E4=BD=93=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E6=A0=B7=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuqina <3220241511@bit.edu.cn> --- .../UIAttributeFontInterfaceColor.test.ets | 100 ++++++++++++++++++ ...IAttributeFontInterfaceFontFamily.test.ets | 100 ++++++++++++++++++ .../UIAttributeFontInterfaceSize.test.ets | 16 +++ .../UIAttributeFontInterface002.ets | 35 ++++++ .../UIAttributeFontInterface003.ets | 35 ++++++ .../UIAttributeFontInterface004.ets | 35 ++++++ .../UIAttributeFontInterface005.ets | 37 +++++++ .../UIAttributeFontInterface006.ets | 37 +++++++ .../UIAttributeFontInterface007.ets | 29 +++++ .../UIAttributeFontInterface008.ets | 29 +++++ .../UIAttributeFontInterface011.ets | 32 ++++++ 11 files changed, 485 insertions(+) create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceColor.test.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceFontFamily.test.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface002.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface003.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface004.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface005.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface006.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface007.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface008.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface011.ets diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceColor.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceColor.test.ets new file mode 100644 index 000000000..82da961a1 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceColor.test.ets @@ -0,0 +1,100 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +export default function UIAttributeFontInterfaceColor() { + + describe('UIAttributeFontInterfaceColor', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`) + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0010 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0010 + * @tc.desc set font color to blue + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0010 start.`); + Settings.createWindow("testability/pages/UIAttributeFontInterface/UIAttributeFontInterface001") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0010 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0020 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0020 + * @tc.desc set font color to yellow + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0020 start.`); + Settings.createWindow("testability/pages/UIAttributeFontInterface/UIAttributeFontInterface002") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0020 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0030 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0030 + * @tc.desc set font color to pink by resource + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0030 start.`); + Settings.createWindow("testability/pages/UIAttributeFontInterface/UIAttributeFontInterface003") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0030 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0040 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0040 + * @tc.desc set font color to pink + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0040 start.`); + Settings.createWindow("testability/pages/UIAttributeFontInterface/UIAttributeFontInterface004") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0040 finish.`); + done() + }) + }) +} diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceFontFamily.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceFontFamily.test.ets new file mode 100644 index 000000000..97c1bf341 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceFontFamily.test.ets @@ -0,0 +1,100 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +export default function UIAttributeFontInterfaceFontFamily() { + + describe('UIAttributeFontInterfaceFontFamily', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`) + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0050 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0050 + * @tc.desc set fontFamily by $r('belonging.type.name') + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0050 start.`); + Settings.createWindow("testability/pages/UIAttributeFontInterface/UIAttributeFontInterface005") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0050 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0060 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0060 + * @tc.desc set fontFamily to other fontFamily + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0060 start.`); + Settings.createWindow("testability/pages/UIAttributeFontInterface/UIAttributeFontInterface006") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0060 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0070 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0070 + * @tc.desc set fontFamily to 'HarmonyOS Sans' + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0070 start.`); + Settings.createWindow("testability/pages/UIAttributeFontInterface/UIAttributeFontInterface007") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0070 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0080 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0080 + * @tc.desc set fontFamily to 'Starling Burgess' + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0080 start.`); + Settings.createWindow("testability/pages/UIAttributeFontInterface/UIAttributeFontInterface008") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0080 finish.`); + done() + }) + }) +} diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceSize.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceSize.test.ets index 521831782..0369ca169 100644 --- a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceSize.test.ets +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontInterfaceTest/UIAttributeFontInterfaceSize.test.ets @@ -36,6 +36,7 @@ export default function UIAttributeFontInterfaceSize() { await Utils.sleep(1000); done() }) + /* * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0090 * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0090 @@ -66,6 +67,21 @@ export default function UIAttributeFontInterfaceSize() { done() }) + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0110 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0110 + * @tc.desc set fontSize by resource + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0011', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0011 start.`); + Settings.createWindow("testability/pages/UIAttributeFontInterface/UIAttributeFontInterface011") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0010 finish.`); + done() + }) + /* * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0120 * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_INTERFACE_0120 diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface002.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface002.ets new file mode 100644 index 000000000..ebe5aa4f5 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface002.ets @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIAttributeFontInterface002 { + @State message: string = 'Hello' + + build() { + Row() { + Column() { + Text(this.message) + .fontSize(20) + .fontColor(0xffff00) + .margin({ top: 20 }) + .key('UIAttributeFontInterface002_001') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface003.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface003.ets new file mode 100644 index 000000000..f7650fb89 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface003.ets @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIAttributeFontInterface003 { + @State message: string = 'Hello' + + build() { + Row() { + Column() { + Text(this.message) + .fontSize(20) + .fontColor($r('app.color.Pink')) + .margin({ top: 20 }) + .key('UIAttributeFontInterface003_001') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface004.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface004.ets new file mode 100644 index 000000000..80e99e8d8 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface004.ets @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIAttributeFontInterface004 { + @State message: string = 'Hello' + + build() { + Row() { + Column() { + Text(this.message) + .fontSize(20) + .fontColor(0xffc0cb) + .margin({ top: 20 }) + .key('UIAttributeFontInterface004_001') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface005.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface005.ets new file mode 100644 index 000000000..6a64f7544 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface005.ets @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; + +@Entry +@Component +struct UIAttributeFontInterface005 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + Text(this.message) + .align(Alignment.Center) + .fontSize(20) + .fontFamily($r('app.string.Font_pristina')) + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface006.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface006.ets new file mode 100644 index 000000000..4d6a3ce61 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface006.ets @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; + +@Entry +@Component +struct UIAttributeFontInterface006 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'../font/pristina.ttf' + }) + } + + build() { + Column() { + Text(this.message) + .align(Alignment.Center) + .fontSize(20) + .fontFamily('pristina') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface007.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface007.ets new file mode 100644 index 000000000..86e24afbd --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface007.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIAttributeFontInterface007 { + @State message: string = 'Hello' + + build() { + Column() { + Text(this.message) + .align(Alignment.Center) + .fontSize(20) + .fontFamily('HarmonyOS Sans') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface008.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface008.ets new file mode 100644 index 000000000..a5ea22357 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface008.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIAttributeFontInterface008 { + @State message: string = 'Hello' + + build() { + Column() { + Text(this.message) + .align(Alignment.Center) + .fontSize(20) + .fontFamily('Starling Burgess') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface011.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface011.ets new file mode 100644 index 000000000..618818ed4 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontInterface/UIAttributeFontInterface011.ets @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@Entry +@Component +struct UIAttributeFontInterface011 { + @State message: string = 'Hello' + + build() { + Row() { + Column() { + Text(this.message) + .fontSize($r('app.string.Font_size')) + .margin({ top: 20 }) + .key('UIAttributeFontInterface011_001') + } + .width('100%') + .height('100%') + } + } +} \ No newline at end of file -- Gitee From b249b2596660164614a53cf1bfef5e520b35924a Mon Sep 17 00:00:00 2001 From: wuqina <3220241511@bit.edu.cn> Date: Wed, 31 Jul 2024 10:16:44 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97?= =?UTF-8?q?=E4=BD=93=E6=A0=B7=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuqina <3220241511@bit.edu.cn> --- .../UIAttributeFontSupportStageAttrs.test.ets | 85 ++++++++++ ...ttributeFontSupportStageComponent.test.ets | 145 ++++++++++++++++++ .../UIAttributeFontSupportStage001.ets | 37 +++++ .../UIAttributeFontSupportStage002.ets | 36 +++++ .../UIAttributeFontSupportStage003.ets | 39 +++++ .../UIAttributeFontSupportStage004.ets | 37 +++++ .../UIAttributeFontSupportStage005.ets | 39 +++++ .../UIAttributeFontSupportStage006.ets | 37 +++++ .../UIAttributeFontSupportStage007.ets | 36 +++++ .../UIAttributeFontSupportStage008.ets | 37 +++++ .../UIAttributeFontSupportStage009.ets | 37 +++++ .../UIAttributeFontSupportStage010.ets | 35 +++++ 12 files changed, 600 insertions(+) create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontSupportStageTest/UIAttributeFontSupportStageAttrs.test.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontSupportStageTest/UIAttributeFontSupportStageComponent.test.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage001.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage002.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage003.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage004.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage005.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage006.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage007.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage008.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage009.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage010.ets diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontSupportStageTest/UIAttributeFontSupportStageAttrs.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontSupportStageTest/UIAttributeFontSupportStageAttrs.test.ets new file mode 100644 index 000000000..c919a9747 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontSupportStageTest/UIAttributeFontSupportStageAttrs.test.ets @@ -0,0 +1,85 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +export default function UIAttributeFontSupportStageAttrs() { + + describe('UIAttributeFontSupportStageAttrs', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`) + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0060 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0060 + * @tc.desc Set the registered custom font with the attribute of size 20 + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0060 start.`); + Settings.createWindow("testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage006") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0060 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0070 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0070 + * @tc.desc Set the registered custom font with the attribute of weight 30 + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0070 start.`); + Settings.createWindow("testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage007") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0070 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0080 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0080 + * @tc.desc Set the registered custom font with the attribute of color yellow + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0080 start.`); + Settings.createWindow("testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage008") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0080 finish.`); + done() + }) + }) +} diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontSupportStageTest/UIAttributeFontSupportStageComponent.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontSupportStageTest/UIAttributeFontSupportStageComponent.test.ets new file mode 100644 index 000000000..594f47d1b --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIAttributeFontSupportStageTest/UIAttributeFontSupportStageComponent.test.ets @@ -0,0 +1,145 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +export default function UIAttributeFontSupportStageComponent() { + + describe('UIAttributeFontSupportStageComponent', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`) + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0010 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0010 + * @tc.desc Set the registered custom font in text Component + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0010 start.`); + Settings.createWindow("testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage001") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0010 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0020 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0020 + * @tc.desc Set the registered custom font in button Component + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0020 start.`); + Settings.createWindow("testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage002") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0020 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0030 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0030 + * @tc.desc Set the registered custom font in TextArea Component + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0030 start.`); + Settings.createWindow("testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage003") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0030 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0040 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0040 + * @tc.desc Set the registered custom font in span Component + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0040 start.`); + Settings.createWindow("testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage004") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0040 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0050 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0050 + * @tc.desc Set the registered custom font in TextInput Component + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0050 start.`); + Settings.createWindow("testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage005") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0050 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090 + * @tc.desc Set the registered custom font in menu Component + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090 start.`); + Settings.createWindow("testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage009") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0100 + * @tc.name SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0100 + * @tc.desc Set the registered custom font in search Component + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090 start.`); + Settings.createWindow("testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage010") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0100 finish.`); + done() + }) + }) +} diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage001.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage001.ets new file mode 100644 index 000000000..26eb6843d --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage001.ets @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; + +@Entry +@Component +struct UIAttributeFontSupportStage001 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + Text(this.message) + .align(Alignment.Center) + .fontSize(20) + .fontFamily('pristina') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage002.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage002.ets new file mode 100644 index 000000000..39aa638b6 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage002.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; +@Entry +@Component +struct UIAttributeFontSupportStage002 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + Button(this.message) + .align(Alignment.Center) + .fontSize(20) + .fontFamily('pristina') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage003.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage003.ets new file mode 100644 index 000000000..ed3db6a49 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage003.ets @@ -0,0 +1,39 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; + +@Entry +@Component +struct UIAttributeFontSupportStage003 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + TextArea({ + text:this.message + }) + .align(Alignment.Center) + .fontSize(20) + .fontFamily('pristina') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage004.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage004.ets new file mode 100644 index 000000000..7a4b9f44a --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage004.ets @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; +@Entry +@Component +struct UIAttributeFontSupportStage004 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + Text() { + Span(this.message) + .fontSize(20) + .fontFamily('pristina') + } + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage005.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage005.ets new file mode 100644 index 000000000..0de2d52e5 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage005.ets @@ -0,0 +1,39 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; + +@Entry +@Component +struct UIAttributeFontSupportStage005 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + TextInput({ + text:this.message + }) + .align(Alignment.Center) + .fontSize(20) + .fontFamily('pristina') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage006.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage006.ets new file mode 100644 index 000000000..226135f16 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage006.ets @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; + +@Entry +@Component +struct UIAttributeFontSupportStage006 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + Text(this.message) + .align(Alignment.Center) + .fontSize(20) + .fontFamily('pristina') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage007.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage007.ets new file mode 100644 index 000000000..8901aca52 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage007.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; +@Entry +@Component +struct UIAttributeFontSupportStage007 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + Text(this.message) + .align(Alignment.Center) + .fontWeight(30) + .fontFamily('pristina') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage008.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage008.ets new file mode 100644 index 000000000..402b0c737 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage008.ets @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; + +@Entry +@Component +struct UIAttributeFontSupportStage008 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + Text(this.message) + .align(Alignment.Center) + .fontColor('#FFD700') + .fontFamily('pristina') + }.width('100%') + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage009.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage009.ets new file mode 100644 index 000000000..e6161acca --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage009.ets @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; +@Entry +@Component +struct UIAttributeFontSupportStage009 { + @State message: string = 'Hello' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + Menu() { + MenuItem({ startIcon: $r("app.media.icon"),content: "Hello" }) + } + .font({family:'pristina'}) + .width('100%') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage010.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage010.ets new file mode 100644 index 000000000..9cb99f6e2 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage010.ets @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import font from '@ohos.font'; + +@Entry +@Component +struct UIAttributeFontSupportStage010 { + @State message: string = 'please input a date' + + aboutToAppear() { + font.registerFont({ + familyName:'pristina', + familySrc:'/font/pristina.ttf' + }) + } + + build() { + Column() { + Search({placeholder:this.message}) + .placeholderFont({family:'pristina'}) + } + } +} \ No newline at end of file -- Gitee From 6697d357bd39004cbb632e642d07877f235a52fb Mon Sep 17 00:00:00 2001 From: wuqina <3220241511@bit.edu.cn> Date: Wed, 31 Jul 2024 10:17:31 +0800 Subject: [PATCH 3/7] =?UTF-8?q?Blank=E7=BB=84=E4=BB=B6=E6=A0=B7=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuqina <3220241511@bit.edu.cn> --- ...mponentDividerBlankInterfaceColor.test.ets | 70 +++++++ ...ComponentDividerBlankInterfaceMin.test.ets | 175 ++++++++++++++++++ .../UIComponentDividerBlankInterface009.ets | 28 +++ .../UIComponentDividerBlankInterface010.ets | 30 +++ .../UIComponentDividerBlankInterface012.ets | 30 +++ .../UIComponentDividerBlankInterface013.ets | 30 +++ .../UIComponentDividerBlankInterface014.ets | 30 +++ .../UIComponentDividerBlankInterface015.ets | 30 +++ .../UIComponentDividerBlankInterface016.ets | 30 +++ .../UIComponentDividerBlankInterface017.ets | 30 +++ .../UIComponentDividerBlankInterface019.ets | 30 +++ .../UIComponentDividerBlankInterface020.ets | 29 +++ .../UIComponentDividerBlankInterface022.ets | 30 +++ 13 files changed, 572 insertions(+) create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceColor.test.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceMin.test.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface009.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface010.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface012.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface013.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface014.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface015.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface016.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface017.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface019.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface020.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface022.ets diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceColor.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceColor.test.ets new file mode 100644 index 000000000..8da401f98 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceColor.test.ets @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +export default function UIComponentDividerBlankInterfaceColor() { + + describe('UIComponentDividerBlankInterfaceColor', () => { + 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_DIVIDER_BLANK_INTERFACE_0090 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0090 + * @tc.desc don't set the color of blank + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface009") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0100 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0100 + * @tc.desc set the color of blank twice, first yellow, second blue + */ + it('SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0100 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface010") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0100 finish.`); + done() + }) + }) +} diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceMin.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceMin.test.ets new file mode 100644 index 000000000..808f3a510 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceMin.test.ets @@ -0,0 +1,175 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' + +export default function UIComponentDividerBlankInterfaceMin() { + + describe('UIComponentDividerBlankInterfaceMin', () => { + 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_DIVIDER_BLANK_INTERFACE_0120 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0120 + * @tc.desc set min of blank to '50lpx' + */ + it('SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface012") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_ATTRIBUTES_FONT_SUPPORTSTAGE_0090 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0130 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0130 + * @tc.desc set min of blank to '50px' + */ + it('SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0130 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface013") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0130 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0140 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0140 + * @tc.desc set min of blank to '50vp' + */ + it('SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0140 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface014") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0140 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0150 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0150 + * @tc.desc set min of blank to '100vp', color to yellow + */ + it('SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0150', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0150 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface015") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0150 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0160 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0160 + * @tc.desc set min of blank to '-20', color to yellow. The spacing is 0. + */ + it('SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0160', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0160 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface016") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0160 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0170 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0170 + * @tc.desc set min of blank to '50%', color to yellow. The spacing is 0. + */ + it('SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0170', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0170 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface017") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0170 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0190 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0190 + * @tc.desc set min of blank to 100, width to 50. The spacing is 100vp. + */ + it('SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0190', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0190 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface019") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0190 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0200 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0200 + * @tc.desc set min of blank to '50fp', color to yellow. The spacing is 50fp. + */ + it('SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0200', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0200 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface020") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0200 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0220 + * @tc.name SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0220 + * @tc.desc set width of blank to 50, don't set the width of row + */ + it('SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0200 start.`); + Settings.createWindow("testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface022") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(1000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_DIVIDER_BLANK_INTERFACE_0220 finish.`); + done() + }) + }) +} diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface009.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface009.ets new file mode 100644 index 000000000..21a0cb8d9 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface009.ets @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface009 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank(50) + Text(this.message) + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface010.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface010.ets new file mode 100644 index 000000000..1d1f45c6a --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface010.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface010 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank(50) + .color(Color.Yellow) + .color(Color.Blue) + Text(this.message) + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface012.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface012.ets new file mode 100644 index 000000000..353a9ac6e --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface012.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface012 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank('50lpx') + .color(Color.Yellow) + Text(this.message) + + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface013.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface013.ets new file mode 100644 index 000000000..70d19404e --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface013.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface013 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank('50px') + .color(Color.Yellow) + Text(this.message) + + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface014.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface014.ets new file mode 100644 index 000000000..49f6265c4 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface014.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface014 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank('50vp') + .color(Color.Yellow) + Text(this.message) + + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface015.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface015.ets new file mode 100644 index 000000000..5b33cc417 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface015.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface015 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank(100) + .color(Color.Yellow) + Text(this.message) + + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface016.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface016.ets new file mode 100644 index 000000000..d09f98cba --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface016.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface016 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank(-20) + .color(Color.Yellow) + Text(this.message) + + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface017.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface017.ets new file mode 100644 index 000000000..79787d0b4 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface017.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface017 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank('50%') + .color(Color.Yellow) + Text(this.message) + + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface019.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface019.ets new file mode 100644 index 000000000..6586aa32e --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface019.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface019 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank(100) + .color(Color.Yellow) + .width(50) + Text(this.message) + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface020.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface020.ets new file mode 100644 index 000000000..ba1f276dd --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface020.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface020 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank('50fp') + .color(Color.Yellow) + Text(this.message) + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface022.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface022.ets new file mode 100644 index 000000000..1a065926c --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface022.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentDividerBlankInterface022 { + @State message: string = 'Hello' + build() { + Row() { + Text(this.message) + Blank() + .color(Color.Yellow) + .width(50) + Text(this.message) + }.justifyContent(FlexAlign.Center) + } +} \ No newline at end of file -- Gitee From df551a5bbeef6a9fcb686b1183e0ae4cf3dac4f7 Mon Sep 17 00:00:00 2001 From: wuqina <3220241511@bit.edu.cn> Date: Wed, 31 Jul 2024 10:18:37 +0800 Subject: [PATCH 4/7] =?UTF-8?q?text=E7=AD=89=E7=BB=84=E4=BB=B6=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E5=B1=9E=E6=80=A7=E6=A0=B7=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuqina <3220241511@bit.edu.cn> --- ...IComponentTextCommonTextStyleSpan.test.ets | 433 ++++++++++++++ ...IComponentTextCommonTextStyleText.test.ets | 553 ++++++++++++++++++ ...ponentTextCommonTextStyleTextArea.test.ets | 432 ++++++++++++++ 3 files changed, 1418 insertions(+) create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleSpan.test.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleText.test.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleTextArea.test.ets diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleSpan.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleSpan.test.ets new file mode 100644 index 000000000..4da0b3707 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleSpan.test.ets @@ -0,0 +1,433 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { IntentionCode } from '@ohos.multimodalInput.intentionCode' +import { KeyboardAvoidMode } from '@ohos.arkui.UIContext' + +export default function UIComponentTextCommonTextStyleSpan() { + + describe('UIComponentTextCommonTextStyleSpan', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`) + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1590 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1590 + * @tc.desc set decoration of Span to Underline + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1590', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1590 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle159") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1590 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1600 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1600 + * @tc.desc set decoration of Span to LineThrough + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1600', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1600 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle160") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1600 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1610 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1610 + * @tc.desc set decoration of Span to OverLine + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1610', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1610 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle161") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1610 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1620 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1620 + * @tc.desc set decoration of Span to None + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1620', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1620 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle162") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1620 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1630 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1630 + * @tc.desc set font of Span to {size:20,weight:FontWeight.Bolder,family:'Arial, HarmonyOS Sans',style:FontStyle.Italic} + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1630', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1630 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle163") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1630 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1640 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1640 + * @tc.desc set lineHeight of Span to 30 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1640', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1640 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle164") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1640 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1650 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1650 + * @tc.desc set fontSize of Span to 20 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1650', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1650 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle165") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1650 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1660 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1660 + * @tc.desc set fontSize of Span to '11px' + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1660', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1660 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle166") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1660 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1670 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1670 + * @tc.desc set fontSize of Span to $r('app.string.size_30') + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1670', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1670 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle167") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1670 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1680 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1680 + * @tc.desc set fontStyle of Span to normal + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1680', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1680 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle168") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1680 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1690 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1690 + * @tc.desc set fontStyle of Span to Italic + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1690', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1690 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle169") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1690 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1700 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1700 + * @tc.desc set fontWeight of Span to Normal + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1700', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1700 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle170") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1700 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1710 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1710 + * @tc.desc set fontWeight of Span to Lighter + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1710', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1710 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle171") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1710 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1720 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1720 + * @tc.desc set fontWeight of Span to Regular + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1720', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1720 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle172") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1720 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1730 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1730 + * @tc.desc set fontWeight of Span to Medium + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1730', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1730 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle173") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1730 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1740 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1740 + * @tc.desc set fontWeight of Span to Bold + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1740', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1740 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle174") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1740 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1750 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1750 + * @tc.desc set fontWeight of Span to Bolder + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1750', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1750 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle175") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1750 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1760 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1760 + * @tc.desc set fontFamily of Span to 'HarmonyOS-Sans' + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1760', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1760 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle176") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1760 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1770 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1770 + * @tc.desc set fontColor of Span to Color.blue + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1770', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1770 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle177") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1770 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1780 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1780 + * @tc.desc set fontColor of Span to 0xffffff + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1780', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1780 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle178") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1780 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1790 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1790 + * @tc.desc set fontColor of Span to 'rgb(255,100,255)' + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1790', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1790 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle179") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1790 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1800 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1800 + * @tc.desc set fontColor of Span to $r('app.string.color_yellow') + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1800', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1800 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle180") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1800 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1810 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1810 + * @tc.desc set letterSpacing of Span to 5 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1810', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1810 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle181") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1810 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1820 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1820 + * @tc.desc set textCase of Span to Normal + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1820', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1820 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle182") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1820 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1830 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1830 + * @tc.desc set textCase of Span to LowerCase + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1830', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1830 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle183") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1830 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1840 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1840 + * @tc.desc set textCase of Span to UpperCase + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1840', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1840 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle184") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1840 finish.`); + done() + }) + + }) +} diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleText.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleText.test.ets new file mode 100644 index 000000000..99751e75e --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleText.test.ets @@ -0,0 +1,553 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { IntentionCode } from '@ohos.multimodalInput.intentionCode' +import { KeyboardAvoidMode } from '@ohos.arkui.UIContext' + +export default function UIComponentTextCommonTextStyleText() { + + describe('UIComponentTextCommonTextStyleText', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`) + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1210 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1210 + * @tc.desc set decoration of Text to underline + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1210', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1210 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle121") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1210 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1220 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1220 + * @tc.desc set decoration of Text to LineThrough + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1220', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1220 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle122") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1220 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1230 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1230 + * @tc.desc set decoration of Text to OverLine + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1230', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1230 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle123") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1230 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1240 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1240 + * @tc.desc set decoration of Text to None + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1240', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1240 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle124") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1240 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1250 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1250 + * @tc.desc set fontSize of Text to 20 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1250', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1250 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle125") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1250 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1260 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1260 + * @tc.desc set fontSize of Text to '11px' + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1260', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1260 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle126") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1260 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1270 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1270 + * @tc.desc set fontSize of Text to $r('app.string.size_30') + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1270', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1270 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle127") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1270 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1280 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1280 + * @tc.desc set fontStyle of Text to normal + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1280', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1280 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle128") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1280 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1290 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1290 + * @tc.desc set fontStyle of Text to Italic + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1290', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1290 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle129") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1290 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1300 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1300 + * @tc.desc set fontWeight of Text to Normal + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1300', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1300 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle130") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1300 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1310 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1310 + * @tc.desc set fontWeight of Text to Lighter + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1310', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1310 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle131") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1310 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1320 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1320 + * @tc.desc set fontWeight of Text to Regular + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1320', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1320 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle132") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1320 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1330 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1330 + * @tc.desc set fontWeight of Text to Medium + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1330', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1330 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle133") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1330 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1340 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1340 + * @tc.desc set fontWeight of Text to Bold + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1340', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1340 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle134") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1340 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1350 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1350 + * @tc.desc set fontWeight of Text to Bolder + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1350', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1350 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle135") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1350 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1360 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1360 + * @tc.desc set fontFamily of Text to HarmonyOS-Sans + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1360', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1360 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle136") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1360 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1370 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1370 + * @tc.desc set textShadow of Text to {radius:10,color:Color.Black,offsetX:0,offsetY:0} + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1370', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1370 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle137") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1370 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1380 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1380 + * @tc.desc set heightAdaptivePolicy of Text to MAX_LINES_FIRST + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1380', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1380 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle138") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1380 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1390 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1390 + * @tc.desc set heightAdaptivePolicy of Text to MIN_FONT_SIZE_FIRST + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1390', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1390 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle139") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1390 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1400 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1400 + * @tc.desc set heightAdaptivePolicy of Text to LAYOUT_CONSTRAINT_FIRST + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1400', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1400 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle140") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1400 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1410 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1410 + * @tc.desc set textIndent of Text to 2 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1410', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1410 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle141") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1410 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1420 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1420 + * @tc.desc set minFontSize of Text to 10 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1420', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1420 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle142") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1420 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1430 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1430 + * @tc.desc set minFontSize of Text to 30 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1430', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1430 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle143") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1430 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1440 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1440 + * @tc.desc set lineHeight of Text to 30 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1440', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1440 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle144") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1440 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1490 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1490 + * @tc.desc set textOverflow of Text to None + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1490', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1490 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle149") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1490 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1500 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1500 + * @tc.desc set textOverflow of Text to Clip + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1500', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1500 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle150") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1500 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1510 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1510 + * @tc.desc set textOverflow of Text to Ellipsis + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1510', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1510 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle151") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1510 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1520 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1520 + * @tc.desc set textOverflow of Text to MARQUEE + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1520', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1520 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle152") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1520 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1530 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1530 + * @tc.desc set maxLines of Text to 4 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1530', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1530 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle153") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1530 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1540 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1540 + * @tc.desc set letterSpacing of Text to 5 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1540', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1540 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle154") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1540 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1550 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1550 + * @tc.desc set baselineOffset of Text to 10 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1550', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1550 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle155") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1550 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1560 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1560 + * @tc.desc set textCase of Text to Normal + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1560', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1560 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle156") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1560 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1570 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1570 + * @tc.desc set textCase of Text to LowerCase + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1570', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1570 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle157") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1570 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1580 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1580 + * @tc.desc set textCase of Text to UpperCase + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1580', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1580 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle158") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1580 finish.`); + done() + }) + + }) +} diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleTextArea.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleTextArea.test.ets new file mode 100644 index 000000000..5c38681f6 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleTextArea.test.ets @@ -0,0 +1,432 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' +import Settings from '../model/Settings' +import windowSnap from '../model/snapShot' +import Logger from '../model/Logger' +import Utils from '../model/Utils' +import { IntentionCode } from '@ohos.multimodalInput.intentionCode' +import { KeyboardAvoidMode } from '@ohos.arkui.UIContext' + +export default function UIComponentTextCommonTextStyleTextArea() { + + describe('UIComponentTextCommonTextStyleTextArea', () => { + afterEach(async (done: Function) => { + if (Settings.windowClass == undefined) { + return + } + + Settings.windowClass.destroyWindow((err) => { + if (err.code) { + Logger.error('TEST', `Failed to destroy the window. Cause : ${JSON.stringify(err)}`) + return; + } + Logger.info('TEST', `Succeeded in destroy the window.`); + }) + await Utils.sleep(1000); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0850 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0850 + * @tc.desc set maxLength of TextArea to 10 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0850', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0850 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle085") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0850 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0860 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0860 + * @tc.desc set placeholderFont of TextArea to { size: 20, weight: FontWeight.Bolder,family:'Arial, HarmonyOS Sans' ,style:FontStyle.Italic} + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0860', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0860 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle086") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0860 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0870 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0870 + * @tc.desc set placeholderColor of TextArea to Color. Blue + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0870', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0870 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle087") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0870 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0880 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0880 + * @tc.desc set placeholderColor of TextArea to 0xffffff + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0880', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0880 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle088") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0880 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0890 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0890 + * @tc.desc set placeholderColor of TextArea to rgb(255, 100, 255) + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0890', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0890 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle089") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0890 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0900 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0900 + * @tc.desc set placeholderColor of TextArea to $r('app.string.color_yellow') + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0900', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0900 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle090") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0900 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0950 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0950 + * @tc.desc set textAlign of TextArea to Start + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0950', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0950 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle095") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0950 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0960 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0960 + * @tc.desc set textAlign of TextArea to center + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0960', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0960 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle096") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0960 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0970 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0970 + * @tc.desc set textAlign of TextArea to End + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0970', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0970 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle097") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0970 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0980 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0980 + * @tc.desc set fontColor of TextArea to Color. Blue + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0980', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0980 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle098") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0980 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0990 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0990 + * @tc.desc set fontColor of TextArea to 0xffffff + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0990', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0990 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle099") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_0990 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1000 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1000 + * @tc.desc set fontColor of TextArea to rgb(255, 100, 255) + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1000', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1000 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle100") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1000 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1010 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1010 + * @tc.desc set fontColor of TextArea to $r('app.string.color_yellow') + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1010', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1010 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle101") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1010 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1020 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1020 + * @tc.desc set fontSize of TextArea to 20 + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1020', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1020 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle102") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1020 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1030 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1030 + * @tc.desc set fontSize of TextArea to '11px' + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1030', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1030 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle103") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1030 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1040 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1040 + * @tc.desc set fontSize of TextArea to $r('app.string.size_30') + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1040', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1040 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle104") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1040 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1050 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1050 + * @tc.desc set fontStyle of TextArea to normal + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1050', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1050 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle105") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1050 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1060 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1060 + * @tc.desc set fontStyle of TextArea to Italic + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1060', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1060 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle106") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1060 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1070 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1070 + * @tc.desc set fontWeight of TextArea to FontWeight.Normal + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1070', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1070 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle107") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1070 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1080 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1080 + * @tc.desc set fontWeight of TextArea to FontWeight.Lighter + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1080', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1080 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle108") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1080 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1090 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1090 + * @tc.desc set fontWeight of TextArea to FontWeight.Regular + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1090', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1090 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle109") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1090 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1100 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1100 + * @tc.desc set fontWeight of TextArea to FontWeight.Medium + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1100', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1100 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle110") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1100 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1110 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1110 + * @tc.desc set fontWeight of TextArea to FontWeight.Bold + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1110', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1110 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle111") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1110 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1120 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1120 + * @tc.desc set fontWeight of TextArea to FontWeight.Bolder + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1120', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1120 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle112") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1120 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1130 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1130 + * @tc.desc set fontFamily of TextArea to HarmonyOS-Sans + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1130', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1130 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle113") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1130 finish.`); + done() + }) + + /* + * @tc.number SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1140 + * @tc.name SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1140 + * @tc.desc set inputFilter of TextArea to '[A-Z]', (value: string) => { console.info("testtest" + value) } + */ + it('SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1140', 0, async (done: Function) => { + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1140 start.`); + Settings.createWindow("testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle114") + await Utils.sleep(1000) + windowSnap.snapShot() + await Utils.sleep(5000) + Logger.info('TEST', `SUB_ACE_UI_COMPONENT_TEXT_COMMON_TEXTSTYLE_1140 finish.`); + done() + }) + }) +} -- Gitee From 239ba0fe03b20fb951ffcbf2d06cd807aa9a58b5 Mon Sep 17 00:00:00 2001 From: wuqina <3220241511@bit.edu.cn> Date: Wed, 31 Jul 2024 10:21:05 +0800 Subject: [PATCH 5/7] =?UTF-8?q?text=E7=AD=89=E7=BB=84=E4=BB=B6=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E5=B1=9E=E6=80=A7=E6=A0=B7=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuqina <3220241511@bit.edu.cn> --- .../UIComponentTextCommonTextStyle085.ets | 31 ++++++++++++++++++ .../UIComponentTextCommonTextStyle086.ets | 31 ++++++++++++++++++ .../UIComponentTextCommonTextStyle087.ets | 31 ++++++++++++++++++ .../UIComponentTextCommonTextStyle088.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle089.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle090.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle095.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle096.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle097.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle098.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle099.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle100.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle101.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle102.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle103.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle104.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle105.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle106.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle107.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle108.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle109.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle110.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle111.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle112.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle113.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle114.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle121.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle122.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle123.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle124.ets | 30 +++++++++++++++++ .../UIComponentTextCommonTextStyle125.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle126.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle127.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle128.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle129.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle130.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle131.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle132.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle133.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle134.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle135.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle136.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle137.ets | 27 ++++++++++++++++ .../UIComponentTextCommonTextStyle138.ets | 32 +++++++++++++++++++ 44 files changed, 1286 insertions(+) create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle085.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle086.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle087.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle088.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle089.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle090.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle095.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle096.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle097.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle098.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle099.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle100.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle101.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle102.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle103.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle104.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle105.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle106.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle107.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle108.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle109.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle110.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle111.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle112.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle113.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle114.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle121.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle122.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle123.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle124.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle125.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle126.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle127.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle128.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle129.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle130.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle131.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle132.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle133.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle134.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle135.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle136.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle137.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle138.ets diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle085.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle085.ets new file mode 100644 index 000000000..6b414c0ab --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle085.ets @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle085 { + @State text: string = '12345678912' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .maxLength(10) + + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle086.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle086.ets new file mode 100644 index 000000000..2e02ef70d --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle086.ets @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle086 { + @State text: string = '' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .placeholderFont({ size: 20, weight: FontWeight.Bolder,family:'Arial, HarmonyOS Sans' ,style:FontStyle.Italic}) + .id('TextArea') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle087.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle087.ets new file mode 100644 index 000000000..332fef4fd --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle087.ets @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle087 { + @State text: string = '' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .placeholderColor(Color.Blue) + .id('TextArea') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle088.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle088.ets new file mode 100644 index 000000000..1014bb79f --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle088.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle088 { + @State text: string = '' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .placeholderColor(0xffffff) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle089.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle089.ets new file mode 100644 index 000000000..aee8656eb --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle089.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle089 { + @State text: string = '' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .placeholderColor('rgb(255, 100, 255)') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle090.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle090.ets new file mode 100644 index 000000000..1644374b4 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle090.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle090 { + @State text: string = '' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .placeholderColor($r('app.string.color_yellow')) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle095.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle095.ets new file mode 100644 index 000000000..cbedf7d72 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle095.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle095 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .textAlign(TextAlign.Start) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle096.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle096.ets new file mode 100644 index 000000000..44b48ede4 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle096.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle096 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .textAlign(TextAlign.Center) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle097.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle097.ets new file mode 100644 index 000000000..84de74de8 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle097.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle097 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .textAlign(TextAlign.End) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle098.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle098.ets new file mode 100644 index 000000000..470ea2778 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle098.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle098 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontColor(Color.Blue) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle099.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle099.ets new file mode 100644 index 000000000..737e4b66d --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle099.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle099 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontColor(0xffffff) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle100.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle100.ets new file mode 100644 index 000000000..6932bb1ba --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle100.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle100 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontColor('rgb(255,100,255)') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle101.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle101.ets new file mode 100644 index 000000000..b825f2b2f --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle101.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle101 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontColor($r('app.string.color_yellow')) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle102.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle102.ets new file mode 100644 index 000000000..6c07cc474 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle102.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle102 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontSize(20) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle103.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle103.ets new file mode 100644 index 000000000..c712074e8 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle103.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle103 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontSize('11px') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle104.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle104.ets new file mode 100644 index 000000000..3c3313c3f --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle104.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle104 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontSize($r('app.string.size_30')) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle105.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle105.ets new file mode 100644 index 000000000..50ac53c1c --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle105.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle105 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontStyle(FontStyle.Normal) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle106.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle106.ets new file mode 100644 index 000000000..412aa737a --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle106.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle106 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontStyle(FontStyle.Italic) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle107.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle107.ets new file mode 100644 index 000000000..0ba0ce1b1 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle107.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle107 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontWeight(FontWeight.Normal) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle108.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle108.ets new file mode 100644 index 000000000..b51dce89c --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle108.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle108 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontWeight(FontWeight.Lighter) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle109.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle109.ets new file mode 100644 index 000000000..d1e51c06b --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle109.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle109 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontWeight(FontWeight.Regular) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle110.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle110.ets new file mode 100644 index 000000000..2fea9c8e1 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle110.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle110 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontWeight(FontWeight.Medium) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle111.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle111.ets new file mode 100644 index 000000000..62848ed73 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle111.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle111 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontWeight(FontWeight.Bold) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle112.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle112.ets new file mode 100644 index 000000000..9e1d83f56 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle112.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle112 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontWeight(FontWeight.Bolder) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle113.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle113.ets new file mode 100644 index 000000000..9a52636c2 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle113.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle113 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .fontFamily('HarmonyOS-Sans') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle114.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle114.ets new file mode 100644 index 000000000..4c0f10ea6 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle114.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle114 { + @State text: string = 'Hello我&78' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + TextArea({ + text: this.text, + placeholder: 'The text area can hold an unlimited amount of text. input your word...' + }) + .inputFilter('[A-Z]', (value: string) => { console.info("testtest" + value) }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle121.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle121.ets new file mode 100644 index 000000000..0376df473 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle121.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle121 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .decoration({ + type: TextDecorationType.Underline, + color: Color.Blue + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle122.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle122.ets new file mode 100644 index 000000000..78d5b2230 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle122.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle122 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .decoration({ + type: TextDecorationType.LineThrough, + color: Color.Blue + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle123.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle123.ets new file mode 100644 index 000000000..62de561f0 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle123.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle123 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .decoration({ + type: TextDecorationType.Overline, + color: Color.Blue + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle124.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle124.ets new file mode 100644 index 000000000..de5fd5669 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle124.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle124 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .decoration({ + type: TextDecorationType.None, + color: Color.Blue + }) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle125.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle125.ets new file mode 100644 index 000000000..202d0aacd --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle125.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle125 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontSize(20) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle126.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle126.ets new file mode 100644 index 000000000..89df21be7 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle126.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle126 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontSize('11px') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle127.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle127.ets new file mode 100644 index 000000000..9a5e8fda2 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle127.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle127 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontSize($r('app.string.size_30')) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle128.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle128.ets new file mode 100644 index 000000000..52f400178 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle128.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle128 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontStyle(FontStyle.Normal) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle129.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle129.ets new file mode 100644 index 000000000..d70ed6140 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle129.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle129 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontStyle(FontStyle.Italic) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle130.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle130.ets new file mode 100644 index 000000000..f45c9f7e5 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle130.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle130 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontWeight(FontWeight.Normal) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle131.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle131.ets new file mode 100644 index 000000000..9327bba91 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle131.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle131 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontWeight(FontWeight.Lighter) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle132.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle132.ets new file mode 100644 index 000000000..07206192d --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle132.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle132 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontWeight(FontWeight.Regular) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle133.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle133.ets new file mode 100644 index 000000000..97746cca0 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle133.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle133 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontWeight(FontWeight.Medium) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle134.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle134.ets new file mode 100644 index 000000000..b814a821d --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle134.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle134 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontWeight(FontWeight.Bold) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle135.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle135.ets new file mode 100644 index 000000000..62488ff20 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle135.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle135 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontWeight(FontWeight.Bolder) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle136.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle136.ets new file mode 100644 index 000000000..adac9e3fd --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle136.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle136 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .fontFamily('HarmonyOS-Sans') + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle137.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle137.ets new file mode 100644 index 000000000..003163fca --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle137.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle137 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .textShadow({radius:10,color:Color.Black,offsetX:0,offsetY:0}) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle138.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle138.ets new file mode 100644 index 000000000..d0f868849 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle138.ets @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle138 { + @State text: string = 'This is the text with the height adaptive policy set' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .heightAdaptivePolicy(TextHeightAdaptivePolicy.MAX_LINES_FIRST) + .minFontSize(10) + .maxFontSize(30) + .maxLines(5) + .height(90) + .borderWidth(1) + } + } +} \ No newline at end of file -- Gitee From f5c3468c29007c32016fe4c889b2b5ac8b7f7e50 Mon Sep 17 00:00:00 2001 From: wuqina <3220241511@bit.edu.cn> Date: Wed, 31 Jul 2024 10:21:27 +0800 Subject: [PATCH 6/7] =?UTF-8?q?text=E7=AD=89=E7=BB=84=E4=BB=B6=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E5=B1=9E=E6=80=A7=E6=A0=B7=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuqina <3220241511@bit.edu.cn> --- .../UIComponentTextCommonTextStyle139.ets | 31 ++++++++++++++++ .../UIComponentTextCommonTextStyle140.ets | 31 ++++++++++++++++ .../UIComponentTextCommonTextStyle141.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle142.ets | 36 +++++++++++++++++++ .../UIComponentTextCommonTextStyle143.ets | 31 ++++++++++++++++ .../UIComponentTextCommonTextStyle144.ets | 28 +++++++++++++++ .../UIComponentTextCommonTextStyle149.ets | 33 +++++++++++++++++ .../UIComponentTextCommonTextStyle150.ets | 33 +++++++++++++++++ .../UIComponentTextCommonTextStyle151.ets | 33 +++++++++++++++++ .../UIComponentTextCommonTextStyle152.ets | 33 +++++++++++++++++ .../UIComponentTextCommonTextStyle153.ets | 32 +++++++++++++++++ .../UIComponentTextCommonTextStyle154.ets | 31 ++++++++++++++++ .../UIComponentTextCommonTextStyle155.ets | 34 ++++++++++++++++++ .../UIComponentTextCommonTextStyle156.ets | 28 +++++++++++++++ .../UIComponentTextCommonTextStyle157.ets | 27 ++++++++++++++ .../UIComponentTextCommonTextStyle158.ets | 27 ++++++++++++++ .../UIComponentTextCommonTextStyle159.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle160.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle161.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle162.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle163.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle164.ets | 30 ++++++++++++++++ .../UIComponentTextCommonTextStyle165.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle166.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle167.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle168.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle169.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle170.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle171.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle172.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle173.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle174.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle175.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle176.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle177.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle178.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle179.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle180.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle181.ets | 34 ++++++++++++++++++ .../UIComponentTextCommonTextStyle182.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle183.ets | 29 +++++++++++++++ .../UIComponentTextCommonTextStyle184.ets | 29 +++++++++++++++ 42 files changed, 1257 insertions(+) create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle139.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle140.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle141.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle142.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle143.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle144.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle149.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle150.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle151.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle152.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle153.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle154.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle155.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle156.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle157.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle158.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle159.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle160.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle161.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle162.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle163.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle164.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle165.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle166.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle167.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle168.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle169.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle170.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle171.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle172.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle173.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle174.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle175.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle176.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle177.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle178.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle179.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle180.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle181.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle182.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle183.ets create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle184.ets diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle139.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle139.ets new file mode 100644 index 000000000..0cc438b61 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle139.ets @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle139 { + @State text: string = 'This is the text with the height adaptive policy set' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .heightAdaptivePolicy(TextHeightAdaptivePolicy.MIN_FONT_SIZE_FIRST) + .minFontSize(10) + .maxFontSize(30) + .height(90) + .borderWidth(1) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle140.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle140.ets new file mode 100644 index 000000000..2f2864dd9 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle140.ets @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle140 { + @State text: string = 'This is the text with the height adaptive policy set' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .heightAdaptivePolicy(TextHeightAdaptivePolicy.LAYOUT_CONSTRAINT_FIRST) + .minFontSize(10) + .maxFontSize(30) + .height(90) + .borderWidth(1) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle141.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle141.ets new file mode 100644 index 000000000..09ee8d0ea --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle141.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle141 { + @State text: string = 'This is the text with the Indent set' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .textIndent(2) + .borderWidth(1) + .fontSize(10) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle142.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle142.ets new file mode 100644 index 000000000..c50ff8ea7 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle142.ets @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle142 { + @State text: string = '' + aboutToAppear() { + for(let i=0;i<1000;i++){ + this.text = this.text+'123' + } + } + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .minFontSize(10) + .maxFontSize(30) + .maxLines(3) + .height(90) + .borderWidth(1) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle143.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle143.ets new file mode 100644 index 000000000..441f779ce --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle143.ets @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle143 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .minFontSize(10) + .maxFontSize(30) + .maxLines(3) + .height(90) + .borderWidth(1) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle144.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle144.ets new file mode 100644 index 000000000..4c018282b --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle144.ets @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle144 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .lineHeight(30) + .borderWidth(1) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle149.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle149.ets new file mode 100644 index 000000000..0a9a85422 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle149.ets @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle149 { + @State text: string = '' + aboutToAppear() { + for(let i=0;i<1000;i++){ + this.text = this.text+'123' + } + } + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .textOverflow({overflow:TextOverflow.None}) + .maxLines(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle150.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle150.ets new file mode 100644 index 000000000..36b746d29 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle150.ets @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle150 { + @State text: string = '' + aboutToAppear() { + for(let i=0;i<1000;i++){ + this.text = this.text+'123' + } + } + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .textOverflow({overflow:TextOverflow.Clip}) + .maxLines(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle151.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle151.ets new file mode 100644 index 000000000..620ba0fac --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle151.ets @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle151 { + @State text: string = '' + aboutToAppear() { + for(let i=0;i<1000;i++){ + this.text = this.text+'123' + } + } + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .textOverflow({overflow:TextOverflow.Ellipsis}) + .maxLines(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle152.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle152.ets new file mode 100644 index 000000000..eaf7c65a0 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle152.ets @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle152 { + @State text: string = '' + aboutToAppear() { + for(let i=0;i<1000;i++){ + this.text = this.text+'123' + } + } + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .textOverflow({overflow:TextOverflow.MARQUEE}) + .maxLines(3) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle153.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle153.ets new file mode 100644 index 000000000..a20ffba21 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle153.ets @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle153 { + @State text: string = '' + aboutToAppear() { + for(let i=0;i<1000;i++){ + this.text = this.text+'123' + } + } + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .maxLines(4) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle154.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle154.ets new file mode 100644 index 000000000..b75508996 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle154.ets @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@Entry +@Component +struct UIComponentTextCommonTextStyle154 { + @State text: string = '' + aboutToAppear() { + for(let i=0;i<1000;i++){ + this.text = this.text+'123' + } + } + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .letterSpacing(5) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle155.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle155.ets new file mode 100644 index 000000000..161f45d8a --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle155.ets @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle155 { + @State text: string = '' + aboutToAppear() { + for(let i=0;i<50;i++){ + this.text = this.text+'123' + } + } + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .baselineOffset(10) + .borderWidth(1) + + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle156.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle156.ets new file mode 100644 index 000000000..0a7a14bcc --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle156.ets @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle156 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .textCase(TextCase.Normal) + + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle157.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle157.ets new file mode 100644 index 000000000..6de749cbc --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle157.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle157 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .textCase(TextCase.LowerCase) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle158.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle158.ets new file mode 100644 index 000000000..7234366e1 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle158.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle158 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(this.text) + .textCase(TextCase.UpperCase) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle159.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle159.ets new file mode 100644 index 000000000..4662ef3c2 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle159.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle159 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .decoration({type:TextDecorationType.Underline}) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle160.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle160.ets new file mode 100644 index 000000000..3a1662740 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle160.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle160 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .decoration({type:TextDecorationType.LineThrough}) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle161.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle161.ets new file mode 100644 index 000000000..1298b4eae --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle161.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle161 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .decoration({type:TextDecorationType.Overline}) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle162.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle162.ets new file mode 100644 index 000000000..1bbd63b9d --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle162.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle162 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .decoration({type:TextDecorationType.None}) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle163.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle163.ets new file mode 100644 index 000000000..018ab80d0 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle163.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle163 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .font({size:20,weight:FontWeight.Bolder,family:'Arial, HarmonyOS Sans',style:FontStyle.Italic}) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle164.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle164.ets new file mode 100644 index 000000000..ea558891a --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle164.ets @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle164 { + @State text: string = 'Hello\nHello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .lineHeight(30) + .borderWidth(1) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle165.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle165.ets new file mode 100644 index 000000000..5ef0b0fc8 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle165.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle165 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontSize(20) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle166.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle166.ets new file mode 100644 index 000000000..5c057b314 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle166.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle166 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontSize('11px') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle167.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle167.ets new file mode 100644 index 000000000..b9bc84538 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle167.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle167 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontSize($r('app.string.size_30')) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle168.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle168.ets new file mode 100644 index 000000000..a43e91958 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle168.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle168 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontStyle(FontStyle.Normal) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle169.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle169.ets new file mode 100644 index 000000000..43af261b0 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle169.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle169 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontStyle(FontStyle.Italic) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle170.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle170.ets new file mode 100644 index 000000000..f9d0b6bba --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle170.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle170 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontWeight(FontWeight.Normal) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle171.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle171.ets new file mode 100644 index 000000000..3fdf105d1 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle171.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle171 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontWeight(FontWeight.Lighter) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle172.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle172.ets new file mode 100644 index 000000000..9425bd985 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle172.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle172 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontWeight(FontWeight.Regular) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle173.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle173.ets new file mode 100644 index 000000000..c65515801 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle173.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle173 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontWeight(FontWeight.Medium) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle174.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle174.ets new file mode 100644 index 000000000..342d6becc --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle174.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle174 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontWeight(FontWeight.Bold) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle175.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle175.ets new file mode 100644 index 000000000..a56c9050b --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle175.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle175 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontWeight(FontWeight.Bolder) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle176.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle176.ets new file mode 100644 index 000000000..fc9efffe9 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle176.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle176 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontFamily('HarmonyOS-Sans') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle177.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle177.ets new file mode 100644 index 000000000..ab7560979 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle177.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle177 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontColor(Color.Blue) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle178.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle178.ets new file mode 100644 index 000000000..91f4544a9 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle178.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle178 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontColor(0xffffff) + }.backgroundColor(Color.Black) + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle179.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle179.ets new file mode 100644 index 000000000..c0649dbfa --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle179.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle179 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontColor('rgb(255,100,255)') + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle180.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle180.ets new file mode 100644 index 000000000..2bf8167cc --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle180.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle180 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .fontColor($r('app.string.color_yellow')) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle181.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle181.ets new file mode 100644 index 000000000..25d3250d6 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle181.ets @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle181 { + @State text: string = '' + aboutToAppear() { + for(let i=0;i<1000;i++){ + this.text = this.text+'123' + } + } + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .letterSpacing(5) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle182.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle182.ets new file mode 100644 index 000000000..38e0ac419 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle182.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle182 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .textCase(TextCase.Normal) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle183.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle183.ets new file mode 100644 index 000000000..5bfb2e3d0 --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle183.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle183 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .textCase(TextCase.LowerCase) + } + } + } +} \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle184.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle184.ets new file mode 100644 index 000000000..3a663932c --- /dev/null +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle184.ets @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +@Entry +@Component +struct UIComponentTextCommonTextStyle184 { + @State text: string = 'Hello' + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text(){ + Span(this.text) + .textCase(TextCase.UpperCase) + } + } + } +} \ No newline at end of file -- Gitee From 99981dbdf0d6cb30e745ba0616eba59efb74b50c Mon Sep 17 00:00:00 2001 From: wuqina <3220241511@bit.edu.cn> Date: Wed, 31 Jul 2024 10:23:26 +0800 Subject: [PATCH 7/7] =?UTF-8?q?text=E7=AD=89=E7=BB=84=E4=BB=B6=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E5=B1=9E=E6=80=A7=E6=A0=B7=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuqina <3220241511@bit.edu.cn> --- .../entry/src/ohosTest/ets/test/List.test.ets | 18 +++ .../ets/testability/font/pristina.ttf | Bin 0 -> 82680 bytes .../resources/base/element/color.json | 4 + .../resources/base/element/string.json | 16 +++ .../resources/base/profile/test_pages.json | 117 +++++++++++++++++- 5 files changed, 154 insertions(+), 1 deletion(-) create mode 100644 function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/font/pristina.ttf diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/List.test.ets b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/List.test.ets index a01a3cd3d..90ec0e3d1 100644 --- a/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/List.test.ets +++ b/function/ui_compare/uicompare/entry/src/ohosTest/ets/test/List.test.ets @@ -15,15 +15,33 @@ import demoTest from './Demo.test' import UIAttributeFontInterface001 from './UIAttributeFontInterfaceTest/UIAttributeFontInterface001.test' +import UIAttributeFontInterfaceColor from './UIAttributeFontInterfaceTest/UIAttributeFontInterfaceColor.test' +import UIAttributeFontInterfaceFontFamily from './UIAttributeFontInterfaceTest/UIAttributeFontInterfaceFontFamily.test' import UIAttributeFontInterfaceSize from './UIAttributeFontInterfaceTest/UIAttributeFontInterfaceSize.test' import UIAttributeFontInterfaceStyle from './UIAttributeFontInterfaceTest/UIAttributeFontInterfaceStyle.test' import UIAttributeFontInterfaceWeight from './UIAttributeFontInterfaceTest/UIAttributeFontInterfaceWeight.test' +import UIAttributeFontSupportStageAttrs from './UIAttributeFontSupportStageTest/UIAttributeFontSupportStageAttrs.test' +import UIAttributeFontSupportStageComponent from './UIAttributeFontSupportStageTest/UIAttributeFontSupportStageComponent.test' +import UIComponentDividerBlankInterfaceColor from './UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceColor.test' +import UIComponentDividerBlankInterfaceMin from './UIComponentDividerBlankInterfaceTest/UIComponentDividerBlankInterfaceMin.test' +import UIComponentTextCommonTextStyleTextArea from './UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleTextArea.test' +import UIComponentTextCommonTextStyleText from './UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleText.test' +import UIComponentTextCommonTextStyleSpan from './UIComponentTextCommonTextStyleTest/UIComponentTextCommonTextStyleSpan.test' import UIComponentLayoutColumnInterface from './UIComponentLayoutColumnInterfaceTest/UIComponentLayoutColumnInterface.test' export default function testsuite() { demoTest(); UIAttributeFontInterface001(); + UIAttributeFontInterfaceColor(); + UIAttributeFontInterfaceFontFamily(); UIAttributeFontInterfaceSize(); UIAttributeFontInterfaceStyle(); UIAttributeFontInterfaceWeight(); + UIAttributeFontSupportStageAttrs(); + UIAttributeFontSupportStageComponent(); + UIComponentDividerBlankInterfaceColor(); + UIComponentDividerBlankInterfaceMin(); + UIComponentTextCommonTextStyleTextArea(); + UIComponentTextCommonTextStyleText(); + UIComponentTextCommonTextStyleSpan(); UIComponentLayoutColumnInterface(); } \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/font/pristina.ttf b/function/ui_compare/uicompare/entry/src/ohosTest/ets/testability/font/pristina.ttf new file mode 100644 index 0000000000000000000000000000000000000000..8740c67b56795c23c45283414d58bcdfbd0eed24 GIT binary patch literal 82680 zcmb@u2YejW^*?&2?at1YnQgPZYgemPS@l(0Y1M35mb;DRZrPR_?j2(=ggC~APy)t; z9(o{voX|o7gkT#27?L1UV<3eRg7YJU;yTTzJu>1)^f+@(wCxqc+J4-!HDk#(8GdW{_pG7ZrpU`rw<$_Oevmcv+FhtuDkI?M+G5v z2cDTtD6bf1qVecJ`2xA+3*r-zLC8bDyP}-_KAimP^CxdSxmr9&_c1PY1+tLBb2@Tz zH6h|NCvO}{gF;%<*~eE}&R674uZ#2!HRYo8t^2BJq4rOi_P3u9|xoC&sIkajb zhqbhzVep!krhGGz545yi%l}MEYgjU@mWIrb*BIM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F(47cXtiP;)tKf;P)YR0u&)$cX#5wH;v#XDck4Z7sMxI)?@%}M= z=C8-Ej(YbZT2+`O%Q}57YWtbA#fS6TW3bWbp|>V{8PhcT>)&l{d-iPXE$3$(Em=_L zi9h*gUEB*l-R^AtWWDl(sbM#-bge#@z=cIEpo(gKz9j#&gRPl2-M6!dUtc=KogKGj k=7&%B<~O$&yi`}x7dxplx$Y0o$mdS1vCjH@+L{;t0blm;N&o-= literal 0 HcmV?d00001 diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/element/color.json b/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/element/color.json index 3c712962d..5080c5f61 100644 --- a/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/element/color.json +++ b/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/element/color.json @@ -3,6 +3,10 @@ { "name": "start_window_background", "value": "#FFFFFF" + }, + { + "name": "Pink", + "value": "#ffc0cb" } ] } \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/element/string.json b/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/element/string.json index 65d8fa5a7..8cb3d994d 100644 --- a/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/element/string.json +++ b/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/element/string.json @@ -11,6 +11,22 @@ { "name": "TestAbility_label", "value": "test label" + }, + { + "name": "Font_size", + "value": "5vp" + }, + { + "name": "Font_pristina", + "value": "pristina" + }, + { + "name": "color_yellow", + "value": "#FFDDD52F" + }, + { + "name": "size_30", + "value": "30vp" } ] } \ No newline at end of file diff --git a/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/profile/test_pages.json b/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/profile/test_pages.json index 0b237d22d..25f0315c4 100644 --- a/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/profile/test_pages.json +++ b/function/ui_compare/uicompare/entry/src/ohosTest/resources/base/profile/test_pages.json @@ -3,8 +3,16 @@ "testability/pages/Index", "testability/pages/demo", "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface001", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface002", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface003", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface004", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface005", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface006", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface007", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface008", "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface009", "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface010", + "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface011", "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface012", "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface013", "testability/pages/UIAttributeFontInterface/UIAttributeFontInterface014", @@ -53,6 +61,113 @@ "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface028", "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface029", "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface030", - "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface031" + "testability/pages/UIComponentLayoutColumnInterface/UIComponentLayoutColumnInterface031", + "testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage001", + "testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage002", + "testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage003", + "testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage004", + "testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage005", + "testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage006", + "testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage007", + "testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage008", + "testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage009", + "testability/pages/UIAttributeFontSupportStage/UIAttributeFontSupportStage010", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface009", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface010", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface012", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface013", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface014", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface015", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface016", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface017", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface019", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface020", + "testability/pages/UIComponentDividerBlankInterface/UIComponentDividerBlankInterface022", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle085", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle086", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle087", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle088", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle089", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle090", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle095", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle096", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle097", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle098", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle099", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle100", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle101", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle102", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle103", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle104", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle105", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle106", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle107", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle108", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle109", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle110", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle111", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle112", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle113", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle114", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle121", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle122", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle123", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle124", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle125", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle126", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle127", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle128", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle129", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle130", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle131", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle132", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle133", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle134", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle135", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle136", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle137", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle138", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle139", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle140", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle141", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle142", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle143", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle144", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle149", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle150", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle151", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle152", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle153", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle154", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle155", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle156", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle157", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle158", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle159", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle160", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle161", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle162", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle163", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle164", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle165", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle166", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle167", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle168", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle169", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle170", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle171", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle172", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle173", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle174", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle175", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle176", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle177", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle178", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle179", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle180", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle181", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle182", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle183", + "testability/pages/UIComponentTextCommonTextStyle/UIComponentTextCommonTextStyle184" ] } -- Gitee