diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-03 12:36:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-03 12:36:21 +0100 |
| commit | ffbf3cf7f94eda1441e8a6f53c2fb32b3dc6ad08 (patch) | |
| tree | c050f07db747944abcafe9a56183218a0aac05b8 /test | |
| parent | 450edeeb94ff755b2a6c6588138256ad2894ead7 (diff) | |
Make test results more reproducible.
Diffstat (limited to 'test')
| -rw-r--r-- | test/dcp_test.cc | 1 | ||||
| -rw-r--r-- | test/encryption_test.cc | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/dcp_test.cc b/test/dcp_test.cc index 1736cb60..5c07a0c8 100644 --- a/test/dcp_test.cc +++ b/test/dcp_test.cc @@ -58,6 +58,7 @@ BOOST_AUTO_TEST_CASE (dcp_test) shared_ptr<dcp::CPL> cpl (new dcp::CPL ("A Test DCP", dcp::FEATURE)); 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_metadata (xml_meta); shared_ptr<dcp::MonoPictureMXF> mp (new dcp::MonoPictureMXF (dcp::Fraction (24, 1))); mp->set_metadata (mxf_meta); diff --git a/test/encryption_test.cc b/test/encryption_test.cc index a4bc0600..d5cd46d4 100644 --- a/test/encryption_test.cc +++ b/test/encryption_test.cc @@ -121,6 +121,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_metadata (xml_metadata); d.add (cpl); d.write_xml (dcp::SMPTE, xml_metadata, signer); |
