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

!6410 【XTS】【事件通知子系统】add ContentType _ monthly

Merge pull request !6410 from zhijianwen/monthly_20221018
...@@ -524,6 +524,11 @@ describe('secondaryDirectoryTest', function () { ...@@ -524,6 +524,11 @@ describe('secondaryDirectoryTest', function () {
expect(typeof flags.vibrationEnabled == 'number').assertTrue() expect(typeof flags.vibrationEnabled == 'number').assertTrue()
expect(flags.soundEnabled).assertEqual(1) expect(flags.soundEnabled).assertEqual(1)
expect(flags.vibrationEnabled).assertEqual(2) expect(flags.vibrationEnabled).assertEqual(2)
expect(notify.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT).assertEqual(0)
expect(notify.ContentType.NOTIFICATION_CONTENT_LONG_TEXT).assertEqual(1)
expect(notify.ContentType.NOTIFICATION_CONTENT_PICTURE).assertEqual(2)
expect(notify.ContentType.NOTIFICATION_CONTENT_CONVERSATION).assertEqual(3)
expect(notify.ContentType.NOTIFICATION_CONTENT_MULTILINE).assertEqual(4)
done() done()
console.info(`${TAG} SUB_NOTIFICATION_ANS_SECONDARY_DIRECTORY_TEST_1100 END`); console.info(`${TAG} SUB_NOTIFICATION_ANS_SECONDARY_DIRECTORY_TEST_1100 END`);
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册