提交 ea82e5b8 编写于 作者: P panqiangbiao

fix datashare uri

Signed-off-by: Npanqiangbiao <panqiangbiao@huawei.com>
上级 e00ac18e
...@@ -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.
先完成此消息的编辑!
想要评论请 注册