Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
67becab0
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看板
未验证
提交
67becab0
编写于
9月 22, 2022
作者:
O
openharmony_ci
提交者:
Gitee
9月 22, 2022
浏览文件
操作
浏览文件
下载
差异文件
!5602 【媒体子系统】userfilemgr包名修改
Merge pull request !5602 from liuxueqi/master
上级
e202a899
bb496d9a
变更
21
隐藏空白更改
内联
并排
Showing
21 changed file
with
22 addition
and
22 deletion
+22
-22
multimedia/userfilemgr/common.js
multimedia/userfilemgr/common.js
+2
-2
multimedia/userfilemgr/userfilemgr_album/BUILD.gn
multimedia/userfilemgr/userfilemgr_album/BUILD.gn
+1
-1
multimedia/userfilemgr/userfilemgr_album/Test.json
multimedia/userfilemgr/userfilemgr_album/Test.json
+1
-1
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/BUILD.gn
multimedia/userfilemgr/userfilemgr_base/BUILD.gn
+1
-1
multimedia/userfilemgr/userfilemgr_base/Test.json
multimedia/userfilemgr/userfilemgr_base/Test.json
+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/BUILD.gn
multimedia/userfilemgr/userfilemgr_fileAsset/BUILD.gn
+1
-1
multimedia/userfilemgr/userfilemgr_fileAsset/Test.json
multimedia/userfilemgr/userfilemgr_fileAsset/Test.json
+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/userfilemgr_noPermission/BUILD.gn
multimedia/userfilemgr/userfilemgr_noPermission/BUILD.gn
+1
-1
multimedia/userfilemgr/userfilemgr_noPermission/Test.json
multimedia/userfilemgr/userfilemgr_noPermission/Test.json
+1
-1
未找到文件。
multimedia/userfilemgr/common.js
浏览文件 @
67becab0
...
@@ -18,8 +18,8 @@ import abilityAccessCtrl from '@ohos.abilityAccessCtrl';
...
@@ -18,8 +18,8 @@ import abilityAccessCtrl from '@ohos.abilityAccessCtrl';
import
bundle
from
'
@ohos.bundle
'
;
import
bundle
from
'
@ohos.bundle
'
;
const
presetsCount
=
{
const
presetsCount
=
{
ActsUserFileMgrAlbum
:
{
albumsCount
:
9
,
assetsCount
:
9
},
ActsUserFileMgrAlbum
JsTest
:
{
albumsCount
:
9
,
assetsCount
:
9
},
ActsUserFileMgrBase
:
{
albumsCount
:
42
,
assetsCount
:
84
},
ActsUserFileMgrBase
JsTest
:
{
albumsCount
:
42
,
assetsCount
:
84
},
}
}
const
IMAGE_TYPE
=
userfile_manager
.
MediaType
.
IMAGE
;
const
IMAGE_TYPE
=
userfile_manager
.
MediaType
.
IMAGE
;
...
...
multimedia/userfilemgr/userfilemgr_album/BUILD.gn
浏览文件 @
67becab0
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("userfilemgr_album_js_hap") {
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("userfilemgr_album_js_hap") {
]
]
ets2abc = true
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsUserFileMgrAlbum"
hap_name = "ActsUserFileMgrAlbum
JsTest
"
}
}
ohos_app_scope("medialibrary_app_profile") {
ohos_app_scope("medialibrary_app_profile") {
...
...
multimedia/userfilemgr/userfilemgr_album/Test.json
浏览文件 @
67becab0
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
},
},
{
{
"test-file-name"
:
[
"test-file-name"
:
[
"ActsUserFileMgrAlbum.hap"
"ActsUserFileMgrAlbum
JsTest
.hap"
],
],
"type"
:
"AppInstallKit"
,
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
"cleanup-apps"
:
true
...
...
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumCommitModifyCallback.test.ets
浏览文件 @
67becab0
...
@@ -34,7 +34,7 @@ export default function albumCommitModifyCallback(abilityContext) {
...
@@ -34,7 +34,7 @@ export default function albumCommitModifyCallback(abilityContext) {
beforeAll(async function () {
beforeAll(async function () {
console.info('beforeAll case');
console.info('beforeAll case');
await getPermission();
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
});
});
beforeEach(function () {
beforeEach(function () {
console.info('beforeEach case');
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumCommitModifyPromise.test.ets
浏览文件 @
67becab0
...
@@ -34,7 +34,7 @@ export default function albumCommitModifyPromise(abilityContext) {
...
@@ -34,7 +34,7 @@ export default function albumCommitModifyPromise(abilityContext) {
beforeAll(async function () {
beforeAll(async function () {
console.info('beforeAll case');
console.info('beforeAll case');
await getPermission();
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
});
});
beforeEach(function () {
beforeEach(function () {
console.info('beforeEach case');
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumGetFileAssetsCallback.test.ets
浏览文件 @
67becab0
...
@@ -32,7 +32,7 @@ export default function albumGetFileAssetsCallback(abilityContext) {
...
@@ -32,7 +32,7 @@ export default function albumGetFileAssetsCallback(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
beforeAll(async function () {
console.info('beforeAll case');
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
});
});
beforeEach(function () {
beforeEach(function () {
console.info('beforeEach case');
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_album/entry/src/main/ets/test/albumGetFileAssetsPromise.test.ets
浏览文件 @
67becab0
...
@@ -34,7 +34,7 @@ export default function albumGetFileAssetsPromise(abilityContext) {
...
@@ -34,7 +34,7 @@ export default function albumGetFileAssetsPromise(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
beforeAll(async function () {
console.info('beforeAll case');
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
});
});
beforeEach(function () {
beforeEach(function () {
console.info('beforeEach case');
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_base/BUILD.gn
浏览文件 @
67becab0
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("userfilemgr_base_js_hap") {
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("userfilemgr_base_js_hap") {
]
]
ets2abc = true
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsUserFileMgrBase"
hap_name = "ActsUserFileMgrBase
JsTest
"
}
}
ohos_app_scope("medialibrary_app_profile") {
ohos_app_scope("medialibrary_app_profile") {
...
...
multimedia/userfilemgr/userfilemgr_base/Test.json
浏览文件 @
67becab0
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
},
},
{
{
"test-file-name"
:
[
"test-file-name"
:
[
"ActsUserFileMgrBase.hap"
"ActsUserFileMgrBase
JsTest
.hap"
],
],
"type"
:
"AppInstallKit"
,
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
"cleanup-apps"
:
true
...
...
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getAlbumsCallback.test.ets
浏览文件 @
67becab0
...
@@ -35,7 +35,7 @@ export default function getAlbumsCallback(abilityContext) {
...
@@ -35,7 +35,7 @@ export default function getAlbumsCallback(abilityContext) {
beforeAll(async function () {
beforeAll(async function () {
console.info('beforeAll case');
console.info('beforeAll case');
await getPermission();
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
});
});
beforeEach(function () {
beforeEach(function () {
console.info('beforeEach case');
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getAlbumsPromise.test.ets
浏览文件 @
67becab0
...
@@ -32,7 +32,7 @@ export default function getAlbumsPromise(abilityContext) {
...
@@ -32,7 +32,7 @@ export default function getAlbumsPromise(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
beforeAll(async function () {
console.info('beforeAll case');
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum
JsTest
');
});
});
beforeEach(function () {
beforeEach(function () {
console.info('beforeEach case');
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getFileAssetsCallback.test.ets
浏览文件 @
67becab0
...
@@ -32,7 +32,7 @@ export default function getFileAssetsCallback(abilityContext) {
...
@@ -32,7 +32,7 @@ export default function getFileAssetsCallback(abilityContext) {
const
userfile_mgr
=
userfile_manager
.
getUserFileMgr
(
abilityContext
);
const
userfile_mgr
=
userfile_manager
.
getUserFileMgr
(
abilityContext
);
beforeAll
(
async
function
()
{
beforeAll
(
async
function
()
{
console
.
info
(
'beforeAll case'
);
console
.
info
(
'beforeAll case'
);
await
checkPresetsAssets
(
userfile_mgr
,
'ActsUserFileMgrBase'
);
await
checkPresetsAssets
(
userfile_mgr
,
'ActsUserFileMgrBase
JsTest
'
);
});
});
beforeEach
(
function
()
{
beforeEach
(
function
()
{
console
.
info
(
'beforeEach case'
);
console
.
info
(
'beforeEach case'
);
...
...
multimedia/userfilemgr/userfilemgr_base/entry/src/main/ets/test/getFileAssetsPromise.test.ets
浏览文件 @
67becab0
...
@@ -30,7 +30,7 @@ export default function getFileAssetsPromise(abilityContext) {
...
@@ -30,7 +30,7 @@ export default function getFileAssetsPromise(abilityContext) {
const
userfile_mgr
=
userfile_manager
.
getUserFileMgr
(
abilityContext
);
const
userfile_mgr
=
userfile_manager
.
getUserFileMgr
(
abilityContext
);
beforeAll
(
async
function
()
{
beforeAll
(
async
function
()
{
console
.
info
(
'beforeAll case'
);
console
.
info
(
'beforeAll case'
);
await
checkPresetsAssets
(
userfile_mgr
,
'ActsUserFileMgrBase'
);
await
checkPresetsAssets
(
userfile_mgr
,
'ActsUserFileMgrBase
JsTest
'
);
});
});
beforeEach
(
function
()
{
beforeEach
(
function
()
{
console
.
info
(
'beforeEach case'
);
console
.
info
(
'beforeEach case'
);
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/BUILD.gn
浏览文件 @
67becab0
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("userfilemgr_fileAsset_js_hap") {
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("userfilemgr_fileAsset_js_hap") {
]
]
ets2abc = true
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsUserFileMgrFileAsset"
hap_name = "ActsUserFileMgrFileAsset
JsTest
"
}
}
ohos_app_scope("medialibrary_app_profile") {
ohos_app_scope("medialibrary_app_profile") {
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/Test.json
浏览文件 @
67becab0
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
},
},
{
{
"test-file-name"
:
[
"test-file-name"
:
[
"ActsUserFileMgrFileAsset.hap"
"ActsUserFileMgrFileAsset
JsTest
.hap"
],
],
"type"
:
"AppInstallKit"
,
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
"cleanup-apps"
:
true
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetCommitModifyCallback.test.ets
浏览文件 @
67becab0
...
@@ -33,7 +33,7 @@ export default function fileAssetCommitModifyCallback(abilityContext) {
...
@@ -33,7 +33,7 @@ export default function fileAssetCommitModifyCallback(abilityContext) {
beforeAll(async function () {
beforeAll(async function () {
console.info('beforeAll case');
console.info('beforeAll case');
await getPermission();
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset
JsTest
')
});
});
beforeEach(function () {
beforeEach(function () {
console.info('beforeEach case');
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetCommitModifyPromise.test.ets
浏览文件 @
67becab0
...
@@ -31,7 +31,7 @@ export default function fileAssetCommitModifyPromise(abilityContext) {
...
@@ -31,7 +31,7 @@ export default function fileAssetCommitModifyPromise(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
beforeAll(async function () {
console.info('beforeAll case');
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset
JsTest
')
});
});
beforeEach(function () {
beforeEach(function () {
console.info('beforeEach case');
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetOpenCallback.test.ets
浏览文件 @
67becab0
...
@@ -31,7 +31,7 @@ export default function fileAssetOpenCallback(abilityContext) {
...
@@ -31,7 +31,7 @@ export default function fileAssetOpenCallback(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
beforeAll(async function () {
console.info('beforeAll case');
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset
JsTest
')
});
});
beforeEach(function () {
beforeEach(function () {
console.info('beforeEach case');
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_fileAsset/entry/src/main/ets/test/fileAssetOpenPromise.test.ets
浏览文件 @
67becab0
...
@@ -32,7 +32,7 @@ export default function fileAssetOpenPromise(abilityContext) {
...
@@ -32,7 +32,7 @@ export default function fileAssetOpenPromise(abilityContext) {
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
const userfile_mgr = userfile_manager.getUserFileMgr(abilityContext);
beforeAll(async function () {
beforeAll(async function () {
console.info('beforeAll case');
console.info('beforeAll case');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset
JsTest
')
});
});
beforeEach(function () {
beforeEach(function () {
console.info('beforeEach case');
console.info('beforeEach case');
...
...
multimedia/userfilemgr/userfilemgr_noPermission/BUILD.gn
浏览文件 @
67becab0
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("userfilemgr_noPermission_js_hap") {
...
@@ -21,7 +21,7 @@ ohos_js_hap_suite("userfilemgr_noPermission_js_hap") {
]
]
ets2abc = true
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsUserFileMgrNoPermission"
hap_name = "ActsUserFileMgrNoPermission
JsTest
"
}
}
ohos_app_scope("medialibrary_app_profile") {
ohos_app_scope("medialibrary_app_profile") {
...
...
multimedia/userfilemgr/userfilemgr_noPermission/Test.json
浏览文件 @
67becab0
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
},
},
{
{
"test-file-name"
:
[
"test-file-name"
:
[
"ActsUserFileMgrNoPermission.hap"
"ActsUserFileMgrNoPermission
JsTest
.hap"
],
],
"type"
:
"AppInstallKit"
,
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
"cleanup-apps"
:
true
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录