提交 0116aa3c 编写于 作者: L liangjunhao

test: add isStandby acts test

Signed-off-by: Nliangjunhao <liangjunhao10@huawei.com>
上级 06833552
...@@ -186,5 +186,16 @@ describe('PowerManagerPowerTest', function () { ...@@ -186,5 +186,16 @@ describe('PowerManagerPowerTest', function () {
console.info('suspend success done'); console.info('suspend success done');
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.
先完成此消息的编辑!
想要评论请 注册