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

!6082 【媒体子系统】camera测试用例打印改正

Merge pull request !6082 from 徐梦舒/master
...@@ -1126,11 +1126,11 @@ export default function cameraSessionExposureTest(surfaceId: any) { ...@@ -1126,11 +1126,11 @@ export default function cameraSessionExposureTest(surfaceId: any) {
* @tc.type : Function * @tc.type : Function
* @tc.level : Level 2 * @tc.level : Level 2
*/ */
it('SUB_MULTIMEDIA_CAMERA_SESSION_IS_EXPOSURE_MODE_SUPPORT_PROMISE_0101', 2, async function (done) { it('SUB_MULTIMEDIA_CAMERA_SESSION_IS_EXPOSURE_MODE_SUPPORT_PROMISE_0102', 2, async function (done) {
console.info("--------------SUB_MULTIMEDIA_CAMERA_SESSION_IS_EXPOSURE_MODE_SUPPORT_PROMISE_0102--------------"); console.info("--------------SUB_MULTIMEDIA_CAMERA_SESSION_IS_EXPOSURE_MODE_SUPPORT_PROMISE_0102--------------");
if (mCameraNum == 0) { if (mCameraNum == 0) {
console.info(TAG + "Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_EXPOSURE_MODE_SUPPORT_PROMISE_0101 FAILED with NoCamera"); console.info(TAG + "Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_EXPOSURE_MODE_SUPPORT_PROMISE_0102 FAILED with NoCamera");
expect().assertFail(); expect().assertFail();
done(); done();
} else { } else {
......
...@@ -710,7 +710,7 @@ export default function cameraSessionZoomRatioTest(surfaceId: any) { ...@@ -710,7 +710,7 @@ export default function cameraSessionZoomRatioTest(surfaceId: any) {
} }
} }
catch { catch {
console.info(TAG + "Entering SUB_MULTIMEDIA_CAMERA_SESSION_GET_ZOOM_RATIO_RANGE_CALLBACK_0100 PASSED"); console.info(TAG + "Entering SUB_MULTIMEDIA_CAMERA_SESSION_GET_ZOOM_RATIO_RANGE_PROMISE_0100 PASSED");
} }
await sleep(1000); await sleep(1000);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册