提交 a7e28523 编写于 作者: L LeeTestNady 提交者: Gitee

update multimedia_lite/media_lite_posix/recorder_native/src/testcase/ActsMediaRecorderNDKTest.cpp.

上级 7610b4aa
......@@ -1003,7 +1003,7 @@ 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);
int32_t ret = recorder->SetOutputFile(-1);
EXPECT_EQ(ERR_INVALID_PARAM, ret);
delete recorder;
recorder = NULL;
......@@ -1017,7 +1017,7 @@ 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);
int32_t ret = recorder->SetNextOutputFile(-1);
EXPECT_EQ(ERR_INVALID_PARAM, ret);
delete recorder;
recorder = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册