提交 8092fcf0 编写于 作者: F fangJinliang1 提交者: FangJinliang

fixed a438af7f from https://gitee.com/fangJinliang1/xts_acts/pulls/5224

xts modify
Signed-off-by: NfangJinliang1 <fangjinliang1@huawei.com>
Change-Id: I98cf73f772f0571afa053dd2928ccbb62f6f052d
上级 6cdfe4fb
......@@ -11,10 +11,7 @@
"kits": [
{
"test-file-name": [
"ActsAnsSecondaryDirectoryTest.hap",
"FaSupplement.hap",
"StageSupplement.hap",
"FormModule.hap"
"ActsAnsSecondaryDirectoryTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
......
......@@ -50,11 +50,14 @@ describe('secondaryDirectoryTest', function () {
expect(contentType).assertEqual(notify.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT);
let flags: notify.NotificationFlags = subscribeCallback.request.notificationFlags;
console.info("===>notificationFlags: ===>" + JSON.stringify(flags));
let soundEnabled: notify.NotificationFlagStatus = flags.soundEnabled;
let vibrationEnabled: notify.NotificationFlagStatus = flags.vibrationEnabled
expect(soundEnabled).assertEqual(0);
expect(vibrationEnabled).assertEqual(0);
if (flags != undefined)
{
console.info("===>notificationFlags: ===>" + JSON.stringify(flags));
let soundEnabled: notify.NotificationFlagStatus = flags.soundEnabled;
let vibrationEnabled: notify.NotificationFlagStatus = flags.vibrationEnabled
expect(soundEnabled).assertEqual(0);
expect(vibrationEnabled).assertEqual(0);
}
}
it('ACTS_SecondaryDirectory_xts_0100', 0, async function (done) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册