Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
a91edc71
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看板
提交
a91edc71
编写于
9月 23, 2022
作者:
L
lwx1121892
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
<userfilemgr包名修改>
Signed-off-by:
N
lwx1121892
<
liuxueqi3@huawei.com
>
上级
a627734a
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
14 addition
and
14 deletion
+14
-14
multimedia/userfilemgr/common.js
multimedia/userfilemgr/common.js
+2
-2
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumCommitModifyCallback.test.ets
...ntry/src/main/ets/test/albumCommitModifyCallback.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumCommitModifyPromise.test.ets
...entry/src/main/ets/test/albumCommitModifyPromise.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumGetFileAssetsCallback.test.ets
...try/src/main/ets/test/albumGetFileAssetsCallback.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumGetFileAssetsPromise.test.ets
...ntry/src/main/ets/test/albumGetFileAssetsPromise.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getAlbumsCallback.test.ets
...r_base/entry/src/main/ets/test/getAlbumsCallback.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getAlbumsPromise.test.ets
...gr_base/entry/src/main/ets/test/getAlbumsPromise.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getFileAssetsCallback.test.ets
...se/entry/src/main/ets/test/getFileAssetsCallback.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getFileAssetsPromise.test.ets
...ase/entry/src/main/ets/test/getFileAssetsPromise.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetCommitModifyCallback.test.ets
.../src/main/ets/test/fileAssetCommitModifyCallback.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetCommitModifyPromise.test.ets
...y/src/main/ets/test/fileAssetCommitModifyPromise.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetOpenCallback.test.ets
...et/entry/src/main/ets/test/fileAssetOpenCallback.test.ets
+1
-1
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetOpenPromise.test.ets
...set/entry/src/main/ets/test/fileAssetOpenPromise.test.ets
+1
-1
未找到文件。
multimedia/userfilemgr/common.js
浏览文件 @
a91edc71
...
...
@@ -18,8 +18,8 @@ import abilityAccessCtrl from '@ohos.abilityAccessCtrl';
import
bundle
from
'
@ohos.bundle
'
;
const
presetsCount
=
{
ActsUserFileMgrAlbum
JsTest
:
{
albumsCount
:
9
,
assetsCount
:
9
},
ActsUserFileMgrBase
JsTest
:
{
albumsCount
:
42
,
assetsCount
:
84
},
ActsUserFileMgrAlbum
:
{
albumsCount
:
9
,
assetsCount
:
9
},
ActsUserFileMgrBase
:
{
albumsCount
:
42
,
assetsCount
:
84
},
}
const
IMAGE_TYPE
=
userfile_manager
.
MediaType
.
IMAGE
;
...
...
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumCommitModifyCallback.test.ets
浏览文件 @
a91edc71
...
...
@@ -34,7 +34,7 @@ export default function albumCommitModifyCallback(abilityContext) {
beforeAll(async function () {
console.info('beforeAll case');
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumCommitModifyPromise.test.ets
浏览文件 @
a91edc71
...
...
@@ -34,7 +34,7 @@ export default function albumCommitModifyPromise(abilityContext) {
beforeAll(async function () {
console.info('beforeAll case');
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumGetFileAssetsCallback.test.ets
浏览文件 @
a91edc71
...
...
@@ -32,7 +32,7 @@ export default function albumGetFileAssetsCallback(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumGetFileAssetsPromise.test.ets
浏览文件 @
a91edc71
...
...
@@ -34,7 +34,7 @@ export default function albumGetFileAssetsPromise(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getAlbumsCallback.test.ets
浏览文件 @
a91edc71
...
...
@@ -35,7 +35,7 @@ export default function getAlbumsCallback(abilityContext) {
beforeAll(async function () {
console.info('beforeAll case');
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getAlbumsPromise.test.ets
浏览文件 @
a91edc71
...
...
@@ -32,7 +32,7 @@ export default function getAlbumsPromise(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getFileAssetsCallback.test.ets
浏览文件 @
a91edc71
...
...
@@ -32,7 +32,7 @@ export default function getFileAssetsCallback(abilityContext) {
const
userfile_mgr
=
userfile_manager
.
getUserFileMgr
(
abilityContext
);
beforeAll
(
async
function
()
{
console
.
info
(
'beforeAll case'
);
await
checkPresetsAssets
(
userfile_mgr
,
'ActsUserFileMgrBase
JsTest
'
);
await
checkPresetsAssets
(
userfile_mgr
,
'ActsUserFileMgrBase'
);
});
beforeEach
(
function
()
{
console
.
info
(
'beforeEach case'
);
...
...
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getFileAssetsPromise.test.ets
浏览文件 @
a91edc71
...
...
@@ -30,7 +30,7 @@ export default function getFileAssetsPromise(abilityContext) {
const
userfile_mgr
=
userfile_manager
.
getUserFileMgr
(
abilityContext
);
beforeAll
(
async
function
()
{
console
.
info
(
'beforeAll case'
);
await
checkPresetsAssets
(
userfile_mgr
,
'ActsUserFileMgrBase
JsTest
'
);
await
checkPresetsAssets
(
userfile_mgr
,
'ActsUserFileMgrBase'
);
});
beforeEach
(
function
()
{
console
.
info
(
'beforeEach case'
);
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetCommitModifyCallback.test.ets
浏览文件 @
a91edc71
...
...
@@ -33,7 +33,7 @@ export default function fileAssetCommitModifyCallback(abilityContext) {
beforeAll(async function () {
console.info('beforeAll case');
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset
JsTest
')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
});
beforeEach(function () {
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetCommitModifyPromise.test.ets
浏览文件 @
a91edc71
...
...
@@ -31,7 +31,7 @@ export default function fileAssetCommitModifyPromise(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset
JsTest
')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
});
beforeEach(function () {
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetOpenCallback.test.ets
浏览文件 @
a91edc71
...
...
@@ -31,7 +31,7 @@ export default function fileAssetOpenCallback(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset
JsTest
')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
});
beforeEach(function () {
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetOpenPromise.test.ets
浏览文件 @
a91edc71
...
...
@@ -32,7 +32,7 @@ export default function fileAssetOpenPromise(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset
JsTest
')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
});
beforeEach(function () {
console.info('beforeEach case');
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录