From 074910a7113f3ec229145a0abe965167c59f77c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=8E=E5=8D=8E=E5=B0=8F=E4=BB=99=E5=A5=B3?= Date: Wed, 24 Aug 2022 15:56:04 +0800 Subject: [PATCH] Remove Spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 华华小仙女 --- .../src/main/ets/test/windowCallback.test.ets | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets b/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets index 9abbc12c0..d042b76b1 100644 --- a/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets +++ b/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets @@ -1477,10 +1477,10 @@ export default function windowCallbackTest(context, windowStage, abilityStorage) done(); }) /** -* @tc.number SUB_WINDOW_SNAPSHOT_JSAPI_002 -* @tc.name Test snapshotTest2 -* @tc.desc Scenario of screenshot of verification window -*/ + * @tc.number SUB_WINDOW_SNAPSHOT_JSAPI_002 + * @tc.name Test snapshotTest2 + * @tc.desc Scenario of screenshot of verification window + */ it('snapshotTest2', 0, async function (done) { let caseName = 'snapshotTest2'; let msgStr = 'jsunittest ' + caseName + ' '; @@ -1558,12 +1558,12 @@ export default function windowCallbackTest(context, windowStage, abilityStorage) controller.animationForShown = (context: ohosWindow.TransitionContext) => { let toWindow = context.toWindow animateTo({ - duration: 1000, // 动画时长 - tempo: 0.5, // 播放速率 - curve: Curve.EaseInOut, // 动画曲线 - delay: 0, // 动画延迟 - iterations: 1, // 播放次数 - playMode: PlayMode.Normal, // 动画模式 + duration: 1000, + tempo: 0.5, + curve: Curve.EaseInOut, + delay: 0, + iterations: 1, + playMode: PlayMode.Normal, }, () => { var obj: ohosWindow.TranslateOptions; obj.x = 100.0; -- GitLab