提交 a91edc71 编写于 作者: L lwx1121892

<userfilemgr包名修改>

Signed-off-by: Nlwx1121892 <liuxueqi3@huawei.com>
上级 a627734a
......@@ -18,8 +18,8 @@ import abilityAccessCtrl from '@ohos.abilityAccessCtrl';
import bundle from '@ohos.bundle';
const presetsCount = {
ActsUserFileMgrAlbumJsTest: { albumsCount: 9, assetsCount: 9 },
ActsUserFileMgrBaseJsTest: { albumsCount: 42, assetsCount: 84 },
ActsUserFileMgrAlbum: { albumsCount: 9, assetsCount: 9 },
ActsUserFileMgrBase: { albumsCount: 42, assetsCount: 84 },
}
const IMAGE_TYPE = userfile_manager.MediaType.IMAGE;
......
......@@ -34,7 +34,7 @@ export default function albumCommitModifyCallback(abilityContext) {
beforeAll(async function () {
console.info('beforeAll case');
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbumJsTest');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -34,7 +34,7 @@ export default function albumCommitModifyPromise(abilityContext) {
beforeAll(async function () {
console.info('beforeAll case');
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbumJsTest');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -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, 'ActsUserFileMgrAlbumJsTest');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -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, 'ActsUserFileMgrAlbumJsTest');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -35,7 +35,7 @@ export default function getAlbumsCallback(abilityContext) {
beforeAll(async function () {
console.info('beforeAll case');
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbumJsTest');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -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, 'ActsUserFileMgrAlbumJsTest');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrAlbum');
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -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, 'ActsUserFileMgrBaseJsTest');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrBase');
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -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, 'ActsUserFileMgrBaseJsTest');
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrBase');
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -33,7 +33,7 @@ export default function fileAssetCommitModifyCallback(abilityContext) {
beforeAll(async function () {
console.info('beforeAll case');
await getPermission();
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAssetJsTest')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -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, 'ActsUserFileMgrFileAssetJsTest')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -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, 'ActsUserFileMgrFileAssetJsTest')
await checkPresetsAssets(userfile_mgr, 'ActsUserFileMgrFileAsset')
});
beforeEach(function () {
console.info('beforeEach case');
......
......@@ -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, 'ActsUserFileMgrFileAssetJsTest')
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.
先完成此消息的编辑!
想要评论请 注册