未验证 提交 9d79df53 编写于 作者: O openharmony_ci 提交者: Gitee

!9133 test: 添加isStandby接口测试用例

Merge pull request !9133 from liangjunhao/master
......@@ -186,5 +186,16 @@ describe('PowerManagerPowerTest', function () {
console.info('suspend success done');
done();
})
/**
* @tc.number SUB_PowerSystem_PowerManager_JSTest_0094
* @tc.name power_Device_IsStandby_JSTest094
* @tc.desc Device isStandby interface verification
*/
it('power_Device_IsStandby_JSTest094', 0, function () {
let isStandby = power.isStandby();
console.info('power_Device_IsStandby_JSTest094 ' + isStandby);
expect(isStandby).assertFalse();
})
})
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册