@@ -27,138 +27,127 @@ export function GetCaseInfo(caseName) {
returnallCase[caseName].info;
}
varMY_PERMISSIONS_REQUEST_PERMISSION=1;
varallCase={
AppPermission_0100:{
func:AppPermission_0100,
info:"Verify that a system_grand system`s permission(ohos.permission.GET_NETWORK_INFO) is automatically requested during installation."
ACTS_AppPermission_0100:{
func:ACTS_AppPermission_0100,
info:"Verify that a system_grant system`s permission(ohos.permission.GET_NETWORK_INFO) is automatically requested during installation."
},
AppPermission_0200:{
func:AppPermission_0200,
info:"Verify that a system_grand system`s permission(ohos.permission.GET_NETWORK_INFO) is automatically requested during installation."
ACTS_AppPermission_0200:{
func:ACTS_AppPermission_0200,
info:"Verify that a system_grant system`s permission(ohos.permission.GET_NETWORK_INFO) is automatically requested during installation."
},
AppPermission_0300:{
func:AppPermission_0300,
info:"Verify that a user_grand system`s permission(ohos.permission.CAMERA) is not automatically requested during installation."
ACTS_AppPermission_0300:{
func:ACTS_AppPermission_0300,
info:"Verify that a user_grant system`s permission(ohos.permission.CAMERA) is not automatically requested during installation."
},
AppPermission_0400:{
func:AppPermission_0400,
info:"Verify that a user_grand system`s permission(ohos.permission.CAMERA) is not automatically requested during installation."
ACTS_AppPermission_0400:{
func:ACTS_AppPermission_0400,
info:"Verify that a user_grant system`s permission(ohos.permission.CAMERA) is not automatically requested during installation."
},
AppPermission_0500:{
func:AppPermission_0500,
info:"Verify that a system_grand user`s permission(com.amsst.permission.SYSPERMISSION) is automatically requested during installation."
ACTS_AppPermission_0500:{
func:ACTS_AppPermission_0500,
info:"Verify that a system_grant user`s permission(com.amsst.permission.SYSPERMISSION) is automatically requested during installation."
},
AppPermission_0600:{
func:AppPermission_0600,
info:"Verify that a system_grand user`s permission(com.amsst.permission.SYSPERMISSION) is automatically requested during installation."
ACTS_AppPermission_0600:{
func:ACTS_AppPermission_0600,
info:"Verify that a system_grant user`s permission(com.amsst.permission.SYSPERMISSION) is automatically requested during installation."
},
AppPermission_0700:{
func:AppPermission_0700,
info:"Verify that a system_grand system`s permission(ohos.permission.GET_NETWORK_INFO) is automatically requested during installation."
ACTS_AppPermission_0700:{
func:ACTS_AppPermission_0700,
info:"Verify that a system_grant system`s permission(ohos.permission.GET_NETWORK_INFO) is automatically requested during installation."
},
AppPermission_0800:{
func:AppPermission_0800,
info:"Verify that a system_grand system`s permission(ohos.permission.GET_NETWORK_INFO) is automatically requested during installation."
ACTS_AppPermission_0800:{
func:ACTS_AppPermission_0800,
info:"Verify that a system_grant system`s permission(ohos.permission.GET_NETWORK_INFO) is automatically requested during installation."
},
AppPermission_0900:{
func:AppPermission_0900,
info:"Verify that a user_grand system`s permission(ohos.permission.CAMERA) is not automatically requested during installation."
ACTS_AppPermission_0900:{
func:ACTS_AppPermission_0900,
info:"Verify that a user_grant system`s permission(ohos.permission.CAMERA) is not automatically requested during installation."
},
AppPermission_1000:{
func:AppPermission_1000,
info:"Verify that a user_grand system`s permission(ohos.permission.CAMERA) is not automatically requested during installation."
ACTS_AppPermission_1000:{
func:ACTS_AppPermission_1000,
info:"Verify that a user_grant system`s permission(ohos.permission.CAMERA) is not automatically requested during installation."
},
AppPermission_1100:{
func:AppPermission_1100,
info:"Verify that a system_grand user`s permission(com.amsst.permission.SYSPERMISSION) is automatically requested during installation."
ACTS_AppPermission_1100:{
func:ACTS_AppPermission_1100,
info:"Verify that a system_grant user`s permission(com.amsst.permission.SYSPERMISSION) is automatically requested during installation."
},
AppPermission_1200:{
func:AppPermission_1200,
info:"Verify that a system_grand user`s permission(com.amsst.permission.SYSPERMISSION) is automatically requested during installation."
ACTS_AppPermission_1200:{
func:ACTS_AppPermission_1200,
info:"Verify that a system_grant user`s permission(com.amsst.permission.SYSPERMISSION) is automatically requested during installation."
},
AppPermission_1300:{
func:AppPermission_1300,
info:"Verify that calling application(different application in the same device) is requested the system_grand system`s permission(ohos.permission.GET_NETWORK_INFO)"
ACTS_AppPermission_1300:{
func:ACTS_AppPermission_1300,
info:"Verify that calling application(different application in the same device) is requested the system_grant system`s permission(ohos.permission.GET_NETWORK_INFO)"
},
AppPermission_1400:{
func:AppPermission_1400,
info:"Verify that calling application(different application in the same device) is requested the system_grand system`s permission(ohos.permission.GET_NETWORK_INFO)"
ACTS_AppPermission_1400:{
func:ACTS_AppPermission_1400,
info:"Verify that calling application(different application in the same device) is requested the system_grant system`s permission(ohos.permission.GET_NETWORK_INFO)"
},
AppPermission_1500:{
func:AppPermission_1500,
info:"Verify that calling application(different application in the same device) is not requested the user_grand system`s permission(ohos.permission.CAMERA)"
ACTS_AppPermission_1500:{
func:ACTS_AppPermission_1500,
info:"Verify that calling application(different application in the same device) is not requested the user_grant system`s permission(ohos.permission.CAMERA)"
},
AppPermission_1600:{
func:AppPermission_1600,
info:"Verify that calling application(different application in the same device) is not requested the user_grand system`s permission(ohos.permission.CAMERA)"
ACTS_AppPermission_1600:{
func:ACTS_AppPermission_1600,
info:"Verify that calling application(different application in the same device) is not requested the user_grant system`s permission(ohos.permission.CAMERA)"
},
AppPermission_1700:{
func:AppPermission_1700,
info:"Verify that calling application(different application in the same device) is requested the system_grand user`s permission(com.amsst.permission.SYSPERMISSION)"
ACTS_AppPermission_1700:{
func:ACTS_AppPermission_1700,
info:"Verify that calling application(different application in the same device) is requested the system_grant user`s permission(com.amsst.permission.SYSPERMISSION)"
},
AppPermission_1800:{
func:AppPermission_1800,
info:"Verify that calling application(different application in the same device) is requested the system_grand user`s permission(com.amsst.permission.SYSPERMISSION)"
ACTS_AppPermission_1800:{
func:ACTS_AppPermission_1800,
info:"Verify that calling application(different application in the same device) is requested the system_grant user`s permission(com.amsst.permission.SYSPERMISSION)"
},
AppPermission_1900:{
func:AppPermission_1900,
info:"Verify that application without calling application(other device) is requested the system_grand system`s permission(ohos.permission.GET_NETWORK_INFO)"
ACTS_AppPermission_1900:{
func:ACTS_AppPermission_1900,
info:"Verify that application without calling application(other device) is requested the system_grant system`s permission(ohos.permission.GET_NETWORK_INFO)"
},
AppPermission_2000:{
func:AppPermission_2000,
info:"Verify that application without calling application(other device) is requested the system_grand system`s permission(ohos.permission.GET_NETWORK_INFO)"
ACTS_AppPermission_2000:{
func:ACTS_AppPermission_2000,
info:"Verify that application without calling application(other device) is requested the system_grant system`s permission(ohos.permission.GET_NETWORK_INFO)"
},
AppPermission_2100:{
func:AppPermission_2100,
info:"Verify that application without calling application(other device) is not requested the system_grand system`s permission(ohos.permission.GET_WIFI_INFO)"
ACTS_AppPermission_2100:{
func:ACTS_AppPermission_2100,
info:"Verify that application without calling application(other device) is not requested the system_grant system`s permission(ohos.permission.GET_WIFI_INFO)"
},
AppPermission_2200:{
func:AppPermission_2200,
info:"Verify that application without calling application(other device) is not requested the system_grand system`s permission(ohos.permission.GET_WIFI_INFO)"
ACTS_AppPermission_2200:{
func:ACTS_AppPermission_2200,
info:"Verify that application without calling application(other device) is not requested the system_grant system`s permission(ohos.permission.GET_WIFI_INFO)"
},
AppPermission_2300:{
func:AppPermission_2300,
info:"Verify that a system_grand system`s permission(ohos.permission.GET_NETWORK_INFO) can not requested during runtime."
ACTS_AppPermission_2300:{
func:ACTS_AppPermission_2300,
info:"Verify that a system_grant system`s permission(ohos.permission.GET_NETWORK_INFO) can not requested during runtime."
},
AppPermission_2400:{
func:AppPermission_2400,
info:"Verify that a system_grand system`s permission(ohos.permission.GET_NETWORK_INFO) can not requested during runtime."
ACTS_AppPermission_2400:{
func:ACTS_AppPermission_2400,
info:"Verify that a system_grant system`s permission(ohos.permission.GET_NETWORK_INFO) can not requested during runtime."
},
AppPermission_2500:{
func:AppPermission_2500,
info:"Verify that a user_grand system`s permission(ohos.permission.CAMERA) can requested during runtime."
ACTS_AppPermission_2500:{
func:ACTS_AppPermission_2500,
info:"Verify that a user_grant system`s permission(ohos.permission.CAMERA) can requested during runtime."
},
AppPermission_2600_ResPermission:{
func:AppPermission_2600_ResPermission,
info:"Request Permission CAMERA."
ACTS_AppPermission_2600:{
func:ACTS_AppPermission_2600,
info:"Verify that a user_grant system`s permission(ohos.permission.CAMERA) can requested during runtime."
},
AppPermission_2600:{
func:AppPermission_2600,
info:"Verify that a user_grand system`s permission(ohos.permission.PERMISSIONA) can requested during runtime."
ACTS_AppPermission_2700:{
func:ACTS_AppPermission_2700,
info:"Verify that a user_grant system`s permission(ohos.permission.PERMISSIOND) can requested during runtime."
@@ -29,40 +29,41 @@ export function GetCaseInfo(caseName) {
}
varallCase={
AppPermission_1300:{
func:AppPermission_1300,
info:"Verify that a system_grand system`s permission(ohos.permission.GET_NETWORK_INFO) is automatically requested during installation."
ACTS_AppPermission_1300:{
func:ACTS_AppPermission_1300,
info:"Verify that calling application(different application in the same device) is requested the system_grant system`s permission(ohos.permission.GET_NETWORK_INFO)."
},
AppPermission_1400:{
func:AppPermission_1400,
info:""
ACTS_AppPermission_1400:{
func:ACTS_AppPermission_1400,
info:"Verify that calling application(different application in the same device) is requested the system_grant system`s permission(ohos.permission.GET_NETWORK_INFO)."
},
AppPermission_1500:{
func:AppPermission_1500,
info:""
ACTS_AppPermission_1500:{
func:ACTS_AppPermission_1500,
info:"Verify that calling application(different application in the same device) is not requested the user_grant system`s permission(ohos.permission.CAMERA)."
},
AppPermission_1600:{
func:AppPermission_1600,
info:""
ACTS_AppPermission_1600:{
func:ACTS_AppPermission_1600,
info:"Verify that calling application(different application in the same device) is not requested the user_grant system`s permission(ohos.permission.CAMERA)."
},
AppPermission_1700:{
func:AppPermission_1700,
info:""
ACTS_AppPermission_1700:{
func:ACTS_AppPermission_1700,
info:"Verify that calling application(different application in the same device) is requested the system_grant user`s permission(com.amsst.permission.SYSPERMISSION)."
},
AppPermission_1800:{
func:AppPermission_1800,
info:""
ACTS_AppPermission_1800:{
func:ACTS_AppPermission_1800,
info:"Verify that calling application(different application in the same device) is requested the system_grant user`s permission(com.amsst.permission.SYSPERMISSION)."
},
}
asyncfunctionAppPermission_1300(thisobj){
varthisFunctionName=AppPermission_1300.name
asyncfunctionACTS_AppPermission_1300(thisobj){
varthisFunctionName=ACTS_AppPermission_1300.name
thisobj.logmessage=""
thisobj.logmessage+="run test case "+thisFunctionName+"\n"