mirror of
https://gitee.com/openharmony/xts_hats
synced 2025-03-04 16:37:29 +00:00
commit
e29b17a108
@ -17,14 +17,13 @@ import("//build/ohos_var.gni")
|
||||
import("//build/test.gni")
|
||||
import("//test/xts/tools/build/suite.gni")
|
||||
import("$base_root/drivers/peripheral/camera/camera.gni")
|
||||
import("$base_root/drivers/peripheral/display/display_config.gni")
|
||||
module_output_path = "hats/camera"
|
||||
|
||||
#config("cameraTest_config") {
|
||||
# visibility = [ ":*" ]
|
||||
#}
|
||||
|
||||
ohos_moduletest_suite("HatsHdfCameraMgTestv0") {
|
||||
#testonly = true
|
||||
defines = []
|
||||
defines += display_defines
|
||||
configs = [ ":hdf_cameramg" ]
|
||||
module_out_path = module_output_path
|
||||
sources = [
|
||||
|
@ -1010,6 +1010,7 @@ HWTEST_F(HdiStreamUtTest, SUB_DriverSystem_CameraHdiMg_0610, TestSize.Level0)
|
||||
sleep(UT_SECOND_TIMES);
|
||||
}
|
||||
|
||||
#ifdef DISPLAY_COMMUNITY
|
||||
/**
|
||||
* @tc.name: CAMERA_BUSY
|
||||
* @tc.desc: CAMERA_BUSY
|
||||
@ -1076,4 +1077,5 @@ HWTEST_F(HdiStreamUtTest, SUB_DriverSystem_CameraHdiMg_002, TestSize.Level0)
|
||||
cameraTest->captureInfo->enableShutterCallback_ = true;
|
||||
cameraTest->rc = cameraTest->streamOperator->Capture(cameraTest->streamIdPreview, *cameraTest->captureInfo, true);
|
||||
EXPECT_EQ(true, cameraTest->rc == DEVICE_ERROR);
|
||||
}
|
||||
}
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user