From bca2da4913227cfed3ab85fc8095994de4cd2f5f Mon Sep 17 00:00:00 2001 From: qinliwen Date: Wed, 6 Jul 2022 14:32:23 +0800 Subject: [PATCH] Signed-off-by: qinliwen --- .../main/ets/MainAbility/test/Camera.test.ets | 16 ++++++------ .../src/main/ets/default/test/Camera.test.ets | 8 +++--- .../entry/src/main/ets/test/List.test.ets | 26 +++++++++---------- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/test/Camera.test.ets b/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/test/Camera.test.ets index 72dffb41a..6af767300 100644 --- a/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/test/Camera.test.ets +++ b/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/test/Camera.test.ets @@ -15,10 +15,10 @@ import cameraJSUnitEnum from './CameraJSUnitEnum.test.ets' import cameraJSUnitCameraFormat from './CameraJSUnitCameraFormat.test.ets' -import cameraJSUnitPhotoAsync from './CameraJSUnitPhotoAsync.test.ets' -import cameraJSUnitPhotoPromise from './CameraJSUnitPhotoPromise.test.ets' -import cameraJSUnitVideoAsync from './CameraJSUnitVideoAsync.test.ets' -import cameraJSUnitVideoPromise from './CameraJSUnitVideoPromise.test.ets' +//import cameraJSUnitPhotoAsync from './CameraJSUnitPhotoAsync.test.ets' +//import cameraJSUnitPhotoPromise from './CameraJSUnitPhotoPromise.test.ets' +//import cameraJSUnitVideoAsync from './CameraJSUnitVideoAsync.test.ets' +//import cameraJSUnitVideoPromise from './CameraJSUnitVideoPromise.test.ets' let TAG = 'CameraModuleTest: ' @@ -28,8 +28,8 @@ export default function cameraKit(surfaceId: any) { cameraJSUnitEnum(surfaceId) cameraJSUnitCameraFormat(surfaceId) - cameraJSUnitPhotoAsync(surfaceId) - cameraJSUnitPhotoPromise(surfaceId) - cameraJSUnitVideoAsync(surfaceId) - cameraJSUnitVideoPromise(surfaceId) + //cameraJSUnitPhotoAsync(surfaceId) + //cameraJSUnitPhotoPromise(surfaceId) + //cameraJSUnitVideoAsync(surfaceId) + //cameraJSUnitVideoPromise(surfaceId) } \ No newline at end of file diff --git a/multimedia/camera/camera_js_standard/src/main/ets/default/test/Camera.test.ets b/multimedia/camera/camera_js_standard/src/main/ets/default/test/Camera.test.ets index 0a338911c..433fa63a7 100644 --- a/multimedia/camera/camera_js_standard/src/main/ets/default/test/Camera.test.ets +++ b/multimedia/camera/camera_js_standard/src/main/ets/default/test/Camera.test.ets @@ -15,10 +15,10 @@ import cameraTestCase from '../test/CameraJSUnitEnum.test.test' import cameraTestCase from '../test/CameraJSUnitCameraFormat.test' -//import cameraTestCase from '../test/CameraJSUnitPhotoPromise.test' -//import cameraTestCase from '../test/CameraJSUnitPhotoAsync.test' -//import cameraTestCase from '../test/CameraJSUnitVideoPromise.test' -//import cameraTestCase from '../test/CameraJSUnitVideoAsync.test' +import cameraTestCase from '../test/CameraJSUnitPhotoPromise.test' +import cameraTestCase from '../test/CameraJSUnitPhotoAsync.test' +import cameraTestCase from '../test/CameraJSUnitVideoPromise.test' +import cameraTestCase from '../test/CameraJSUnitVideoAsync.test' let TAG = 'CameraModuleTest: ' 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 1ffbf0fd9..bd0c92994 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,27 +15,27 @@ 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() -- GitLab