提交 b265d057 编写于 作者: D dhc-123

test

Signed-off-by: Ndhc-123 <duanhaochen2@huawei.com>
上级 155d7b4e
...@@ -37,12 +37,12 @@ describe('window_test', function(){ ...@@ -37,12 +37,12 @@ describe('window_test', function(){
*/ */
it('moveTestNegative',0,function(){ it('moveTestNegative',0,function(){
console.log('jsunittest moveTestNegative begin') console.log('jsunittest moveTestNegative begin')
window.getTopwindow().then(wnd => { window.getTopwindow().then(wnd=>{
console.log('jsunittest moveTestNegative getTopwindow wnd: ' + wnd) console.log('jsunittest moveTestNegative getTopwindow wnd: ' + wnd)
wnd.moveTo(-200,-200).then(() => { wnd.moveTo(-200,-200).then(()=>{
console.log('moveTo(-200,-200) success') console.log('moveTo(-200,-200) success')
}) })
wnd.moveTo(0,0).then(() => { wnd.moveTo(0,0).then(()=>{
console.log('moveTo(0,0) success') console.log('moveTo(0,0) success')
}) })
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册