From 489f92d92e39ccaa88e9b3513bc692612562125b Mon Sep 17 00:00:00 2001 From: lwx1121892 Date: Mon, 4 Jul 2022 15:05:17 +0800 Subject: [PATCH] =?UTF-8?q??= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lwx1121892 --- .../camera_native/src/ActsMediaCameraTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia_lite/camera_lite_posix/camera_native/src/ActsMediaCameraTest.cpp b/multimedia_lite/camera_lite_posix/camera_native/src/ActsMediaCameraTest.cpp index 52a1bd6db..8544c28c9 100755 --- a/multimedia_lite/camera_lite_posix/camera_native/src/ActsMediaCameraTest.cpp +++ b/multimedia_lite/camera_lite_posix/camera_native/src/ActsMediaCameraTest.cpp @@ -1754,7 +1754,7 @@ HWTEST_F(CameraLiteTest, Test_AddSurface_002, Level1) frameConfig->AddSurface(*surface); frameConfig->AddSurface(*surface); list list = frameConfig->GetSurfaces(); - EXPECT_TRUE(list.size() == 2); + EXPECT_TRUE(list.size() == 1); } HWTEST_F(CameraLiteTest, Test_AddSurface_003, Level1) @@ -1765,7 +1765,7 @@ HWTEST_F(CameraLiteTest, Test_AddSurface_003, Level1) frameConfig->AddSurface(*surface); frameConfig->AddSurface(*surface); list list = frameConfig->GetSurfaces(); - EXPECT_TRUE(list.size() == 3); + EXPECT_TRUE(list.size() == 1); } HWTEST_F(CameraLiteTest, PrfTest_AddSurface_001, Level1) -- GitLab