Skip to content

Commit 1e3a586

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

unittest/src/object_op_test.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,6 +1068,9 @@ TEST_F(ObjectOpTest, MediaTest) {
10681068
opt.operation.transcode.audio.channels = "2";
10691069
opt.operation.transcode.trans_config.hls_encrypt.is_hls_encrypt = "true";
10701070
opt.operation.transcode.trans_config.hls_encrypt.url_key = "http://abc.com/";
1071+
opt.operation.output.bucket = m_bucket_name;
1072+
opt.operation.output.region = m_region;
1073+
opt.operation.output.object = "output/transcode.m3u8";
10711074
req.setOperation(opt);
10721075
req.setOperation(opt);
10731076
CosResult result = m_client->CreateDataProcessJobs(req, &resp);
@@ -1094,6 +1097,9 @@ TEST_F(ObjectOpTest, MediaTest) {
10941097
opt.operation.transcode.audio.channels = "2";
10951098
opt.operation.transcode.trans_config.dash_encrypt.is_encrypt = "true";
10961099
opt.operation.transcode.trans_config.dash_encrypt.url_key = "http://abc.com/";
1100+
opt.operation.output.bucket = m_bucket_name;
1101+
opt.operation.output.region = m_region;
1102+
opt.operation.output.object = "output/transcode.dash";
10971103
req.setOperation(opt);
10981104
req.setOperation(opt);
10991105
CosResult result = m_client->CreateDataProcessJobs(req, &resp);

0 commit comments

Comments
 (0)