提交 3941b14c 编写于 作者: Z zwx1133214

ans-remove

Signed-off-by: Nzwx1133214 <zhijianwen@huawei.com>
上级 6e7da105
...@@ -891,7 +891,7 @@ describe('ActsAnsNotificationRemove', function () { ...@@ -891,7 +891,7 @@ describe('ActsAnsNotificationRemove', function () {
console.info("=======ANS_Remove_1200 onConsume remove_2times1:=======>"); console.info("=======ANS_Remove_1200 onConsume remove_2times1:=======>");
}).catch((err)=>{ }).catch((err)=>{
console.info("=======ANS_Remove_1200 onConsume remove_2times1 err:========>" + JSON.stringify(err)); console.info("=======ANS_Remove_1200 onConsume remove_2times1 err:========>" + JSON.stringify(err));
expect(err.code = 0).assertEqual(true); expect(err.code == 0).assertEqual(true);
}); });
notify.remove(data.request.hashCode).then((data)=>{ notify.remove(data.request.hashCode).then((data)=>{
console.info("=======ANS_Remove_1200 onConsume remove_2times2 data:=======>" + JSON.stringify(data)); console.info("=======ANS_Remove_1200 onConsume remove_2times2 data:=======>" + JSON.stringify(data));
...@@ -1834,7 +1834,7 @@ describe('ActsAnsNotificationRemove', function () { ...@@ -1834,7 +1834,7 @@ describe('ActsAnsNotificationRemove', function () {
console.info("================ANS_Remove_2300 removeAllCallBack data:=========>" + JSON.stringify(data)); console.info("================ANS_Remove_2300 removeAllCallBack data:=========>" + JSON.stringify(data));
console.info("================ANS_Remove_2300 removeAllCallBack end:==========>") console.info("================ANS_Remove_2300 removeAllCallBack end:==========>")
} }
var timesOfOnConsumeRemoveAll let timesOfOnConsumeRemoveAll
function onConsumeRemoveAll(data) { function onConsumeRemoveAll(data) {
timesOfOnConsumeRemoveAll = timesOfOnConsumeRemoveAll + 1 timesOfOnConsumeRemoveAll = timesOfOnConsumeRemoveAll + 1
console.info("================ANS_Remove_2300 onConsume start==================>"); console.info("================ANS_Remove_2300 onConsume start==================>");
...@@ -1846,7 +1846,7 @@ describe('ActsAnsNotificationRemove', function () { ...@@ -1846,7 +1846,7 @@ describe('ActsAnsNotificationRemove', function () {
} }
console.info("================ANS_Remove_2300 onConsume end====================>"); console.info("================ANS_Remove_2300 onConsume end====================>");
} }
let timesOfOnCancelRemoveAll
function onCancelRemoveAll(data) { function onCancelRemoveAll(data) {
timesOfOnCancelRemoveAll = timesOfOnCancelRemoveAll + 1 timesOfOnCancelRemoveAll = timesOfOnCancelRemoveAll + 1
console.info("==================ANS_Remove_2300 onCancel start===========>"); console.info("==================ANS_Remove_2300 onCancel start===========>");
...@@ -1951,7 +1951,6 @@ describe('ActsAnsNotificationRemove', function () { ...@@ -1951,7 +1951,6 @@ describe('ActsAnsNotificationRemove', function () {
}),timeout); }),timeout);
}) })
var timesOfOnConsumeRemoveAll
function onConsumeRemoveAllPromise(data) { function onConsumeRemoveAllPromise(data) {
timesOfOnConsumeRemoveAll = timesOfOnConsumeRemoveAll + 1 timesOfOnConsumeRemoveAll = timesOfOnConsumeRemoveAll + 1
console.info("===========ANS_Remove_2400 onConsume start==============>"); console.info("===========ANS_Remove_2400 onConsume start==============>");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册