Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
0ca18485
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,发现更多精彩内容 >>
提交
0ca18485
编写于
7月 11, 2022
作者:
G
gaoxi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
case update
Signed-off-by:
N
gaoxi
<
gaoxi785@huawei.com
>
上级
ca9ea4e8
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
48 addition
and
7 deletion
+48
-7
telephony/telephonyjstest/.idea/.deveco/project.cache.json
telephony/telephonyjstest/.idea/.deveco/project.cache.json
+6
-0
telephony/telephonyjstest/.idea/.gitignore
telephony/telephonyjstest/.idea/.gitignore
+3
-0
telephony/telephonyjstest/.idea/modules.xml
telephony/telephonyjstest/.idea/modules.xml
+8
-0
telephony/telephonyjstest/.idea/telephonyjstest.iml
telephony/telephonyjstest/.idea/telephonyjstest.iml
+8
-0
telephony/telephonyjstest/.idea/vcs.xml
telephony/telephonyjstest/.idea/vcs.xml
+6
-0
telephony/telephonyjstest/local.properties
telephony/telephonyjstest/local.properties
+10
-0
telephony/telephonyjstest/netmanager_base/jshttp/entry/src/main/js/test/NetworkManagerHttp.test.js
.../jshttp/entry/src/main/js/test/NetworkManagerHttp.test.js
+1
-2
telephony/telephonyjstest/netmanager_base/system_fetch/entry/src/main/js/test/Http.fetch.test.js
...se/system_fetch/entry/src/main/js/test/Http.fetch.test.js
+3
-5
telephony/telephonyjstest/package-lock.json
telephony/telephonyjstest/package-lock.json
+3
-0
未找到文件。
telephony/telephonyjstest/.idea/.deveco/project.cache.json
0 → 100644
浏览文件 @
0ca18485
{
"BuildOptions"
:{},
"CommonInfo"
:{
"project.ide.version"
:
"3.0.0.900"
}
}
\ No newline at end of file
telephony/telephonyjstest/.idea/.gitignore
0 → 100644
浏览文件 @
0ca18485
# Default ignored files
/shelf/
/workspace.xml
telephony/telephonyjstest/.idea/modules.xml
0 → 100644
浏览文件 @
0ca18485
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectModuleManager"
>
<modules>
<module
fileurl=
"file://$PROJECT_DIR$/.idea/telephonyjstest.iml"
filepath=
"$PROJECT_DIR$/.idea/telephonyjstest.iml"
/>
</modules>
</component>
</project>
\ No newline at end of file
telephony/telephonyjstest/.idea/telephonyjstest.iml
0 → 100644
浏览文件 @
0ca18485
<?xml version="1.0" encoding="UTF-8"?>
<module
type=
"EMPTY_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
>
<content
url=
"file://$MODULE_DIR$"
/>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</module>
\ No newline at end of file
telephony/telephonyjstest/.idea/vcs.xml
0 → 100644
浏览文件 @
0ca18485
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$/../.."
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
telephony/telephonyjstest/local.properties
0 → 100644
浏览文件 @
0ca18485
# This file is automatically generated by DevEco Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file should *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# For customization when using a Version Control System, please read the header note.
sdk.dir
=
C:/Users/LiHao/AppData/Local/OpenHarmony/Sdk
nodejs.dir
=
D:/DevEco Studio 3.0.0.900/tools/nodejs
npm.dir
=
D:/DevEco Studio 3.0.0.900/tools/nodejs
\ No newline at end of file
telephony/telephonyjstest/netmanager_base/jshttp/entry/src/main/js/test/NetworkManagerHttp.test.js
浏览文件 @
0ca18485
...
...
@@ -43,8 +43,7 @@ describe('Telephony_NETSTACK_HTTPTest',function(){
http
.
request
(
"
https://httpbin.org/user-agent
"
).
then
(
function
(
data
){
expect
(
data
.
responseCode
===
netHttp
.
ResponseCode
.
OK
).
assertTrue
();
console
.
info
(
JSON
.
stringify
(
data
));
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
||
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
].
indexOf
(
"
Dalvik/2.1.0
"
)).
assertTrue
();
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
();
done
();
})
});
...
...
telephony/telephonyjstest/netmanager_base/system_fetch/entry/src/main/js/test/Http.fetch.test.js
浏览文件 @
0ca18485
...
...
@@ -44,8 +44,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
"
||
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
].
indexOf
(
"
Dalvik/2.1.0
"
)).
assertTrue
();
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
();
done
();
})
});
...
...
@@ -175,8 +174,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
.
data
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
||
JSON
.
parse
(
data
.
data
)[
"
user-agent
"
].
indexOf
(
"
Dalvik/2.1.0
"
)).
assertTrue
();
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
();
done
();
},
fail
:
function
(){
...
...
@@ -202,7 +200,7 @@ describe("Telephony_NetStack_HttpFetchTest", function () {
success
:
function
(
data
){
console
.
info
(
"
NetStack fetch success
"
+
JSON
.
stringify
(
data
))
expect
(
data
.
code
===
200
).
assertTrue
()
expect
(
data
.
data
[
"
user-agent
"
]).
assertContain
(
"
libcurl-agent/1.0
"
||
"
Dalvik/2.1.0
"
);
expect
(
JSON
.
parse
(
data
.
result
)[
"
user-agent
"
]
===
"
libcurl-agent/1.0
"
).
assertTrue
(
);
done
();
},
fail
:
function
(){
...
...
telephony/telephonyjstest/package-lock.json
0 → 100644
浏览文件 @
0ca18485
{
"lockfileVersion"
:
1
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录