提交 89ec6b61 编写于 作者: D daiweiqi 提交者: 戴伟琦
上级 dd9808e9
......@@ -16,7 +16,6 @@ import notification from '@ohos.notification'
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
const TIMEOUT = 2000;
const SOUNDURL = "file://system/etc/Light.ogg";
describe('ActsAnsGetSlotTestPromise', function () {
/*
......@@ -46,7 +45,6 @@ describe('ActsAnsGetSlotTestPromise', function () {
expect(data.bypassDnd).assertEqual(false);
expect(data.lockscreenVisibility).assertEqual(2);
expect(data.vibrationEnabled).assertEqual(true);
expect(data.sound).assertEqual(SOUNDURL);
expect(data.lightEnabled).assertEqual(false);
expect(data.lightColor).assertEqual(0);
console.debug("====>getSlot ActsAnsGetSlotTestPromise_0100 finish====>");
......@@ -89,7 +87,6 @@ describe('ActsAnsGetSlotTestPromise', function () {
expect(data.bypassDnd).assertEqual(false);
expect(data.lockscreenVisibility).assertEqual(2);
expect(data.vibrationEnabled).assertEqual(true);
expect(data.sound).assertEqual(SOUNDURL);
expect(data.lightEnabled).assertEqual(false);
expect(data.lightColor).assertEqual(0);
console.debug("====>getSlot Promise SERVICE_INFORMATION ActsAnsGetSlotTestPromise_0200 finish====>");
......@@ -132,7 +129,6 @@ describe('ActsAnsGetSlotTestPromise', function () {
expect(data.bypassDnd).assertEqual(false);
expect(data.lockscreenVisibility).assertEqual(3);
expect(data.vibrationEnabled).assertEqual(false);
expect(data.sound).assertEqual("");
expect(data.lightEnabled).assertEqual(false);
expect(data.lightColor).assertEqual(0);
console.debug("====>getSlot Promise CONTENT_INFORMATION ActsAnsGetSlotTestPromise_0300 finish====>");
......
......@@ -9,7 +9,7 @@
"kits": [
{
"test-file-name": [
"ActsAnsNotificationTest"
"ActsAnsNotificationTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册