提交 9eee3ffa 编写于 作者: Q qigongming

用例修改

Signed-off-by: Nqigongming <qigongming@huawei.com>
Change-Id: I5094e7ecafe21288df49ef95dd1eb31a9d7fb838
上级 6da1e9de
......@@ -369,11 +369,15 @@ describe('ReminderAgentTest', function () {
* @tc.desc Adds a reminder notification slot with the callback function.
*/
it('testAddNotificationSlotNorFun011', 0, async function (done) {
function reminderCallback(err, data) {
let i = 0;
expect(0).assertEqual(i);
}
reminderAgent.addNotificationSlot(0, reminderCallback);
try {
function reminderCallback(err, data) {
let i = 0;
expect(0).assertEqual(i);
}
reminderAgent.addNotificationSlot(0, reminderCallback);
} catch(error) {
console.info('testAddNotificationSlotNorFun011 slot err.code')
}
done();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册