diff --git a/theme/screenlock_ets/entry/src/main/ets/test/screenLockTest.ets b/theme/screenlock_ets/entry/src/main/ets/test/screenLockTest.ets index cf95faaa6c90e2b1eb5ff8c155b2085df94f28a6..ec78e724d12e46ae28b3fe12b8d995267911c319 100755 --- a/theme/screenlock_ets/entry/src/main/ets/test/screenLockTest.ets +++ b/theme/screenlock_ets/entry/src/main/ets/test/screenLockTest.ets @@ -306,14 +306,12 @@ export default function screenLockJSUnit() { console.info("SUB_MISC_THEME_screenLock_API_0009 screenLock.onSystemEvent end" + data) done(); }); + console.info("SUB_MISC_THEME_screenLock_API_0009 data: " + flag); + expect( flag == true ).assertTrue(); }catch(err){ console.info("SUB_MISC_THEME_screenLock_API_0009 failed: " + JSON.stringify(err)); - expect().assertFalse(); done(); } - console.info("SUB_MISC_THEME_screenLock_API_0009 data: " + flag); - //这里的业务暂时为false,后续获取权限后为true - expect( flag == false).assertTrue(); console.info("-----------------end SUB_MISC_THEME_screenLock_API_0009--------------------"); done() });