diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-26 23:02:10 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-21 21:57:18 +0200 |
| commit | 0fa60920228c591f1183149d79c88302d3ce01fb (patch) | |
| tree | afedcb6e3dbae9011e246b21c23839af687939c4 /test/encryption_test.cc | |
| parent | e18addc9029f56c67aa40254bcfa40f8b072866f (diff) | |
Add ContentVersion class.
Diffstat (limited to 'test/encryption_test.cc')
| -rw-r--r-- | test/encryption_test.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc index 913bd206..c452c07b 100644 --- a/test/encryption_test.cc +++ b/test/encryption_test.cc @@ -125,8 +125,9 @@ BOOST_AUTO_TEST_CASE (encryption_test) shared_ptr<dcp::ReelSoundAsset> (new dcp::ReelSoundAsset (ms, 0)), shared_ptr<dcp::ReelSubtitleAsset> () ))); - cpl->set_content_version_id ("urn:uri:81fb54df-e1bf-4647-8788-ea7ba154375b_2012-07-17T04:45:18+00:00"); - cpl->set_content_version_label_text ("81fb54df-e1bf-4647-8788-ea7ba154375b_2012-07-17T04:45:18+00:00"); + cpl->set_content_version ( + dcp::ContentVersion("urn:uri:81fb54df-e1bf-4647-8788-ea7ba154375b_2012-07-17T04:45:18+00:00", "81fb54df-e1bf-4647-8788-ea7ba154375b_2012-07-17T04:45:18+00:00") + ); cpl->set_annotation_text ("A Test DCP"); cpl->set_issuer ("OpenDCP 0.0.25"); cpl->set_creator ("OpenDCP 0.0.25"); |
