提交 c92a5650 编写于 作者: D dy

add permission for getAbilityInfo

Signed-off-by: Ndy <dingyao5@huawei.com>
上级 b187dc2c
...@@ -105,7 +105,7 @@ export default function GetabilityInfo() { ...@@ -105,7 +105,7 @@ export default function GetabilityInfo() {
mData = data mData = data
console.info('[bundle_GetabilityInfo_test_0300] getApplicationInfo in '); console.info('[bundle_GetabilityInfo_test_0300] getApplicationInfo in ');
console.info('[bundle_GetabilityInfo_test_0300] getApplicationInfo promise data is: ' + JSON.stringify(data)); console.info('[bundle_GetabilityInfo_test_0300] getApplicationInfo promise data is: ' + JSON.stringify(data));
expect(mData).assertEqual(false); expect(typeof (mData)).assertEqual("object");
}).catch((error) => { }).catch((error) => {
err = error err = error
console.error('[bundle_GetabilityInfo_test_0300]Operation failed. Cause: ' + JSON.stringify(error)); console.error('[bundle_GetabilityInfo_test_0300]Operation failed. Cause: ' + JSON.stringify(error));
...@@ -118,7 +118,6 @@ export default function GetabilityInfo() { ...@@ -118,7 +118,6 @@ export default function GetabilityInfo() {
done(); done();
}); });
/* /*
* @tc.number: bundle_getAllApplicationInfo_test_0400 * @tc.number: bundle_getAllApplicationInfo_test_0400
* @tc.name: getAbilityInfo : The basic ability is enhanced to obtain the specified Ability information * @tc.name: getAbilityInfo : The basic ability is enhanced to obtain the specified Ability information
...@@ -194,7 +193,6 @@ export default function GetabilityInfo() { ...@@ -194,7 +193,6 @@ export default function GetabilityInfo() {
done(); done();
}); });
/** /**
* 打印AbilityInfo属性信息 * 打印AbilityInfo属性信息
* @param data * @param data
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册