From febb3fba31fabf391e427b4c998ee3dafff86409 Mon Sep 17 00:00:00 2001 From: qinliwen Date: Mon, 11 Jul 2022 19:46:56 +0800 Subject: [PATCH] Signed-off-by: qinliwen --- multimedia/BUILD.gn | 3 +- .../entry/src/main/ets/test/List.test.ets | 54 +++++++++---------- 2 files changed, 28 insertions(+), 29 deletions(-) diff --git a/multimedia/BUILD.gn b/multimedia/BUILD.gn index 108741d8c..784c956cb 100644 --- a/multimedia/BUILD.gn +++ b/multimedia/BUILD.gn @@ -33,8 +33,7 @@ group("multimedia") { "media/media_js_standard/recorderFormat:recorder_format_js_hap", "media/media_js_standard/recorderProfile:recorder_profile_js_hap", "media/media_js_standard/videoPlayer:video_player_js_hap", - - #"medialibrary/mediaLibrary_js_standard:mediaLibrary_js_hap", + "medialibrary/mediaLibrary_js_standard:mediaLibrary_js_hap", ] } else { deps = [ diff --git a/multimedia/medialibrary/mediaLibrary_js_standard/entry/src/main/ets/test/List.test.ets b/multimedia/medialibrary/mediaLibrary_js_standard/entry/src/main/ets/test/List.test.ets index bd0c92994..cc10b98cd 100644 --- a/multimedia/medialibrary/mediaLibrary_js_standard/entry/src/main/ets/test/List.test.ets +++ b/multimedia/medialibrary/mediaLibrary_js_standard/entry/src/main/ets/test/List.test.ets @@ -15,51 +15,51 @@ import getPermissionTest from './getPermission.test.ets' import albumGetFileAssetsCallbackTest from './albumGetFileAssetsCallback.test.ets' import albumGetFileAssetsPromiseTest from './albumGetFileAssetsPromise.test.ets' -//import favoriteTestCallBackTest from './favoriteTestCallBack.test.ets' -//import favoriteTestPromiseTest from './favoriteTestPromise.test.ets' -//import fetchFileResultCallBackTest from './fetchFileResultCallBack.test.ets' -//import fetchFileResultPromiseTest from './fetchFileResultPromise.test.ets' -//import fileAssetCallBack2Test from './fileAssetCallBack2.test.ets' +import favoriteTestCallBackTest from './favoriteTestCallBack.test.ets' +import favoriteTestPromiseTest from './favoriteTestPromise.test.ets' +import fetchFileResultCallBackTest from './fetchFileResultCallBack.test.ets' +import fetchFileResultPromiseTest from './fetchFileResultPromise.test.ets' +import fileAssetCallBack2Test from './fileAssetCallBack2.test.ets' import FileAssetGetThumbnailCallBackTest from './FileAssetGetThumbnailCallBack.test.ets' import FileAssetGetThumbnailPromiseTest from './FileAssetGetThumbnailPromise.test.ets' -//import fileAssetPromise2Test from './fileAssetPromise2.test.ets' -//import fileAssetTestCallbackTest from './fileAssetTestCallback.test.ets' -//import fileAssetTestPromiseTest from './fileAssetTestPromise.test.ets' +import fileAssetPromise2Test from './fileAssetPromise2.test.ets' +import fileAssetTestCallbackTest from './fileAssetTestCallback.test.ets' +import fileAssetTestPromiseTest from './fileAssetTestPromise.test.ets' import fileAssetUriTestCallBackTest from './fileAssetUriTestCallBack.test.ets' import fileAssetUriTestPromiseTest from './fileAssetUriTestPromise.test.ets' import filekeyTestCallBackTest from './filekeyTestCallBack.test.ets' import filekeyTestPromiseTest from './filekeyTestPromise.test.ets' import fileTestCallBackTest from './fileTestCallBack.test.ets' import fileTestPromiseTest from './fileTestPromise.test.ets' -//import mediaLibraryTestCallBackTest from './mediaLibraryTestCallBack.test.ets' -//import mediaLibraryTestPromiseTest from './mediaLibraryTestPromise.test.ets' -//import albumTestCallBackTest from './albumTestCallBack.test.ets' -//import albumTestPromiseTest from './albumTestPromise.test.ets' -//import mediaLibraryTestPromiseOnOffTest from './mediaLibraryTestPromiseOnOff.test.ets' +import mediaLibraryTestCallBackTest from './mediaLibraryTestCallBack.test.ets' +import mediaLibraryTestPromiseTest from './mediaLibraryTestPromise.test.ets' +import albumTestCallBackTest from './albumTestCallBack.test.ets' +import albumTestPromiseTest from './albumTestPromise.test.ets' +import mediaLibraryTestPromiseOnOffTest from './mediaLibraryTestPromiseOnOff.test.ets' export default function testsuite(abilityContext) { getPermissionTest() albumGetFileAssetsCallbackTest(abilityContext) albumGetFileAssetsPromiseTest(abilityContext) - //favoriteTestCallBackTest(abilityContext) - //favoriteTestPromiseTest(abilityContext) - //fetchFileResultCallBackTest(abilityContext) - //fetchFileResultPromiseTest(abilityContext) - //fileAssetCallBack2Test(abilityContext) + favoriteTestCallBackTest(abilityContext) + favoriteTestPromiseTest(abilityContext) + fetchFileResultCallBackTest(abilityContext) + fetchFileResultPromiseTest(abilityContext) + fileAssetCallBack2Test(abilityContext) FileAssetGetThumbnailCallBackTest(abilityContext) FileAssetGetThumbnailPromiseTest(abilityContext) - //fileAssetPromise2Test(abilityContext) - //fileAssetTestCallbackTest(abilityContext) - //fileAssetTestPromiseTest(abilityContext) + fileAssetPromise2Test(abilityContext) + fileAssetTestCallbackTest(abilityContext) + fileAssetTestPromiseTest(abilityContext) fileAssetUriTestCallBackTest(abilityContext) fileAssetUriTestPromiseTest(abilityContext) filekeyTestCallBackTest(abilityContext) filekeyTestPromiseTest(abilityContext) fileTestCallBackTest(abilityContext) fileTestPromiseTest(abilityContext) - //mediaLibraryTestCallBackTest(abilityContext) - //mediaLibraryTestPromiseTest(abilityContext) - //albumTestCallBackTest(abilityContext) - //albumTestPromiseTest(abilityContext) - //mediaLibraryTestPromiseOnOffTest(abilityContext) -} \ No newline at end of file + mediaLibraryTestCallBackTest(abilityContext) + mediaLibraryTestPromiseTest(abilityContext) + albumTestCallBackTest(abilityContext) + albumTestPromiseTest(abilityContext) + mediaLibraryTestPromiseOnOffTest(abilityContext) +} -- GitLab