summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-06-02Test churn from adding make_uuid() into CPL.Carl Hetherington
2021-06-02Improve output when a test fails.Carl Hetherington
2021-06-02Reduce test flakyness a bit.Carl Hetherington
2021-06-02Pass through CompositionMetadataAsset correctly.Carl Hetherington
We weren't saving Id, and were not quite handling FullContentText correctly.
2021-05-27Fix bug causing failure to decrypt SMPTE subtitles.Carl Hetherington
2021-05-27C++11 cleanup.Carl Hetherington
2021-05-27Sort notes when checking verifications.Carl Hetherington
So that the lists in the tests don't have to be in the right order.
2021-04-22Don't give an error on verifying Interop DCPs with possibly-incorrectlyCarl Hetherington
marked 3D assets. This also adds a warning into the verification output. I don't know if this is actually a standard violation but they have been seen in the wild made by "reputable" DCP creation software. DoM bug #1976.
2021-04-14Improve handling of image subtitle IDs in XML (DoM bug #1965)Carl Hetherington
When reading/writing the XML for image subtitles, we assumed that the content of the <Image> tag is just the ID of the PNG in the MXF, without any prefix. DoM bug #1965 mentions a DCP where this is not the case, and SMPTE 429-5-2009 has an example where there is urn:uuid: in the XML. This change makes DoM write this urn:uuid: prefix, and accept it if it's present (but not complain if it's not). If the urn:uuid: _is_ required in the field, it's a bit surprising that nobody has complained up to this point. Maybe nobody noticed, or nobody reported it.
2021-04-14Rename write_subtitle_test -> shared_subtitle_testCarl Hetherington
2021-04-14Move some tests from write_subtitle_test into interop_subtitle_test.Carl Hetherington
2021-04-14Rename read_interop_subtitle_test -> interop_subtitle_test.Carl Hetherington
2021-04-14Move some tests from write_subtitle_test to smpte_subtitle_test.Carl Hetherington
2021-04-14Merge read_smpte_subtitle_test with smpte_subtitle_test.Carl Hetherington
2021-04-14C++11 tidying.Carl Hetherington
2021-04-14Fix/hide some warnings.Carl Hetherington
2021-04-12Split ReelClosedCaptionAsset into Interop and SMPTE parts.Carl Hetherington
2021-04-12C++11 tidying.Carl Hetherington
2021-04-12Specify CPL standard on construction.Carl Hetherington
Then choose which standard DCP should use based on the CPL(s).
2021-04-12Split ReelSubtitleAsset into Interop and SMPTE classes.Carl Hetherington
2021-04-11Small bits of tidying up.Carl Hetherington
2021-04-09Add check for Bv2.1 10.4.3 - container duration vs reel duration in timed text.Carl Hetherington
2021-04-08Verify that SMPTE subtitle IDs are handled properly (DoM #1962).Carl Hetherington
2021-04-06Don't try to verify encrypted JPEG2000 bitstreams.Carl Hetherington
2021-04-06Hide dump_notes() again.Carl Hetherington
2021-04-06Call verify_j2k when verifying DCPs.Carl Hetherington
2021-03-26Write MCA tags based on the specified sound field.Carl Hetherington
I had previously assumed that one should write MCA information into the sound MXF based on what channels actually contain sound rather than silence. However a previous example of a stereo DCP gives a verification error in EasyDCP (see DoM bug #1935) which is solved by adding MCA tags for each channel in the specified sound field (e.g. at least 6 tags for a file which is marked as 5.1) even if the audio is really stereo. This commit removes the "active channels" stuff and makes sure that if we say a file is 5.1 we write at least 6 MCA tags (and similarly for 7.1).
2021-03-19Missing library for static build.Carl Hetherington
2021-03-19Fix static test buid.Carl Hetherington
2021-03-18Tidy how we're finding the tags and xsd directories.Carl Hetherington
2021-03-17Fix combining when two DCPs both contain copies of the same asset.Carl Hetherington
2021-03-15Fix various bugs in subtitle/ccap verification.Carl Hetherington
Check that subtitles don't overlap reel boundaries, and fix a few tests that trip this check. Fix confusion when calculating subtitle timings during verification where the picture asset frame rate was being used rather than the subtitle asset's edit rate. Do the subtitle timing verification for Interop as well as SMPTE subtitles. Take <StartTime> tags into account when checking subtitles, even though Bv2.1 says they should be set to 0. Rename Time::as_editable_units to Time::as_editable_units_ceil and add a _floor variant, then use that to round down when checking reel boundary overlaps.
2021-02-20Don't give a verification error if there are closed caption tracks with ↵Carl Hetherington
different languages (DoM bug #1907).
2021-02-06Basic analysis (verification) of J2K codestreams.Carl Hetherington
2021-02-06Don't use flat_red.j2c for the simple DCP test as it's only 8-bit.Carl Hetherington
2021-02-06Rename j2k.{cc,h} => j2k_transcode.{cc,h}Carl Hetherington
2021-01-22Assorted c++11 cleanups.Carl Hetherington
2021-01-21Move all ostream operator<< into some test-only stream_operators.{cc,h} files.Carl Hetherington
2021-01-21Some more use of enum class.Carl Hetherington
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-20Cleanup: more test naming tweaks.Carl Hetherington
2021-01-20Tidy up some test names.Carl Hetherington
2021-01-19Tidy up parameters in VerificationNote.Carl Hetherington
2021-01-19Cleanup: now have using namespace boost::filesystem.Carl Hetherington
2021-01-19Fix tests to actually check the results in several cases.Carl Hetherington
2021-01-19Cleanup: tidy enum names for verification codes.Carl Hetherington
2021-01-19Cleanup: more use of prepare_directory().Carl Hetherington
2021-01-19Cleanup: more use of check_verify_result.Carl Hetherington
2021-01-19Bv2.1 10.1: if any asset is encrypted they all must be.Carl Hetherington
2021-01-19Rename encrypted() to any_encrypted() and add all_encrypted().Carl Hetherington