diff --git a/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestCallback.test.js b/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestCallback.test.js index c6ce2e8fd6cbff4227bd0033fa30f8251cf47f3c..19df02ba0b6cc6807447305831d0b20362fbedf6 100644 --- a/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestCallback.test.js +++ b/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestCallback.test.js @@ -639,7 +639,7 @@ describe('fileAssetTestCallback.test.js', async function() { try { let fileType = mediaLibrary.MediaType.VIDEO; let fileFetchOp = { - selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND display_name = ?', + selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND ' + mediaLibrary.FileKey.DISPLAY_NAME + ' = ?', selectionArgs : [ fileType.toString(), '01.mp4' ], }; let fetchFileResult = await media.getFileAssets(fileFetchOp); @@ -708,7 +708,7 @@ describe('fileAssetTestCallback.test.js', async function() { try { let type = mediaLibrary.MediaType.VIDEO; let fetchOp = { - selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND display_name = ?', + selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND ' + mediaLibrary.FileKey.DISPLAY_NAME + ' = ?', selectionArgs : [ type.toString(), '01.mp4' ], }; let fetchFileResult = await media.getFileAssets(fetchOp); @@ -773,7 +773,7 @@ describe('fileAssetTestCallback.test.js', async function() { try { let type = mediaLibrary.MediaType.VIDEO; let fetchOp = { - selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND display_name = ?', + selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND ' + mediaLibrary.FileKey.DISPLAY_NAME + ' = ?', selectionArgs : [ type.toString(), '01.mp4' ], }; let fetchFileResult = await media.getFileAssets(fetchOp); diff --git a/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestPromise.test.js b/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestPromise.test.js index ecaf75eb33715138cc6f9eef5567aa3ee9bff247..b007c29bd0dfc58b9ffdfe2ff888de8c8eda452d 100644 --- a/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestPromise.test.js +++ b/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileAssetTestPromise.test.js @@ -458,7 +458,7 @@ describe('fileAssetTestPromise.test.js', async function() { try { let fileType = mediaLibrary.MediaType.VIDEO; let fileFetchOp = { - selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND display_name = ?', + selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND ' + mediaLibrary.FileKey.DISPLAY_NAME + ' = ?', selectionArgs : [ fileType.toString(), '01.mp4' ], }; let fetchFileResult = await media.getFileAssets(fileFetchOp); @@ -517,7 +517,7 @@ describe('fileAssetTestPromise.test.js', async function() { try { let type = mediaLibrary.MediaType.VIDEO; let fetchOp = { - selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND display_name = ?', + selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND ' + mediaLibrary.FileKey.DISPLAY_NAME + ' = ?', selectionArgs : [ type.toString(), '01.mp4' ], }; let fetchFileResult = await media.getFileAssets(fetchOp); @@ -561,7 +561,7 @@ describe('fileAssetTestPromise.test.js', async function() { try { let type = mediaLibrary.MediaType.VIDEO; let fetchOp = { - selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND display_name = ?', + selections : mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND ' + mediaLibrary.FileKey.DISPLAY_NAME + ' = ?', selectionArgs : [ type.toString(), '01.mp4' ], }; let fetchFileResult = await media.getFileAssets(fetchOp); diff --git a/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileTestPromise.test.js b/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileTestPromise.test.js index 72cfe83440646015872a73007d0e9578bec5ed2e..361013f5d50a7e3ba6df4346d5cc02d2768916e1 100644 --- a/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileTestPromise.test.js +++ b/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileTestPromise.test.js @@ -29,7 +29,7 @@ let imagesfetchOp = { selectionArgs: [imageType.toString()], }; let videosfetchOp = { - selections: mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND display_name = ?', + selections: mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND ' + mediaLibrary.FileKey.DISPLAY_NAME + ' = ?', selectionArgs: [videoType.toString(), '01.mp4'], }; let audiosfetchOp = { diff --git a/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestCallBack.test.js b/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestCallBack.test.js index af33f957c450eec698f38f011d6b03e5946593bb..e055c4cb07f38cd186a3b0eff9486bb36299b240 100644 --- a/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestCallBack.test.js +++ b/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestCallBack.test.js @@ -40,7 +40,7 @@ let imagesfetchOp = { selectionArgs: [imageType.toString()], }; let videosfetchOp = { - selections: mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND display_name = ?', + selections: mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND ' + mediaLibrary.FileKey.DISPLAY_NAME + ' = ?', selectionArgs: [videoType.toString(), '01.mp4'], }; let audiosfetchOp = { diff --git a/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestPromise.test.js b/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestPromise.test.js index 25be293f38bae31d0f24392330b7376e2bbd5b09..da849cec904818c8a50c4f9080bc03d9eccdbbeb 100644 --- a/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestPromise.test.js +++ b/multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/mediaLibraryTestPromise.test.js @@ -40,7 +40,7 @@ let imagesfetchOp = { selectionArgs: [imageType.toString()], }; let videosfetchOp = { - selections: mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND display_name = ?', + selections: mediaLibrary.FileKey.MEDIA_TYPE + '= ? AND ' + mediaLibrary.FileKey.DISPLAY_NAME + ' = ?', selectionArgs: [videoType.toString(), '01.mp4'], }; let audiosfetchOp = {