Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
a8195cdc
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看板
未验证
提交
a8195cdc
编写于
8月 05, 2022
作者:
O
openharmony_ci
提交者:
Gitee
8月 05, 2022
浏览文件
操作
浏览文件
下载
差异文件
!4779 电话服务用例修改增加权限
Merge pull request !4779 from 高曦/master
上级
c419e0a0
2e90e222
变更
21
显示空白变更内容
内联
并排
Showing
21 changed file
with
60 addition
and
20 deletion
+60
-20
telephony/telephonyjstest/call_manager/call_manager_ims2_call/BUILD.gn
...ephonyjstest/call_manager/call_manager_ims2_call/BUILD.gn
+3
-1
telephony/telephonyjstest/cellular_data/cellular_data_abnormal/BUILD.gn
...phonyjstest/cellular_data/cellular_data_abnormal/BUILD.gn
+3
-1
telephony/telephonyjstest/netmanager_base/dns/BUILD.gn
telephony/telephonyjstest/netmanager_base/dns/BUILD.gn
+3
-1
telephony/telephonyjstest/netmanager_base/jshttp/BUILD.gn
telephony/telephonyjstest/netmanager_base/jshttp/BUILD.gn
+3
-1
telephony/telephonyjstest/netmanager_base/network_nopermission/BUILD.gn
...phonyjstest/netmanager_base/network_nopermission/BUILD.gn
+3
-1
telephony/telephonyjstest/netmanager_base/network_nowifi/BUILD.gn
...y/telephonyjstest/netmanager_base/network_nowifi/BUILD.gn
+3
-1
telephony/telephonyjstest/netmanager_base/network_wifi/BUILD.gn
...ony/telephonyjstest/netmanager_base/network_wifi/BUILD.gn
+3
-1
telephony/telephonyjstest/netmanager_base/register/BUILD.gn
telephony/telephonyjstest/netmanager_base/register/BUILD.gn
+3
-1
telephony/telephonyjstest/netmanager_base/register/src/main/js/test/NetworkManagerRegister.test.js
.../register/src/main/js/test/NetworkManagerRegister.test.js
+1
-1
telephony/telephonyjstest/netmanager_base/socket/BUILD.gn
telephony/telephonyjstest/netmanager_base/socket/BUILD.gn
+3
-1
telephony/telephonyjstest/netmanager_base/system_fetch/BUILD.gn
...ony/telephonyjstest/netmanager_base/system_fetch/BUILD.gn
+3
-1
telephony/telephonyjstest/netmanager_base/system_fetch/Test.json
...ny/telephonyjstest/netmanager_base/system_fetch/Test.json
+1
-1
telephony/telephonyjstest/netmanager_base/system_fetch/src/main/config.json
...yjstest/netmanager_base/system_fetch/src/main/config.json
+6
-0
telephony/telephonyjstest/netmanager_base/system_fetch/src/main/js/test/Http.fetch.test.js
...ger_base/system_fetch/src/main/js/test/Http.fetch.test.js
+3
-3
telephony/telephonyjstest/netmanager_http/BUILD.gn
telephony/telephonyjstest/netmanager_http/BUILD.gn
+3
-1
telephony/telephonyjstest/netmanager_socket/BUILD.gn
telephony/telephonyjstest/netmanager_socket/BUILD.gn
+3
-1
telephony/telephonyjstest/network_search/network_search_errors/BUILD.gn
...phonyjstest/network_search/network_search_errors/BUILD.gn
+2
-0
telephony/telephonyjstest/observer/BUILD.gn
telephony/telephonyjstest/observer/BUILD.gn
+2
-0
telephony/telephonyjstest/radiostatistic/BUILD.gn
telephony/telephonyjstest/radiostatistic/BUILD.gn
+3
-1
telephony/telephonyjstest/sim/sim_manager_function_test/BUILD.gn
...ny/telephonyjstest/sim/sim_manager_function_test/BUILD.gn
+3
-1
telephony/telephonyjstest/sms_mms/sms_mms_error/BUILD.gn
telephony/telephonyjstest/sms_mms/sms_mms_error/BUILD.gn
+3
-1
未找到文件。
telephony/telephonyjstest/call_manager/call_manager_ims2_call/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsCallManagerIms2CallTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsCallManagerIms2CallTest"
part_name = "call_manager"
subsystem_name = "telephony"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/cellular_data/cellular_data_abnormal/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsCellularDataAbnormalTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsCellularDataAbnormalTest"
part_name = "cellular_data"
subsystem_name = "telephony"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/netmanager_base/dns/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsDNSTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsDNSTest"
part_name = "netmanager_ext"
subsystem_name = "communication"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/netmanager_base/jshttp/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsJSHTTPTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsJSHTTPTest"
part_name = "netstack"
subsystem_name = "communication"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/netmanager_base/network_nopermission/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsNetworkNopermissionTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsNetworkNopermissionTest"
part_name = "netstack"
subsystem_name = "communication"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/netmanager_base/network_nowifi/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsNetworkNowifiTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsNetworkNowifiTest"
part_name = "netstack"
subsystem_name = "communication"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/netmanager_base/network_wifi/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsNetworkWifiTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsNetworkWifiTest"
part_name = "netstack"
subsystem_name = "communication"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/netmanager_base/register/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsRegisterTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsRegisterTest"
part_name = "netmanager_ext"
subsystem_name = "communication"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/netmanager_base/register/src/main/js/test/NetworkManagerRegister.test.js
浏览文件 @
a8195cdc
...
...
@@ -2204,7 +2204,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/netmanager_base/socket/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsSocketTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsSocketTest"
part_name = "netstack"
subsystem_name = "communication"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/netmanager_base/system_fetch/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsSystemFetchTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsSystemFetchTest"
part_name = "netstack"
subsystem_name = "communication"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/netmanager_base/system_fetch/Test.json
浏览文件 @
a8195cdc
...
...
@@ -6,7 +6,7 @@
"bundle-name"
:
"com.ohos.system_fetch"
,
"package-name"
:
"com.ohos.system_fetch"
,
"shell-timeout"
:
"900000"
,
"testcase-timeout"
:
"
3
0000"
"testcase-timeout"
:
"
4
0000"
},
"kits"
:
[
{
...
...
telephony/telephonyjstest/netmanager_base/system_fetch/src/main/config.json
浏览文件 @
a8195cdc
...
...
@@ -65,6 +65,12 @@
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
},
"reqPermissions"
:
[
{
"name"
:
"ohos.permission.INTERNET"
,
"reason"
:
"need use ohos.permission.INTERNET"
}
],
"package"
:
"com.ohos.system_fetch"
,
"js"
:
[
{
...
...
telephony/telephonyjstest/netmanager_base/system_fetch/src/main/js/test/Http.fetch.test.js
浏览文件 @
a8195cdc
...
...
@@ -45,7 +45,7 @@ describe("Telephony_NetStack_HttpFetchTest", function () {
http
.
request
(
"
https://httpbin.org/user-agent
"
).
then
(
function
(
data
){
console
.
info
(
"
NetStack
"
+
JSON
.
stringify
(
data
));
expect
(
data
.
responseCode
===
NetHttp
.
ResponseCode
.
OK
).
assertTrue
()
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
();
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
!=
undefined
).
assertTrue
();
done
();
})
});
...
...
@@ -175,7 +175,7 @@ describe("Telephony_NetStack_HttpFetchTest", function () {
success
:
function
(
data
){
console
.
info
(
"
NetStack fetch success
"
+
JSON
.
stringify
(
data
))
expect
(
data
.
code
===
200
).
assertTrue
()
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
();
expect
(
JSON
.
parse
(
data
.
data
)[
"
user-agent
"
]
!=
undefined
).
assertTrue
();
done
();
},
fail
:
function
(){
...
...
@@ -201,7 +201,7 @@ describe("Telephony_NetStack_HttpFetchTest", function () {
success
:
function
(
data
){
console
.
info
(
"
NetStack fetch success
"
+
JSON
.
stringify
(
data
))
expect
(
data
.
code
===
200
).
assertTrue
()
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
();
expect
(
data
.
data
[
"
user-agent
"
]
!=
undefined
).
assertTrue
();
done
();
},
fail
:
function
(){
...
...
telephony/telephonyjstest/netmanager_http/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -23,6 +23,8 @@ ohos_js_hap_suite("ActsNetManagerHttpEtsTest") {
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsNetManagerHttpEtsTest"
part_name = "netstack"
subsystem_name = "communication"
}
ohos_js_assets("ace_demo_ets_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
telephony/telephonyjstest/netmanager_socket/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -23,6 +23,8 @@ ohos_js_hap_suite("ActsNetManagerSocketEtsTest") {
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsNetManagerSocketEtsTest"
part_name = "netstack"
subsystem_name = "communication"
}
ohos_js_assets("ace_demo_ets_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
telephony/telephonyjstest/network_search/network_search_errors/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -20,6 +20,8 @@ ohos_js_hap_suite("ActsNetworkSearchTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsNetworkSearchTest"
part_name = "state_registry"
subsystem_name = "telephony"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/observer/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -22,6 +22,8 @@ ohos_js_hap_suite("ActsObserverEtsTest") {
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsObserverEtsTest"
part_name = "netstack"
subsystem_name = "communication"
}
ohos_js_assets("ace_demo_ets_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
telephony/telephonyjstest/radiostatistic/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -23,6 +23,8 @@ ohos_js_hap_suite("ActsRadiostatisticEtsTest") {
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsRadiostatisticEtsTest"
part_name = "ril_adapter"
subsystem_name = "telephony"
}
ohos_js_assets("ace_demo_ets_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
...
...
telephony/telephonyjstest/sim/sim_manager_function_test/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsSimManagerFunctionTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsSimManagerFunctionTest"
part_name = "core_service"
subsystem_name = "telephony"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
telephony/telephonyjstest/sms_mms/sms_mms_error/BUILD.gn
浏览文件 @
a8195cdc
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("ActSmsMmsErrorTest") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActSmsMmsErrorTest"
part_name = "sms_mms"
subsystem_name = "telephony"
}
ohos_js_assets("hjs_demo_js_assets") {
js2abc = true
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录