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

!2071 add medialibrary xts

Merge pull request !2071 from 潘强标/master
......@@ -27,7 +27,7 @@ group("multimedia") {
#"media/media_js_standard/videoPlayer:video_player_js_hap",
#"media/media_js_standard/videoRecorder:video_recorder_js_hap",
#"medialibrary/mediaLibrary_js_standard:mediaLibrary_js_hap",
"medialibrary/mediaLibrary_js_standard:mediaLibrary_js_hap",
#"media/media_js_standard/audioRecorder:audio_recorder_js_hap",
]
......
......@@ -14,7 +14,9 @@
"push": [
"./resource/medialibrary/01.jpg ->/storage/media/100/local/files",
"./resource/medialibrary/01.mp3 ->/storage/media/100/local/files",
"./resource/medialibrary/01.mp4 ->/storage/media/100/local/files"
"./resource/medialibrary/01.mp4 ->/storage/media/100/local/files",
"./resource/medialibrary/test.dat ->/storage/media/100/local/files",
"./resource/medialibrary/test2.dat ->/storage/media/100/local/files"
]
},
{
......@@ -35,6 +37,9 @@
"cp /storage/media/100/local/files/01.mp3 /storage/media/100/local/files/camera/02.mp3",
"cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/camera/01.mp4",
"cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/camera/02.mp4",
"mkdir /storage/media/100/local/files/File",
"cp /storage/media/100/local/files/test.dat /storage/media/100/local/files/File/test.dat",
"cp /storage/media/100/local/files/test2.dat /storage/media/100/local/files/File/test2.dat",
"chmod -R 777 /storage/media/100/local/files/*",
"chmod -R 777 /data/service/el2/100/hmdfs/account/files/*",
"killall com.ohos.medialibrary.MediaScannerAbilityA",
......@@ -53,3 +58,4 @@
}
]
}
......@@ -75,7 +75,7 @@
"autoDesignWidth": true
}
}
]
],
"reqPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
......@@ -85,4 +85,4 @@
}
]
}
}
\ No newline at end of file
}
......@@ -12,14 +12,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
require('./favoriteTestCallBack.test.js')
require('./favoriteTestPromise.test.js')
require('./fileTestPromise.test.js')
require('./albumTestPromise.test.js')
require('./fileTestCallBack.test.js')
require('./favTestCallBack.test.js')
require('./albumTestCallBack.test.js')
require('./getMediaFileAssetStatus.test.js')
require('./favTestPromise.test.js')
require('./fileTestCallBack.test.js')
require('./favTestCallBack.test.js')
require('./albumTestCallBack.test.js')
require('./FileAssetGetThumbnail.js')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册