From 742a1357cf44f01ac402a0bf6aa3bf03ddd4795b Mon Sep 17 00:00:00 2001 From: qpzeng Date: Thu, 1 Jun 2023 14:14:08 +0800 Subject: [PATCH] pinch test Signed-off-by: qpzeng Change-Id: Ie5a4eefbeae1941549598197b6134b2188e6b5ce --- testfwk/uitestScene/entry/src/main/ets/pages/Index.ets | 2 +- .../entry/src/main/ets/pages/{screen.ets => pinch.ets} | 2 +- .../entry/src/main/resources/base/profile/main_pages.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename testfwk/uitestScene/entry/src/main/ets/pages/{screen.ets => pinch.ets} (98%) diff --git a/testfwk/uitestScene/entry/src/main/ets/pages/Index.ets b/testfwk/uitestScene/entry/src/main/ets/pages/Index.ets index 0f25a7432..8a21cf4dd 100644 --- a/testfwk/uitestScene/entry/src/main/ets/pages/Index.ets +++ b/testfwk/uitestScene/entry/src/main/ets/pages/Index.ets @@ -113,7 +113,7 @@ struct ScrollExample { } }) .onClick(() => { - router.push({ uri: 'pages/screen' }) + router.push({ uri: 'pages/pinch' }) }) .gesture( LongPressGesture({ repeat: false }) diff --git a/testfwk/uitestScene/entry/src/main/ets/pages/screen.ets b/testfwk/uitestScene/entry/src/main/ets/pages/pinch.ets similarity index 98% rename from testfwk/uitestScene/entry/src/main/ets/pages/screen.ets rename to testfwk/uitestScene/entry/src/main/ets/pages/pinch.ets index 07ded458b..99ca3be81 100644 --- a/testfwk/uitestScene/entry/src/main/ets/pages/screen.ets +++ b/testfwk/uitestScene/entry/src/main/ets/pages/pinch.ets @@ -17,7 +17,7 @@ import prompt from '@ohos.prompt'; @Entry @Component -struct Screen { +struct PinchTest { @State myscale: number = 1 build() { diff --git a/testfwk/uitestScene/entry/src/main/resources/base/profile/main_pages.json b/testfwk/uitestScene/entry/src/main/resources/base/profile/main_pages.json index beee71037..48cb01e79 100644 --- a/testfwk/uitestScene/entry/src/main/resources/base/profile/main_pages.json +++ b/testfwk/uitestScene/entry/src/main/resources/base/profile/main_pages.json @@ -4,7 +4,7 @@ "pages/second", "pages/third", "pages/fourth", - "pages/screen", + "pages/pinch", "pages/drag" ] } -- GitLab