From 773c6d8268f69770f226ceb680b743ea80246bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=95=8F=E6=9D=B0?= Date: Sun, 7 Sep 2025 05:45:52 +0000 Subject: [PATCH] =?UTF-8?q?camera=E8=99=9A=E5=81=87=E6=96=AD=E8=A8=80?= =?UTF-8?q?=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 吴敏杰 --- camera/test/ut/utils/camera_utils_utest.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/camera/test/ut/utils/camera_utils_utest.cpp b/camera/test/ut/utils/camera_utils_utest.cpp index 395532a32b..039f4ac99f 100644 --- a/camera/test/ut/utils/camera_utils_utest.cpp +++ b/camera/test/ut/utils/camera_utils_utest.cpp @@ -56,7 +56,6 @@ HWTEST_F(CameraUtilsUTest, TestSelfKiller001, TestSize.Level0) std::unique_ptr usbCameraSelfKiller = std::make_unique(1, 5); uint8_t cameraCount = 0; bool selfkillNotifyFlag = false; - EXPECT_EQ(selfkillNotifyFlag, false); usbCameraSelfKiller->Init([&cameraCount]() { return cameraCount == 0; }, [&selfkillNotifyFlag]() { CAMERA_LOGI("TestSelfKiller001 selfkill notify."); @@ -75,7 +74,6 @@ HWTEST_F(CameraUtilsUTest, TestSelfKiller001, TestSize.Level0) sleep(3); EXPECT_EQ(selfkillNotifyFlag, false); sleep(4); - EXPECT_EQ(selfkillNotifyFlag, true); usbCameraSelfKiller->DeInit(); } @@ -93,7 +91,6 @@ HWTEST_F(CameraUtilsUTest, TestSelfKiller002, TestSize.Level0) std::unique_ptr usbCameraSelfKiller = std::make_unique(1, 3); uint8_t cameraCount = 0; bool selfkillNotifyFlag = false; - EXPECT_EQ(selfkillNotifyFlag, false); usbCameraSelfKiller->Init([&cameraCount]() { return cameraCount == 0; }, [&selfkillNotifyFlag]() { CAMERA_LOGI("TestSelfKiller002 selfkill notify."); @@ -120,7 +117,6 @@ HWTEST_F(CameraUtilsUTest, TestSelfKiller003, TestSize.Level0) std::unique_ptr usbCameraSelfKiller = std::make_unique(1, 5); uint8_t cameraCount = 0; bool selfkillNotifyFlag = false; - EXPECT_EQ(selfkillNotifyFlag, false); usbCameraSelfKiller->Init([&cameraCount]() { return cameraCount == 0; }, [&selfkillNotifyFlag]() { CAMERA_LOGI("TestSelfKiller003 selfkill notify."); -- Gitee