diff --git a/multimedia/BUILD.gn b/multimedia/BUILD.gn index 108741d8cf67fa781e7c18faef6d7833a1924de8..784c956cb354f54105e799b6603055b51b53cf24 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 bd0c92994a7b4dd0047e47cc0e29d7d0fc78d11c..cc10b98cdfcf9e32a09e514190955758ac3ee409 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) +}