未验证 提交 5114e0f5 编写于 作者: O openharmony_ci 提交者: Gitee

!2803 getAbilityIcon用例修复

Merge pull request !2803 from 李嘉滢/master
......@@ -1295,7 +1295,11 @@ describe('ActsBmsFormsInfoTest', function () {
*/
it('bms_getAbilityIcon_0200', 0, async function (done) {
bundle.getAbilityIcon(BUNDLE_NAME6, ABILITIY_NAME, (err, pixelmap) => {
expect(err).assertFail()
if (err) {
console.info("getAbilityIcon fail:" + JSON.stringify(err))
expect(err).assertFail()
}
console.info('bms_getAbilityIcon_0200 success: ' + JSON.stringify(pixelmap))
expect(pixelmap !== null).assertTrue()
done()
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册