Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
3e4417df
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
3e4417df
编写于
9月 26, 2022
作者:
O
openharmony_ci
提交者:
Gitee
9月 26, 2022
浏览文件
操作
浏览文件
下载
差异文件
!5658 电话子系统失败用例修改
Merge pull request !5658 from 李昊/OpenHarmony-3.2-Beta3
上级
16342ce5
6108e476
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
31 addition
and
104 deletion
+31
-104
telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/CallManageAll.test.js
..._manager_ims2_call/src/main/js/test/CallManageAll.test.js
+31
-32
telephony/telephonyjstest/netmanager_base/dns/signature/openharmony_sx.p7b
...nyjstest/netmanager_base/dns/signature/openharmony_sx.p7b
+0
-0
telephony/telephonyjstest/netmanager_base/dns/src/main/config.json
.../telephonyjstest/netmanager_base/dns/src/main/config.json
+0
-36
telephony/telephonyjstest/netmanager_base/jshttp/signature/openharmony_sx.p7b
...stest/netmanager_base/jshttp/signature/openharmony_sx.p7b
+0
-0
telephony/telephonyjstest/netmanager_base/jshttp/src/main/config.json
...lephonyjstest/netmanager_base/jshttp/src/main/config.json
+0
-36
telephony/telephonyjstest/netmanager_base/system_fetch/signature/openharmony_sx.p7b
...netmanager_base/system_fetch/signature/openharmony_sx.p7b
+0
-0
未找到文件。
telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/CallManageAll.test.js
浏览文件 @
3e4417df
...
...
@@ -261,38 +261,6 @@ describe('CallManageImsCall', function () {
});
/**
* @tc.number Telephony_CallManager_controlCamera_Async_0200
* @tc.name Dial a call and after answering the call,run function controlCamera by
* args cameraId CARMER_ID_NOT_EXIT by callback,
* the callback function return error
* @tc.desc Function test
*/
it
(
'
Telephony_CallManager_controlCamera_Async_0200
'
,
0
,
function
(
done
)
{
let
caseName
=
'
Telephony_CallManager_controlCamera_Async_0200
'
;
scenceInCalling
({
caseName
:
caseName
,
phoneNumber
:
AUTO_ACCEPT_NUMBER2
,
checkState
:
CALL_STATUS_DIALING
}).
then
(
data
=>
{
callId
=
data
.
callId
;
let
cameraId
=
CARMER_ID_NOT_EXIT
;
call
.
controlCamera
(
cameraId
,
(
error
)
=>
{
if
(
error
)
{
console
.
log
(
`
${
caseName
}
error,case success,error:
${
toString
(
error
)}
`
);
hangupCall2
(
caseName
,
done
,
callId
);
return
;
}
console
.
log
(
`
${
caseName
}
case failed`
);
expect
().
assertFail
();
hangupCall2
(
caseName
,
done
,
callId
);
});
}).
catch
(
error
=>
{
console
.
log
(
`
${
caseName
}
scenceInCalling error ,case failed,error:
${
toString
(
error
)}
`
);
done
();
});
});
/**
* @tc.number Telephony_CallManager_controlCamera_Promise_0200
* @tc.name Dial a call and after answering the call,run function controlCamera by args cameraId
...
...
@@ -915,5 +883,36 @@ describe('CallManageImsCall', function () {
done
();
}
});
/**
* @tc.number Telephony_CallManager_controlCamera_Async_0200
* @tc.name Dial a call and after answering the call,run function controlCamera by
* args cameraId CARMER_ID_NOT_EXIT by callback,
* the callback function return error
* @tc.desc Function test
*/
it
(
'
Telephony_CallManager_controlCamera_Async_0200
'
,
0
,
function
(
done
)
{
let
caseName
=
'
Telephony_CallManager_controlCamera_Async_0200
'
;
scenceInCalling
({
caseName
:
caseName
,
phoneNumber
:
AUTO_ACCEPT_NUMBER2
,
checkState
:
CALL_STATUS_DIALING
}).
then
(
data
=>
{
callId
=
data
.
callId
;
let
cameraId
=
CARMER_ID_NOT_EXIT
;
call
.
controlCamera
(
cameraId
,
(
error
)
=>
{
if
(
error
)
{
console
.
log
(
`
${
caseName
}
error,case success,error:
${
toString
(
error
)}
`
);
hangupCall2
(
caseName
,
done
,
callId
);
return
;
}
console
.
log
(
`
${
caseName
}
case failed`
);
expect
().
assertFail
();
hangupCall2
(
caseName
,
done
,
callId
);
});
}).
catch
(
error
=>
{
console
.
log
(
`
${
caseName
}
scenceInCalling error ,case failed,error:
${
toString
(
error
)}
`
);
done
();
});
});
});
}
\ No newline at end of file
telephony/telephonyjstest/netmanager_base/dns/signature/openharmony_sx.p7b
浏览文件 @
3e4417df
无法预览此类型文件
telephony/telephonyjstest/netmanager_base/dns/src/main/config.json
浏览文件 @
3e4417df
...
...
@@ -65,42 +65,6 @@
}
],
"reqPermissions"
:
[
{
"name"
:
"ohos.permission.LOCATION"
,
"reason"
:
"need use ohos.permission.LOCATION"
},
{
"name"
:
"ohos.permission.SET_TELEPHONY_STATE"
,
"reason"
:
"need use ohos.permission.SET_TELEPHONY_STATE"
},
{
"name"
:
"ohos.permission.GET_TELEPHONY_STATE"
,
"reason"
:
"need use ohos.permission.GET_TELEPHONY_STATE"
},
{
"name"
:
"ohos.permission.PLACE_CALL"
,
"reason"
:
"need use ohos.permission.PLACE_CALL"
},
{
"name"
:
"ohos.permission.READ_CONTACTS"
,
"reason"
:
"need use ohos.permission.READ_CONTACTS"
},
{
"name"
:
"ohos.permission.WRITE_CONTACTS"
,
"reason"
:
"need use ohos.permission.WRITE_CONTACTS"
},
{
"name"
:
"ohos.permission.SEND_MESSAGES"
,
"reason"
:
"need use ohos.permission.SEND_MESSAGES"
},
{
"name"
:
"ohos.permission.RECEIVE_SMS"
,
"reason"
:
"need use ohos.permission.RECEIVE_SMS"
},
{
"name"
:
"ohos.permission.READ_CALL_LOG"
,
"reason"
:
"need use ohos.permission.READ_CALL_LOG"
},
{
"name"
:
"ohos.permission.GET_NETWORK_INFO"
,
"reason"
:
"need use ohos.permission.GET_NETWORK_INFO"
...
...
telephony/telephonyjstest/netmanager_base/jshttp/signature/openharmony_sx.p7b
浏览文件 @
3e4417df
无法预览此类型文件
telephony/telephonyjstest/netmanager_base/jshttp/src/main/config.json
浏览文件 @
3e4417df
...
...
@@ -65,42 +65,6 @@
}
],
"reqPermissions"
:
[
{
"name"
:
"ohos.permission.LOCATION"
,
"reason"
:
"need use ohos.permission.LOCATION"
},
{
"name"
:
"ohos.permission.SET_TELEPHONY_STATE"
,
"reason"
:
"need use ohos.permission.SET_TELEPHONY_STATE"
},
{
"name"
:
"ohos.permission.GET_TELEPHONY_STATE"
,
"reason"
:
"need use ohos.permission.GET_TELEPHONY_STATE"
},
{
"name"
:
"ohos.permission.PLACE_CALL"
,
"reason"
:
"need use ohos.permission.PLACE_CALL"
},
{
"name"
:
"ohos.permission.READ_CONTACTS"
,
"reason"
:
"need use ohos.permission.READ_CONTACTS"
},
{
"name"
:
"ohos.permission.WRITE_CONTACTS"
,
"reason"
:
"need use ohos.permission.WRITE_CONTACTS"
},
{
"name"
:
"ohos.permission.SEND_MESSAGES"
,
"reason"
:
"need use ohos.permission.SEND_MESSAGES"
},
{
"name"
:
"ohos.permission.RECEIVE_SMS"
,
"reason"
:
"need use ohos.permission.RECEIVE_SMS"
},
{
"name"
:
"ohos.permission.READ_CALL_LOG"
,
"reason"
:
"need use ohos.permission.READ_CALL_LOG"
},
{
"name"
:
"ohos.permission.GET_NETWORK_INFO"
,
"reason"
:
"need use ohos.permission.GET_NETWORK_INFO"
...
...
telephony/telephonyjstest/netmanager_base/system_fetch/signature/openharmony_sx.p7b
浏览文件 @
3e4417df
无法预览此类型文件
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录