Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
90d714df
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
90d714df
编写于
2月 14, 2023
作者:
O
openharmony_ci
提交者:
Gitee
2月 14, 2023
浏览文件
操作
浏览文件
下载
差异文件
!7578 电话失败用例适配
Merge pull request !7578 from zhangfuzhi/master
上级
e8816355
310de4cd
变更
2
展开全部
隐藏空白更改
内联
并排
Showing
2 changed file
with
306 addition
and
306 deletion
+306
-306
telephony/telephonyjstest/netmanager_base/register/src/main/js/test/NetworkManagerRegister.test.js
.../register/src/main/js/test/NetworkManagerRegister.test.js
+35
-35
telephony/telephonyjstest/telephony_base/call_manager/src/main/js/test/CallManagerTest.test.js
...ase/call_manager/src/main/js/test/CallManagerTest.test.js
+271
-271
未找到文件。
telephony/telephonyjstest/netmanager_base/register/src/main/js/test/NetworkManagerRegister.test.js
浏览文件 @
90d714df
...
...
@@ -35,7 +35,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
console
.
log
(
"
Telephony_NetworkManager_register_Async_0100 register
"
);
if
(
error
)
{
console
.
info
(
caseName
+
"
register fail:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
return
;
}
...
...
@@ -57,7 +57,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
console
.
log
(
"
Telephony_NetworkManager_register_Async_0100 unregister
"
);
if
(
error
)
{
console
.
info
(
caseName
+
"
register fail:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -106,7 +106,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregisterresult:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -158,7 +158,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -210,7 +210,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregisterresult:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -262,7 +262,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -314,7 +314,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregisterresult:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -366,7 +366,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -418,7 +418,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -469,7 +469,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -521,7 +521,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -574,7 +574,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -627,7 +627,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -681,7 +681,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -735,7 +735,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -788,7 +788,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -842,7 +842,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -895,7 +895,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -930,7 +930,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
return
;
}
...
...
@@ -944,7 +944,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn1
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -981,7 +981,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -1034,7 +1034,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister fail
"
+
error
);
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -1068,7 +1068,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
return
;
}
...
...
@@ -1084,14 +1084,14 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn1
.
register
(
function
(
error
)
{
if
(
error
)
{
console
.
info
(
caseName
+
"
register fail:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
return
;
}
netConn1
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -1127,7 +1127,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
return
;
}
...
...
@@ -1143,14 +1143,14 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn1
.
register
(
function
(
error
)
{
if
(
error
)
{
console
.
info
(
caseName
+
"
register fail:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
return
;
}
netConn1
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -1172,7 +1172,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
register
(
function
(
error
)
{
if
(
error
)
{
console
.
info
(
caseName
+
"
register fail:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
return
;
}
...
...
@@ -1197,7 +1197,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -1249,7 +1249,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -1270,7 +1270,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
register
(
function
(
error
)
{
if
(
error
)
{
console
.
info
(
caseName
+
"
register fail:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
return
;
}
...
...
@@ -1295,7 +1295,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
@@ -1315,7 +1315,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
register
(
function
(
error
)
{
if
(
error
)
{
console
.
info
(
caseName
+
"
register fail:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
return
;
}
...
...
@@ -1341,7 +1341,7 @@ export default function Telephony_NetworkManagerRegisterTest() {
netConn
.
unregister
((
error
)
=>
{
if
(
error
)
{
console
.
info
(
caseName
+
"
unregister result:
"
+
JSON
.
stringify
(
error
));
expect
(
).
assertFail
();
expect
(
true
).
assertFalse
();
done
();
}
done
();
...
...
telephony/telephonyjstest/telephony_base/call_manager/src/main/js/test/CallManagerTest.test.js
浏览文件 @
90d714df
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录