提交 7cfdd3c6 编写于 作者: qq_41863798's avatar qq_41863798

getAbilityIcon

Signed-off-by: qq_41863798's avatarlijiaying <1640106564@qq.com>
上级 de49830c
......@@ -1675,9 +1675,10 @@ describe('ActsBmsFormsInfoTest', function () {
* @tc.desc: get the abilityIcon
*/
it('bms_getAbilityIcon_0200', 0, async function (done) {
let pixelmap = await bundle.getAbilityIcon(BUNDLE_NAME6, ABILITIY_NAME)
console.log('bms_getAbilityIcon_0200 success: ' + pixelmap);
expect(pixelmap !== null).assertTrue()
done()
bundle.getAbilityIcon(BUNDLE_NAME6, ABILITIY_NAME, (err, pixelmap) => {
expect(err).assertFail()
expect(pixelmap !== null).assertTrue()
done()
})
})
})
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册