Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
d1218307
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看板
提交
d1218307
编写于
11月 29, 2021
作者:
O
openharmony_ci
提交者:
Gitee
11月 29, 2021
浏览文件
操作
浏览文件
下载
差异文件
!1229 修改storagefmssharejstest下测试用例中.apk为.txt,删除.gitattributes文件中apk整行
Merge pull request !1229 from 赵帅/cherry-pick-1638179418
上级
d5414a53
e0bf7f02
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
9 deletion
+8
-9
.gitattributes
.gitattributes
+0
-1
storage/storagefmssharejstest/src/main/js/default/test/FmsShare.test.js
...efmssharejstest/src/main/js/default/test/FmsShare.test.js
+4
-4
storage/storagefmssharejstest/src/main/js/default/test/FmsSharePerformance.test.js
...test/src/main/js/default/test/FmsSharePerformance.test.js
+2
-2
storage/storagefmssharejstest/src/main/js/default/test/FmsShareStability.test.js
...jstest/src/main/js/default/test/FmsShareStability.test.js
+2
-2
未找到文件。
.gitattributes
浏览文件 @
d1218307
*.tgz filter=lfs diff=lfs merge=lfs -text
*.trp filter=lfs diff=lfs merge=lfs -text
*.apk filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.mp4 filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
...
...
storage/storagefmssharejstest/src/main/js/default/test/FmsShare.test.js
浏览文件 @
d1218307
...
...
@@ -36,7 +36,7 @@ describe('fmsShareTest', function () {
prepareFile
(
fmsFileName
(
'
picture.jpg
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
picture2.jpg
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
文件.doc
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
cross Fire.
apk
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
cross Fire.
txt
'
),
'
content
'
);
prepareFile
(
fmsCacheName
(
'
video.mp4
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
file.xlsx
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
f2.ppt
'
),
'
content
'
);
...
...
@@ -47,7 +47,7 @@ describe('fmsShareTest', function () {
'
{"type": "files-path", "name": "primary_leaf3", "path": "/picture.jpg"},
'
+
'
{"type": "files-path", "name": "primary_leaf4", "path": "/picture2.jpg"},
'
+
'
{"type": "files-path", "name": "primary_leaf5", "path": "/文件.doc"},
'
+
'
{"type": "files-path", "name": "primary_leaf6", "path": "/cross Fire.
apk
"},
'
+
'
{"type": "files-path", "name": "primary_leaf6", "path": "/cross Fire.
txt
"},
'
+
'
{"type": "cache-path", "name": "cacheprimary_leaf", "path": "/video.mp4"},
'
+
'
{"type": "files-path", "name": "primary_leaf7", "path": "/file.xlsx"},
'
+
'
{"type": "files-path", "name": "primary_leaf8", "path": "/f3.doc"},
'
+
...
...
@@ -165,12 +165,12 @@ describe('fmsShareTest', function () {
fileShareAbility
.
fuzzyFileToUri
({
deviceId
:
'
440E-0906
'
,
authority
:
'
ohos.acts.test.ability
'
,
uri
:
'
internal://app/cross Fire.
apk
'
,
uri
:
'
internal://app/cross Fire.
txt
'
,
displayName
:
'
你好,世界
'
,
success
:
function
(
uri
)
{
console
.
log
(
'
FMS_fuzzyFileToUri_500 call fuzzyFileToUri success. uri:
'
+
uri
);
expect
(
uri
==
'
dataability://440E-0906/ohos.acts.test.ability/primary/document/files
'
+
'
/primary_leaf6/cross Fire.
apk
/leaf?displayName=你好,世界#
'
).
assertTrue
();
+
'
/primary_leaf6/cross Fire.
txt
/leaf?displayName=你好,世界#
'
).
assertTrue
();
},
fail
:
function
(
data
,
code
)
{
console
.
log
(
'
FMS_fuzzyFileToUri_500 call fuzzyFileToUri fail, code:
'
+
code
+
'
, data:
'
+
data
);
...
...
storage/storagefmssharejstest/src/main/js/default/test/FmsSharePerformance.test.js
浏览文件 @
d1218307
...
...
@@ -36,7 +36,7 @@ describe('fmsPerformanceTest', function () {
prepareFile
(
fmsFileName
(
'
picture.jpg
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
picture2.jpg
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
文件.doc
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
cross Fire.
apk
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
cross Fire.
txt
'
),
'
content
'
);
prepareFile
(
fmsCacheName
(
'
video.mp4
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
file.xlsx
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
f2.ppt
'
),
'
content
'
);
...
...
@@ -47,7 +47,7 @@ describe('fmsPerformanceTest', function () {
'
{"type": "files-path", "name": "primary_leaf3", "path": "/picture.jpg"},
'
+
'
{"type": "files-path", "name": "primary_leaf4", "path": "/picture2.jpg"},
'
+
'
{"type": "files-path", "name": "primary_leaf5", "path": "/文件.doc"},
'
+
'
{"type": "files-path", "name": "primary_leaf6", "path": "/cross Fire.
apk
"},
'
+
'
{"type": "files-path", "name": "primary_leaf6", "path": "/cross Fire.
txt
"},
'
+
'
{"type": "cache-path", "name": "cacheprimary_leaf", "path": "/video.mp4"},
'
+
'
{"type": "files-path", "name": "primary_leaf7", "path": "/file.xlsx"},
'
+
'
{"type": "files-path", "name": "primary_leaf8", "path": "/f3.doc"},
'
+
...
...
storage/storagefmssharejstest/src/main/js/default/test/FmsShareStability.test.js
浏览文件 @
d1218307
...
...
@@ -36,7 +36,7 @@ describe('fmsStabilityTest', function () {
prepareFile
(
fmsFileName
(
'
picture.jpg
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
picture2.jpg
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
文件.doc
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
cross Fire.
apk
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
cross Fire.
txt
'
),
'
content
'
);
prepareFile
(
fmsCacheName
(
'
video.mp4
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
file.xlsx
'
),
'
content
'
);
prepareFile
(
fmsFileName
(
'
f2.ppt
'
),
'
content
'
);
...
...
@@ -47,7 +47,7 @@ describe('fmsStabilityTest', function () {
'
{"type": "files-path", "name": "primary_leaf3", "path": "/picture.jpg"},
'
+
'
{"type": "files-path", "name": "primary_leaf4", "path": "/picture2.jpg"},
'
+
'
{"type": "files-path", "name": "primary_leaf5", "path": "/文件.doc"},
'
+
'
{"type": "files-path", "name": "primary_leaf6", "path": "/cross Fire.
apk
"},
'
+
'
{"type": "files-path", "name": "primary_leaf6", "path": "/cross Fire.
txt
"},
'
+
'
{"type": "cache-path", "name": "cacheprimary_leaf", "path": "/video.mp4"},
'
+
'
{"type": "files-path", "name": "primary_leaf7", "path": "/file.xlsx"},
'
+
'
{"type": "files-path", "name": "primary_leaf8", "path": "/f3.doc"},
'
+
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录