提交 074910a7 编写于 作者: 华华小仙女

Remove Spaces

Signed-off-by: N华华小仙女 <zhurong18@h-partners.com>
上级 81b45269
...@@ -1477,10 +1477,10 @@ export default function windowCallbackTest(context, windowStage, abilityStorage) ...@@ -1477,10 +1477,10 @@ export default function windowCallbackTest(context, windowStage, abilityStorage)
done(); done();
}) })
/** /**
* @tc.number SUB_WINDOW_SNAPSHOT_JSAPI_002 * @tc.number SUB_WINDOW_SNAPSHOT_JSAPI_002
* @tc.name Test snapshotTest2 * @tc.name Test snapshotTest2
* @tc.desc Scenario of screenshot of verification window * @tc.desc Scenario of screenshot of verification window
*/ */
it('snapshotTest2', 0, async function (done) { it('snapshotTest2', 0, async function (done) {
let caseName = 'snapshotTest2'; let caseName = 'snapshotTest2';
let msgStr = 'jsunittest ' + caseName + ' '; let msgStr = 'jsunittest ' + caseName + ' ';
...@@ -1558,12 +1558,12 @@ export default function windowCallbackTest(context, windowStage, abilityStorage) ...@@ -1558,12 +1558,12 @@ export default function windowCallbackTest(context, windowStage, abilityStorage)
controller.animationForShown = (context: ohosWindow.TransitionContext) => { controller.animationForShown = (context: ohosWindow.TransitionContext) => {
let toWindow = context.toWindow let toWindow = context.toWindow
animateTo({ animateTo({
duration: 1000, // 动画时长 duration: 1000,
tempo: 0.5, // 播放速率 tempo: 0.5,
curve: Curve.EaseInOut, // 动画曲线 curve: Curve.EaseInOut,
delay: 0, // 动画延迟 delay: 0,
iterations: 1, // 播放次数 iterations: 1,
playMode: PlayMode.Normal, // 动画模式 playMode: PlayMode.Normal,
}, () => { }, () => {
var obj: ohosWindow.TranslateOptions; var obj: ohosWindow.TranslateOptions;
obj.x = 100.0; obj.x = 100.0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册