未验证 提交 f0a9e460 编写于 作者: O openharmony_ci 提交者: Gitee

!3425 fix datashare uri

Merge pull request !3425 from 潘强标/OpenHarmony_filemanager_develop_20220505
...@@ -93,7 +93,7 @@ function printAlbumMessage(testNum, album) { ...@@ -93,7 +93,7 @@ function printAlbumMessage(testNum, album) {
const props = { const props = {
albumName: 'AblumInfo', albumName: 'AblumInfo',
albumUri: 'dataability:///media/album/', albumUri: 'datashare:///media/album/',
count: 3 count: 3
} }
function checkAlbumAttr(done, album, relativePaths) { function checkAlbumAttr(done, album, relativePaths) {
......
...@@ -94,7 +94,7 @@ function printAlbumMessage(testNum, album) { ...@@ -94,7 +94,7 @@ function printAlbumMessage(testNum, album) {
const props = { const props = {
albumName: 'AblumInfo', albumName: 'AblumInfo',
albumUri: 'dataability:///media/album/', albumUri: 'datashare:///media/album/',
count: 3 count: 3
} }
function checkAlbumAttr(done, album, relativePaths) { function checkAlbumAttr(done, album, relativePaths) {
......
...@@ -52,7 +52,7 @@ export default function fileAssetUriTestCallBackTest(abilityContext){ ...@@ -52,7 +52,7 @@ export default function fileAssetUriTestCallBackTest(abilityContext){
const uri = firstObject.uri; const uri = firstObject.uri;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_CALLBACK_005_35 uri:' console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_CALLBACK_005_35 uri:'
+ uri); + uri);
const serachUri = 'dataability:///media/image/' + id; const serachUri = 'datashare:///media/image/' + id;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_CALLBACK_005_35 serachUri:' console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_CALLBACK_005_35 serachUri:'
+ serachUri); + serachUri);
......
...@@ -51,7 +51,7 @@ export default function fileAssetUriTestPromiseTest(abilityContext){ ...@@ -51,7 +51,7 @@ export default function fileAssetUriTestPromiseTest(abilityContext){
const id = firstObject.id; const id = firstObject.id;
const uri = firstObject.uri; const uri = firstObject.uri;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_PROMISE_005_35 uri:' + uri); console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_PROMISE_005_35 uri:' + uri);
const serachUri = 'dataability:///media/image/' + id; const serachUri = 'datashare:///media/image/' + id;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_PROMISE_005_35 serachUri:' console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_PROMISE_005_35 serachUri:'
+ serachUri); + serachUri);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册