Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
7d5dd9c8
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看板
提交
7d5dd9c8
编写于
2月 25, 2022
作者:
Z
zhangxingxia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update filemanage xts
Signed-off-by:
N
zhangxingxia
<
zhangxingxia1@huawei.com
>
上级
5b6488d4
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
56 addition
and
56 deletion
+56
-56
storage/storagefilemanagerjstest/src/main/js/default/test/filemanager.test.js
...anagerjstest/src/main/js/default/test/filemanager.test.js
+56
-56
未找到文件。
storage/storagefilemanagerjstest/src/main/js/default/test/filemanager.test.js
浏览文件 @
7d5dd9c8
...
...
@@ -45,7 +45,7 @@ describe("filemanager_test", function () {
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
*/
it
(
"
filemanager_test_get_root_async_000
"
,
0
,
async
function
(
done
)
{
try
{
let
fileInfos
=
await
filemanager
.
getRoot
();
...
...
@@ -86,7 +86,7 @@ describe("filemanager_test", function () {
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
*/
it
(
"
filemanager_test_get_root_async_001
"
,
0
,
async
function
(
done
)
{
try
{
filemanager
.
getRoot
((
error
,
fileInfos
)
=>
{
...
...
@@ -101,13 +101,13 @@ describe("filemanager_test", function () {
});
/**
* @tc.number SUB_DF_FILEMANAGER_GET_ROOT_0020
* @tc.name filemanager_test_get_root_async_002
* @tc.desc Test getRoot() interfaces, without any parameters, throw an exception.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
* @tc.number SUB_DF_FILEMANAGER_GET_ROOT_0020
* @tc.name filemanager_test_get_root_async_002
* @tc.desc Test getRoot() interfaces, without any parameters, throw an exception.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
it
(
"
filemanager_test_get_root_async_002
"
,
0
,
async
function
(
done
)
{
try
{
...
...
@@ -126,14 +126,14 @@ describe("filemanager_test", function () {
});
/**
* @tc.number SUB_DF_FILEMANAGER_LIST_FILE_0000
* @tc.name filemanager_test_list_file_async_000
* @tc.desc Test listFile() interfaces,when the type parameters as the "image", return path of files information accordingly.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
* @tc.number SUB_DF_FILEMANAGER_LIST_FILE_0000
* @tc.name filemanager_test_list_file_async_000
* @tc.desc Test listFile() interfaces,when the type parameters as the "image", return path of files information accordingly.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
it
(
"
filemanager_test_list_file_async_000
"
,
0
,
async
function
(
done
)
{
try
{
let
path
=
IMAGE_ROOT
;
...
...
@@ -156,14 +156,14 @@ describe("filemanager_test", function () {
});
/**
* @tc.number SUB_DF_FILEMANAGER_LIST_FILE_0010
* @tc.name filemanager_test_list_file_async_001
* @tc.desc Test listFile() interfaces, when the type parameters as the "image", return path of files information accordingly.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
* @tc.number SUB_DF_FILEMANAGER_LIST_FILE_0010
* @tc.name filemanager_test_list_file_async_001
* @tc.desc Test listFile() interfaces, when the type parameters as the "image", return path of files information accordingly.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
it
(
"
filemanager_test_list_file_async_001
"
,
0
,
async
function
(
done
)
{
try
{
let
path
=
IMAGE_ALBUM
;
...
...
@@ -177,14 +177,14 @@ describe("filemanager_test", function () {
});
/**
* @tc.number SUB_DF_FILEMANAGER_LIST_FILE_0020
* @tc.name filemanager_test_list_file_async_002
* @tc.desc Test listFile() interfaces, when the type parameters as the "file", return path of files information accordingly.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
* @tc.number SUB_DF_FILEMANAGER_LIST_FILE_0020
* @tc.name filemanager_test_list_file_async_002
* @tc.desc Test listFile() interfaces, when the type parameters as the "file", return path of files information accordingly.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
it
(
"
filemanager_test_list_file_async_002
"
,
0
,
async
function
(
done
)
{
try
{
let
path
=
FILE_ROOT
;
...
...
@@ -199,14 +199,14 @@ describe("filemanager_test", function () {
});
/**
* @tc.number SUB_DF_FILEMANAGER_LIST_FILE_0030
* @tc.name filemanager_test_list_file_async_003
* @tc.desc Test listFile() interfaces, when the type parameter to an empty string, throw an exception.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
* @tc.number SUB_DF_FILEMANAGER_LIST_FILE_0030
* @tc.name filemanager_test_list_file_async_003
* @tc.desc Test listFile() interfaces, when the type parameter to an empty string, throw an exception.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
it
(
"
filemanager_test_list_file_async_003
"
,
0
,
async
function
(
done
)
{
try
{
let
path
=
FILE_ROOT
;
...
...
@@ -219,13 +219,13 @@ describe("filemanager_test", function () {
});
/**
* @tc.number SUB_DF_FILEMANAGER_LIST_FILE_0040
* @tc.name filemanager_test_list_file_async_004
* @tc.desc Test listFile() interfaces, when the path parameter to an empty string, throw an exception..
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
* @tc.number SUB_DF_FILEMANAGER_LIST_FILE_0040
* @tc.name filemanager_test_list_file_async_004
* @tc.desc Test listFile() interfaces, when the path parameter to an empty string, throw an exception..
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
it
(
"
filemanager_test_list_file_async_004
"
,
0
,
async
function
(
done
)
{
try
{
...
...
@@ -245,7 +245,7 @@ describe("filemanager_test", function () {
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
*/
it
(
"
filemanager_test_createfile_async_000
"
,
0
,
async
function
(
done
)
{
try
{
let
name
=
"
create00
"
+
new
Date
().
getTime
()
+
"
.jpg
"
;
...
...
@@ -269,7 +269,7 @@ describe("filemanager_test", function () {
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
*/
it
(
"
filemanager_test_createfile_async_001
"
,
0
,
async
function
(
done
)
{
let
name
=
"
create00
"
+
new
Date
().
getTime
()
+
"
.txt
"
;
let
path
=
IMAGE_ROOT
;
...
...
@@ -288,7 +288,7 @@ describe("filemanager_test", function () {
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
*/
it
(
"
filemanager_test_createfile_async_002
"
,
0
,
async
function
(
done
)
{
try
{
let
name
=
"
1.jpg
"
;
...
...
@@ -314,7 +314,7 @@ describe("filemanager_test", function () {
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
*/
it
(
"
filemanager_test_createfile_async_003
"
,
0
,
async
function
(
done
)
{
try
{
let
name
=
"
filemanager_test_createfile_async_003
"
;
...
...
@@ -340,7 +340,7 @@ describe("filemanager_test", function () {
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
*/
it
(
"
filemanager_test_createfile_async_004
"
,
0
,
async
function
(
done
)
{
try
{
filemanager
.
createFile
()
...
...
@@ -364,7 +364,7 @@ describe("filemanager_test", function () {
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
*/
it
(
"
filemanager_test_createfile_async_005
"
,
0
,
async
function
(
done
)
{
try
{
filemanager
.
createFile
(
""
,
""
,
""
)
...
...
@@ -388,7 +388,7 @@ describe("filemanager_test", function () {
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
*/
it
(
"
filemanager_test_createfile_async_006
"
,
0
,
async
function
(
done
)
{
try
{
let
name
=
"
filemanager_test_createfile_async_006
"
;
...
...
@@ -414,7 +414,7 @@ describe("filemanager_test", function () {
* @tc.type Function
* @tc.level Level 0
* @tc.require
*/
*/
it
(
"
filemanager_test_createfile_async_007
"
,
0
,
async
function
(
done
)
{
try
{
filemanager
.
createFile
(
"
internal://cache/@#$&^
"
,
"
filemanager_test_createfile_async_007
"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录