From cf02de41237c6c65d365854dd6e3b76a068222bb Mon Sep 17 00:00:00 2001 From: apperception Date: Thu, 26 Aug 2021 07:35:32 +0000 Subject: [PATCH] Signed-off-by: zhaochen --- .../src/testcase/ActsMediaRecorderNDKTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/multimedia_lite/media_lite_posix/recorder_native/src/testcase/ActsMediaRecorderNDKTest.cpp b/multimedia_lite/media_lite_posix/recorder_native/src/testcase/ActsMediaRecorderNDKTest.cpp index 059c6291d..711ba1ddf 100755 --- a/multimedia_lite/media_lite_posix/recorder_native/src/testcase/ActsMediaRecorderNDKTest.cpp +++ b/multimedia_lite/media_lite_posix/recorder_native/src/testcase/ActsMediaRecorderNDKTest.cpp @@ -1006,8 +1006,8 @@ HWTEST_F(ActsMediaRecorderNDKTest, Test_SetMaxFileSize2, Function | MediumTest | HWTEST_F(ActsMediaRecorderNDKTest, Test_SetOutputFile1, Function | MediumTest | Level0) { Recorder *recorder = new Recorder(); - int32_t ret = recorder->SetOutputFile(1); - EXPECT_EQ(ERR_INVALID_PARAM, ret); + int32_t ret = recorder->SetOutputFile(-1); + EXPECT_EQ(-5, ret); delete recorder; recorder = NULL; } @@ -1020,8 +1020,8 @@ HWTEST_F(ActsMediaRecorderNDKTest, Test_SetOutputFile1, Function | MediumTest | HWTEST_F(ActsMediaRecorderNDKTest, Test_SetNextOutputFile1, Function | MediumTest | Level0) { Recorder *recorder = new Recorder(); - int32_t ret = recorder->SetNextOutputFile(1); - EXPECT_EQ(ERR_INVALID_PARAM, ret); + int32_t ret = recorder->SetNextOutputFile(-1); + EXPECT_EQ(-5, ret); delete recorder; recorder = NULL; } -- GitLab