提交 bdd42352 编写于 作者: O openharmony_ci 提交者: Gitee

!484 解决ActsMediaRecorderTest用例中SetOutputFile用例失败问题

Merge pull request !484 from apperception/master
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册