未验证 提交 8f0f9fd7 编写于 作者: O openharmony_ci 提交者: Gitee

!5608 【杂散】【屏幕锁屏】screenLock新增一个接口,将ON和OFF用例下架,优化time模块用例 ,挑单到beta3

Merge pull request !5608 from 张育帅/cherry-pick-1663839163
......@@ -42,7 +42,6 @@ export default function ScreenLockPromiseTest(){
*/
it("SUB_MISC_THEME_screenLock_API_Promise_001", 0, async function (done) {
console.info("------------------start SUB_MISC_THEME_screenLock_API_Promise_001-------------------");
let isScreenLocked = true;
try {
screenLock.isScreenLocked().then((data) => {
console.info("SUB_MISC_THEME_screenLock_API_Promise_001 isScreenLocked result is " + data);
......@@ -66,7 +65,6 @@ export default function ScreenLockPromiseTest(){
*/
it("SUB_MISC_THEME_screenLock_API_Promise_002", 0, async function (done) {
console.info("------------------start SUB_MISC_THEME_screenLock_API_Promise_002-------------------");
let isScreenLocked = false;
try {
screenLock.isScreenLocked().then((data) => {
console.info("SUB_MISC_THEME_screenLock_API_Promise_002 isScreenLocked result is " + data);
......@@ -173,6 +171,5 @@ export default function ScreenLockPromiseTest(){
console.info("------------------end SUB_MISC_THEME_screenLock_API_Promise_005-------------------");
done();
});
})
}
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import {describe, it, expect} from "hypium/index"
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium';
import systemTime from "@ohos.systemTime";
export default function systemTimeJsunit() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册