From 29109f0c9fc68d0cb0cce7c3c29fe1527d0e3862 Mon Sep 17 00:00:00 2001 From: nan-xiansen Date: Tue, 5 Jul 2022 15:53:33 +0800 Subject: [PATCH] =?UTF-8?q?fixed=205d30f19=20from=20https://gitee.com/nan-?= =?UTF-8?q?xiansen/xts=5Facts/pulls/4101=20=E3=80=90resourceschedule?= =?UTF-8?q?=E3=80=91=E3=80=90master=E3=80=91=E6=8F=90=E9=86=92=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E6=A8=A1=E5=9D=97=E7=94=A8=E4=BE=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nan-xiansen Change-Id: I58666d9260401cc18e68b4c80ae5e6894db45e02 --- .../js/default/test/ReminderAgentJs.test.js | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/ReminderAgentJs.test.js b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/ReminderAgentJs.test.js index 3f8af94f7..d80650cdc 100644 --- a/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/ReminderAgentJs.test.js +++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/ReminderAgentJs.test.js @@ -3085,48 +3085,6 @@ describe('ReminderAgentTest', function () { }); done(); }) - - /** - * @tc.number SUB_RESOURCESCHEDULE_REMINDER_AGENT_034 - * @tc.name testActionButtonTypeClose034 - * @tc.desc test acton butto type is close. - */ - it('testActionButtonTypeClose034', 0, async function (done) { - let timer = { - reminderType: reminderAgent.ReminderType.ACTION_BUTTON_TYPE_CLOSE, - triggerTimeInSeconds: TRIGGER_TIME_IN_SECONDS - } - let expectId = -1; - function reminderCallback(err, reminderId) { - expect(reminderId).assertEqual(expectId); - } - reminderAgent.publishReminder(timer, (err, reminderId) => { - expectId = reminderId + 1; - reminderAgent.publishReminder(timer, reminderCallback); - }) - done(); - }) - - /** - * @tc.number SUB_RESOURCESCHEDULE_REMINDER_AGENT_035 - * @tc.name testActionButtonTypeSnooze035 - * @tc.desc test acton butto type is snooze. - */ - it('testActionButtonTypeSnooze035', 0, async function (done) { - let timer = { - reminderType: reminderAgent.ReminderType.ACTION_BUTTON_TYPE_SNOOZE, - triggerTimeInSeconds: TRIGGER_TIME_IN_SECONDS - } - let expectId = -1; - function reminderCallback(err, reminderId) { - expect(reminderId).assertEqual(expectId); - } - reminderAgent.publishReminder(timer, (err, reminderId) => { - expectId = reminderId + 1; - reminderAgent.publishReminder(timer, reminderCallback); - }) - done(); - }) /** * @tc.number SUB_RESOURCESCHEDULE_REMINDER_AGENT_036 -- GitLab