提交 a06736aa 编写于 作者: W wangtiantian

IssueNo: #I5JPY7:hasInstalled complete

Description:hasInstalled complete
Sig:SIG_ApplicaitonFramework
Feature or Bugfix:Bugfix
Binary Source:No
Signed-off-by: Nwangtiantian <wangtiantian19@huawei.com>
上级 fc3b5f23
......@@ -109,12 +109,10 @@ export default function actsBmsJsUnPermissionTest() {
console.info("get hasInstalled success" + JSON.stringify(data));
flag += 1;
expect(data.result).assertTrue();
done();
},
fail: function fail(data, code) {
console.info("get hasInstalled fail" + JSON.stringify(data));
expect(data).assertFail();
done();
},
complete: function complete() {
console.info("get hasInstalled complete");
......@@ -137,12 +135,10 @@ export default function actsBmsJsUnPermissionTest() {
console.info("get hasInstalled success" + JSON.stringify(data));
flag += 1;
expect(data.result).assertFalse();
done();
},
fail: function fail(data, code) {
console.info("get hasInstalled fail" + JSON.stringify(data));
expect(data).assertFail();
done();
},
complete: function complete() {
console.info("get hasInstalled complete");
......
......@@ -36,12 +36,10 @@ describe('ActsBmsHasInstalldTest', function () {
console.info('hasInstalled success function in');
flag += 1;
expect(data.result).assertTrue();
done();
},
fail: function fail(data, code) {
console.info('hasInstalled fail function in');
expect().assertFail();
done();
},
complete: function complete() {
console.info('hasInstalled complete function in');
......@@ -64,12 +62,10 @@ describe('ActsBmsHasInstalldTest', function () {
console.info('hasInstalled success function in');
flag += 1;
expect(data.result).assertFalse();
done();
},
fail: function fail(data, code) {
console.info('hasInstalled fail function in');
expect().assertFail();
done();
},
complete: function complete() {
console.info('hasInstalled complete function in');
......@@ -107,7 +103,6 @@ describe('ActsBmsHasInstalldTest', function () {
success: function success(data) {
console.info('hasInstalled success function in');
expect().assertFail();
done();
},
fail: function fail(data, code) {
flag += 2;
......@@ -136,7 +131,6 @@ describe('ActsBmsHasInstalldTest', function () {
success: function success(data) {
console.info('hasInstalled success' + JSON.stringify(data));
expect(error).assertFail();
done();
},
complete: function complete() {
console.info('hasInstalled complete');
......@@ -156,7 +150,7 @@ describe('ActsBmsHasInstalldTest', function () {
bundleName: NUM_TWO,
success: function success(data) {
console.info('hasInstalled success' + JSON.stringify(data));
expect(error).assertFail();
expect().assertFail();
done();
},
fail: function fail(data, code) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册