提交 8826cbe7 编写于 作者: Y yygxr

Modify mCanAddOutput set error

Signed-off-by: Nyygxr <wuhao30@huawei.com>
上级 e797f222
...@@ -1156,8 +1156,7 @@ export default function cameraSessionTest(surfaceId: any) { ...@@ -1156,8 +1156,7 @@ export default function cameraSessionTest(surfaceId: any) {
expect().assertFail(); expect().assertFail();
} }
}) })
await sleep(500); await sleep(500);
mCanAddOutput = true;
} else { } else {
console.info(TAG + "Entering SUB_MULTIMEDIA_CAMERA_SESSION_CAN_ADDOUTPUT_CALLBACK_0100 FAILED with NoReviewOutput"); console.info(TAG + "Entering SUB_MULTIMEDIA_CAMERA_SESSION_CAN_ADDOUTPUT_CALLBACK_0100 FAILED with NoReviewOutput");
expect().assertFail(); expect().assertFail();
...@@ -1336,7 +1335,6 @@ export default function cameraSessionTest(surfaceId: any) { ...@@ -1336,7 +1335,6 @@ export default function cameraSessionTest(surfaceId: any) {
} }
}) })
await sleep(500); await sleep(500);
mCanAddOutput = true;
} else { } else {
console.info(TAG + "Entering SUB_MULTIMEDIA_CAMERA_SESSION_CAN_ADDOUTPUT_CALLBACK_0101 FAILED with NoPhotoOutput"); console.info(TAG + "Entering SUB_MULTIMEDIA_CAMERA_SESSION_CAN_ADDOUTPUT_CALLBACK_0101 FAILED with NoPhotoOutput");
expect().assertFail(); expect().assertFail();
...@@ -1530,8 +1528,7 @@ export default function cameraSessionTest(surfaceId: any) { ...@@ -1530,8 +1528,7 @@ export default function cameraSessionTest(surfaceId: any) {
expect().assertFail(); expect().assertFail();
} }
}) })
await sleep(500); await sleep(500);
mCanAddOutput = true;
} else { } else {
console.info(TAG + "Entering SUB_MULTIMEDIA_CAMERA_SESSION_CAN_ADDOUTPUT_CALLBACK_0102 FAILED with NoVideoOutput"); console.info(TAG + "Entering SUB_MULTIMEDIA_CAMERA_SESSION_CAN_ADDOUTPUT_CALLBACK_0102 FAILED with NoVideoOutput");
expect().assertFail(); expect().assertFail();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册