Skip to content

Commit c14e098

Browse files
author
wqingzhang
committed
单元测试
1 parent 1e3a586 commit c14e098

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unittest/src/object_op_test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,8 @@ TEST_F(ObjectOpTest, MediaTest) {
10611061

10621062
// 使用转码参数提交任务
10631063
opt.operation.transcode.container.format = "hls";
1064+
opt.operation.transcode.container.clip_config.duration = "5";
1065+
10641066
opt.operation.transcode.video.codec = "H.264";
10651067
opt.operation.transcode.audio.codec = "aac";
10661068
opt.operation.transcode.audio.sample_rate = "16000";
@@ -1090,6 +1092,7 @@ TEST_F(ObjectOpTest, MediaTest) {
10901092

10911093
// 使用转码参数提交任务
10921094
opt.operation.transcode.container.format = "dash";
1095+
opt.operation.transcode.container.clip_config.duration = "5";
10931096
opt.operation.transcode.video.codec = "H.264";
10941097
opt.operation.transcode.audio.codec = "aac";
10951098
opt.operation.transcode.audio.sample_rate = "16000";

0 commit comments

Comments
 (0)