Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
a873c647
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看板
提交
a873c647
编写于
8月 11, 2022
作者:
G
gaoxi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
caseup
Signed-off-by:
N
gaoxi
<
gaoxi785@huawei.com
>
上级
2bae50b1
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
13 deletion
+13
-13
telephony/telephonyjstest/netmanager_base/register/entry/src/main/js/test/NetworkManagerRegister.test.js
...ter/entry/src/main/js/test/NetworkManagerRegister.test.js
+1
-1
telephony/telephonyjstest/network_search/network_search_errors/entry/src/main/js/test/NetworkSearchErrors.test.js
...errors/entry/src/main/js/test/NetworkSearchErrors.test.js
+6
-6
telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/test/SimManager.test.js
...r_function_test/entry/src/main/js/test/SimManager.test.js
+6
-6
未找到文件。
telephony/telephonyjstest/netmanager_base/register/entry/src/main/js/test/NetworkManagerRegister.test.js
浏览文件 @
a873c647
...
...
@@ -2206,7 +2206,7 @@
done
();
}
else
{
console
.
info
(
`
${
caseName
}
netCapabilitiesChange handle `
+
value
.
netHandle
.
netId
);
expect
(
value
.
netHandle
.
netId
>
ETH_100
).
assertTrue
();
expect
(
value
.
netHandle
.
netId
>
=
ETH_100
).
assertTrue
();
}
});
netConn
.
on
(
'
netConnectionPropertiesChange
'
,
(
value
)
=>
{
...
...
telephony/telephonyjstest/network_search/network_search_errors/entry/src/main/js/test/NetworkSearchErrors.test.js
浏览文件 @
a873c647
...
...
@@ -151,7 +151,7 @@ describe('ActsNetworkSearchTest', function () {
radio
.
getSignalInformation
(
SLOT_2
,
(
err
,
data
)
=>
{
if
(
err
)
{
console
.
log
(
`Telephony_NetworkSearch_getSignalInformation_Async_0400 fail err:
${
err
}
`
);
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
done
();
return
;
}
...
...
@@ -174,7 +174,7 @@ describe('ActsNetworkSearchTest', function () {
radio
.
getISOCountryCodeForNetwork
(
SLOT_2
,
(
err
,
data
)
=>
{
if
(
err
)
{
console
.
log
(
`Telephony_NetworkSearch_getISOCountryCodeForNetwork_Async_0400 fail err:
${
err
}
`
);
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
done
();
return
;
}
...
...
@@ -198,7 +198,7 @@ describe('ActsNetworkSearchTest', function () {
expect
(
data
.
length
===
0
).
assertTrue
();
}
catch
(
err
)
{
console
.
log
(
`Telephony_NetworkSearch_getISOCountryCodeForNetwork_Promise_0400 fail err:
${
err
}
`
);
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
done
();
return
;
}
...
...
@@ -295,7 +295,7 @@ describe('ActsNetworkSearchTest', function () {
expect
(
data
.
length
===
0
).
assertTrue
();
}
catch
(
err
)
{
console
.
log
(
`Telephony_NetworkSearch_getSignalInformation_Promise_0400 fail err:
${
err
}
`
);
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
done
();
return
;
}
...
...
@@ -311,7 +311,7 @@ describe('ActsNetworkSearchTest', function () {
radio
.
getOperatorName
(
SLOT_2
,
(
err
,
data
)
=>
{
if
(
err
)
{
console
.
log
(
`Telephony_NetworkSearch_getOperatorName_Async_0400 fail err:
${
err
}
`
);
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
done
();
return
;
}
...
...
@@ -334,7 +334,7 @@ describe('ActsNetworkSearchTest', function () {
done
();
}
catch
(
err
)
{
console
.
log
(
`Telephony_NetworkSearch_getOperatorName_Promise_0400 fail err:
${
err
}
`
);
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
done
();
}
})
...
...
telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/test/SimManager.test.js
浏览文件 @
a873c647
...
...
@@ -269,7 +269,7 @@ describe('SimManagerTest', function () {
sim
.
isSimActive
(
env
.
SLOTID2
,
(
err
,
data
)
=>
{
if
(
err
)
{
console
.
log
(
`
${
CASE_NAME
}
fail, err:
${
err
.
message
}
`
);
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
done
();
return
;
}
...
...
@@ -292,7 +292,7 @@ describe('SimManagerTest', function () {
expect
(
data
).
assertFalse
();
}
catch
(
err
)
{
console
.
log
(
`
${
CASE_NAME
}
isSimActive fail, err:
${
err
.
message
}
`
);
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
done
();
return
;
}
...
...
@@ -310,7 +310,7 @@ describe('SimManagerTest', function () {
const
CASE_NAME
=
'
Telephony_Sim_hasSimCard_Async_0600
'
;
sim
.
hasSimCard
(
env
.
SLOTID2
,
(
err
,
data
)
=>
{
if
(
err
)
{
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
console
.
log
(
`
${
CASE_NAME
}
fail, err:
${
err
.
message
}
`
);
done
();
return
;
...
...
@@ -333,7 +333,7 @@ describe('SimManagerTest', function () {
let
data
=
await
sim
.
hasSimCard
(
env
.
SLOTID2
);
expect
(
data
).
assertFalse
();
}
catch
(
err
)
{
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
console
.
log
(
`
${
CASE_NAME
}
fail, err:
${
err
.
message
}
`
);
done
();
return
;
...
...
@@ -366,7 +366,7 @@ describe('SimManagerTest', function () {
sim
.
getCardType
(
env
.
SLOTID2
,
(
error
,
cardType
)
=>
{
if
(
error
)
{
console
.
log
(
`
${
CASE_NAME
}
GetCardType error:
${
error
.
message
}
`
);
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
done
();
return
;
}
...
...
@@ -390,7 +390,7 @@ describe('SimManagerTest', function () {
console
.
log
(
`
${
CASE_NAME
}
test finish.`
);
}
catch
(
error
)
{
console
.
log
(
`
${
CASE_NAME
}
GetCardType error:
${
error
.
message
}
`
);
expect
(
).
assertFail
();
expect
(
err
!=
null
).
assertTrue
();
}
done
();
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录