From ecd9cf84ed4122ff5548482b52b79e9cd60062d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=93=E7=BB=86?= Date: Mon, 25 Jul 2022 09:53:30 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20442e5ff=20from=20https://gitee.com/boxw?= =?UTF-8?q?all/xts=5Facts/pulls/4542=20Resume=EF=BC=88211=E5=92=8C247?= =?UTF-8?q?=EF=BC=89=E3=80=81Stop=EF=BC=88278=E5=92=8C311=EF=BC=89?= =?UTF-8?q?=E3=80=81SetFileSplitDuration=EF=BC=88539=E5=92=8C575=EF=BC=89?= =?UTF-8?q?=E4=BA=92=E6=96=A5=20Signed-off-by:=20yangtikun?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../recorder_native/src/ActsMediaRecorderTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multimedia_lite/media_lite_posix/recorder_native/src/ActsMediaRecorderTest.cpp b/multimedia_lite/media_lite_posix/recorder_native/src/ActsMediaRecorderTest.cpp index 6151e3223..fb41e9d9a 100644 --- a/multimedia_lite/media_lite_posix/recorder_native/src/ActsMediaRecorderTest.cpp +++ b/multimedia_lite/media_lite_posix/recorder_native/src/ActsMediaRecorderTest.cpp @@ -244,7 +244,7 @@ HWTEST_F(RecoderLiteTest, medialite_recorder_Resume_test_002, Level1) retStatus = recInstance->Resume(); EXPECT_EQ(RET_OK, retStatus); retStatus = recInstance->Resume(); - EXPECT_NE(RET_OK, retStatus); + EXPECT_EQ(RET_OK, retStatus); retStatus = recInstance->Release(); delete recInstance; recInstance = nullptr; @@ -308,7 +308,7 @@ HWTEST_F(RecoderLiteTest, medialite_recorder_Stop_test_002, Level1) retStatus = recInstance->Stop(true); EXPECT_EQ(RET_OK, retStatus); retStatus = recInstance->Stop(true); - EXPECT_NE(RET_OK, retStatus); + EXPECT_EQ(RET_OK, retStatus); retStatus = recInstance->Release(); delete recInstance; recInstance = nullptr; @@ -572,7 +572,7 @@ HWTEST_F(RecoderLiteTest, medialite_recorder_SetFileSplitDuration_test_004, Leve retStatus = recInstance->Pause(); EXPECT_EQ(RET_OK, retStatus); retStatus = recInstance->SetFileSplitDuration(type, timestamp, duration); - EXPECT_NE(RET_OK, retStatus); + EXPECT_EQ(RET_OK, retStatus); retStatus = recInstance->Release(); delete recInstance; recInstance = nullptr; -- GitLab