提交 74c35317 编写于 作者: O openharmony_ci 提交者: Gitee

!268 解决3518 master分支 ActsMediaRecorderTest模块2条失败用例的问题

Merge pull request !268 from LeeTestNady/master
...@@ -85,7 +85,7 @@ lite_component("acts_component") { ...@@ -85,7 +85,7 @@ lite_component("acts_component") {
"//test/xts/acts/security_lite/huks_posix:ActsSecurityDataTest", "//test/xts/acts/security_lite/huks_posix:ActsSecurityDataTest",
#"//test/xts/acts/multimedia_lite/camera_lite_posix/camera_native:ActsMediaCameraTest", #"//test/xts/acts/multimedia_lite/camera_lite_posix/camera_native:ActsMediaCameraTest",
#"//test/xts/acts/multimedia_lite/media_lite_posix/player_native:ActsMediaPlayerTest", #"//test/xts/acts/multimedia_lite/media_lite_posix/player_native:ActsMediaPlayerTest",
"//test/xts/acts/multimedia_lite/media_lite_posix/recorder_native:ActsMediaRecorderTest", #"//test/xts/acts/multimedia_lite/media_lite_posix/recorder_native:ActsMediaRecorderTest",
"//test/xts/acts/distributed_schedule_lite/system_ability_manager_posix:ActsSamgrTest", "//test/xts/acts/distributed_schedule_lite/system_ability_manager_posix:ActsSamgrTest",
"//test/xts/acts/appexecfwk_lite/appexecfwk_posix:ActsBundleMgrTest", "//test/xts/acts/appexecfwk_lite/appexecfwk_posix:ActsBundleMgrTest",
"//test/xts/acts/aafwk_lite/ability_posix:ActsAbilityMgrTest", "//test/xts/acts/aafwk_lite/ability_posix:ActsAbilityMgrTest",
......
...@@ -1003,7 +1003,7 @@ HWTEST_F(ActsMediaRecorderNDKTest, Test_SetMaxFileSize2, Function | MediumTest | ...@@ -1003,7 +1003,7 @@ HWTEST_F(ActsMediaRecorderNDKTest, Test_SetMaxFileSize2, Function | MediumTest |
HWTEST_F(ActsMediaRecorderNDKTest, Test_SetOutputFile1, Function | MediumTest | Level0) HWTEST_F(ActsMediaRecorderNDKTest, Test_SetOutputFile1, Function | MediumTest | Level0)
{ {
Recorder *recorder = new Recorder(); Recorder *recorder = new Recorder();
int32_t ret = recorder->SetOutputFile(1); int32_t ret = recorder->SetOutputFile(-1);
EXPECT_EQ(ERR_INVALID_PARAM, ret); EXPECT_EQ(ERR_INVALID_PARAM, ret);
delete recorder; delete recorder;
recorder = NULL; recorder = NULL;
...@@ -1017,7 +1017,7 @@ HWTEST_F(ActsMediaRecorderNDKTest, Test_SetOutputFile1, Function | MediumTest | ...@@ -1017,7 +1017,7 @@ HWTEST_F(ActsMediaRecorderNDKTest, Test_SetOutputFile1, Function | MediumTest |
HWTEST_F(ActsMediaRecorderNDKTest, Test_SetNextOutputFile1, Function | MediumTest | Level0) HWTEST_F(ActsMediaRecorderNDKTest, Test_SetNextOutputFile1, Function | MediumTest | Level0)
{ {
Recorder *recorder = new Recorder(); Recorder *recorder = new Recorder();
int32_t ret = recorder->SetNextOutputFile(1); int32_t ret = recorder->SetNextOutputFile(-1);
EXPECT_EQ(ERR_INVALID_PARAM, ret); EXPECT_EQ(ERR_INVALID_PARAM, ret);
delete recorder; delete recorder;
recorder = NULL; recorder = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册