mirror of
https://gitee.com/openharmony/xts_hats
synced 2024-11-23 15:00:55 +00:00
update hdf/camera/cameraMg/v1_0/src/hdi_stream_uttest.cpp.
Signed-off-by: 刘丰 <liufeng204@h-partners.com>
This commit is contained in:
parent
73ecc15c1c
commit
2348e3af96
@ -735,7 +735,7 @@ HWTEST_F(HdiStreamUtTest, SUB_Driver_Camera_Merge_5200, TestSize.Level0)
|
||||
|
||||
/**
|
||||
* @tc.name: capture
|
||||
* @tc.desc: preview, capture->captureInfo->streamId = 1073741822, return success
|
||||
* @tc.desc: preview, capture->captureInfo->streamId = 65535, return success
|
||||
* @tc.size: MediumTest
|
||||
* @tc.type: Function
|
||||
*/
|
||||
@ -748,7 +748,7 @@ HWTEST_F(HdiStreamUtTest, SUB_Driver_Camera_Merge_5300, TestSize.Level0)
|
||||
EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nullptr);
|
||||
|
||||
cameraTest->streamInfo = std::make_shared<StreamInfo>();
|
||||
cameraTest->streamInfo->streamId_ = 1073741822;
|
||||
cameraTest->streamInfo->streamId_ = 65535;
|
||||
cameraTest->streamInfo->width_ = 1920;
|
||||
cameraTest->streamInfo->height_ = 1080;
|
||||
cameraTest->streamInfo->format_ = cameraTest->previewFormat;
|
||||
@ -772,7 +772,7 @@ HWTEST_F(HdiStreamUtTest, SUB_Driver_Camera_Merge_5300, TestSize.Level0)
|
||||
EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
|
||||
int captureId = 2001;
|
||||
cameraTest->captureInfo = std::make_shared<CaptureInfo>();
|
||||
cameraTest->captureInfo->streamIds_ = {1073741822};
|
||||
cameraTest->captureInfo->streamIds_ = {65535};
|
||||
cameraTest->captureInfo->captureSetting_ = cameraTest->abilityVec;
|
||||
cameraTest->captureInfo->enableShutterCallback_ =true;
|
||||
bool isStreaming = true;
|
||||
|
Loading…
Reference in New Issue
Block a user