summaryrefslogtreecommitdiff
path: root/test/verify_test.cc
AgeCommit message (Collapse)Author
2023-12-05Rename everything.Carl Hetherington
2023-11-20Allow use of KDMs when verifying DCPs.Carl Hetherington
2023-11-15Simple pass-through of <Ruby> tags in subtitles.Carl Hetherington
2023-10-10Don't call BOOST_CHECK during static initialization.Carl Hetherington
The boost test library shipped with Ubuntu 16.04 throws an exception if you do that.
2023-10-10Avoid full_name() so we can build on Ubuntu 16.04.Carl Hetherington
2023-08-24Check for missing font files referred from Interop closed captions (as well ↵Carl Hetherington
as subs).
2023-08-11Add check for empty <LabelText> in <ContentVersion>v1.8.76Carl Hetherington
We have a report of Deluxe failing a DCP because of this.
2023-06-27Fix tests that were writing assets with the same filename to different reels.Carl Hetherington
2023-06-27Move Editor class from verify_test.cc to test.ccCarl Hetherington
2023-06-27Add verifier check for the actual asset file's ID not being the same as the ↵Carl Hetherington
one in the asset map.
2023-06-27Cleanup: set annotation text in make_simple().Carl Hetherington
2023-06-02Verify error if SMPTE subtitle asset has <Text> but no <LoadFont>.v1.8.73Carl Hetherington
2023-06-02Rename MISSING_LOAD_FONT -> MISSING_LOAD_FONT_FOR_FONT.Carl Hetherington
2023-05-11Check that all <Font> tags have a corresponding <LoadFont> in the verifier.Carl Hetherington
2023-04-19Add test for too many subtitle namespaces.Carl Hetherington
2023-04-19Remove xmlns:xs namespace from subtitle XML (DoM #2498).Carl Hetherington
2023-04-16Check for tile parts being too big in the verifier (DoM #2450).Carl Hetherington
2023-04-13Add check for Interop font assets being present (in the ASSETMAP and on disk).Carl Hetherington
2023-04-11Fix typos in comments.Carl Hetherington
2023-04-04Add check for mismatch between sound asset and MainSoundConfiguration.v1.8.66Carl Hetherington
2023-04-04Add check for mismatched sound channel counts.Carl Hetherington
2023-04-04Pass MainSoundConfiguration object rather than a string.Carl Hetherington
I guess originally it was a string mostly because it's not very well defined, and Interop seemingly does whatever it wants. This basic change also means that things are checked more carefully, and so we must be more relaxed with some things seen in the wild that I can't find contradictions for in the standard (and also with the case of channel IDs, which does seem to be mentioned in the standard).
2023-04-04Add some missing sound field specifiers to tests.Carl Hetherington
2023-03-20Use an enum instead of a bool in PictureAsset::start_write().Carl Hetherington
2023-02-16Change how whitespace in subtitles is handled.Carl Hetherington
Previously we would discard any whitespace subtitle content we found. This had the side-effect of making a verification test fail (checking that at least one subtitle is in each reel; blank subtitles are often used to avoid this warning). Here we take any subtitle content, whitespace or not, inside a <Text> or <Image> node which I think is a little more correct.
2023-02-12Add --no-asset-hash-check and --asset-hash-check-maximum-size (DoM #2444).v1.8.56Carl Hetherington
2023-02-02Check IssueDate for Deluxe complaint.Carl Hetherington
2023-01-16Fix tests.v1.8.51Carl Hetherington
2023-01-15Check that Interop subtitle files have at least one subtitle.Carl Hetherington
It was reported on the forum that files without any <Font> or <Subtitle> tags fail validation on EasyDCP 3.0.1 and crash Qubemaster Pro 3.0.15.
2023-01-07Check for multiple asset IDs in an ASSETMAP during verify.Carl Hetherington
2023-01-07Check for multiple asset IDs in a PKL during verify.Carl Hetherington
2022-12-22Write OriginalFileName tags in PKL (DoM #2394).Carl Hetherington
Without these it EasyDCP gives errors like "Id field in PKL must match uuid in asset" "Each Id used in the PKL files must be unique or reference the same file" which seem wrong but, as usual, here we are.
2022-12-16Verify that main picture active area is valid (even, and not too big) (#2392).v1.8.40Carl Hetherington
2022-12-15Tidy up find_cpl() and add find_pkl().Carl Hetherington
2022-12-15Some more details when verification results fail.Carl Hetherington
2022-12-15Add delete_lines_after to the Editor.Carl Hetherington
2022-12-15Add some line spacing in the editor.Carl Hetherington
2022-12-15Tidy the Editor class up a little.Carl Hetherington
2022-12-04Fix some ambiguous shared_ptrs, seen on Arch Linux.Carl Hetherington
2022-11-03Add Z position to subtitles; existing tests pass.Carl Hetherington
2022-09-03Properly support ContentKind scope attribute.v1.8.26Carl Hetherington
2022-05-04Make some tests repeatable across platforms.Carl Hetherington
2022-05-04Allow tests to be run on Windows.Carl Hetherington
2022-04-25Tidy up write_xml() API a little.Carl Hetherington
2022-04-21Fix unsigned/signed warning on macOS.Carl Hetherington
2022-04-12Add and use new File class.merged-to-mainCarl Hetherington
It was always a bit troubling that fopen_boost wasn't exception safe, and this also fixes a leak where load_ratings_list would never close the ratings file.
2022-03-24Add verify test to check for erroneous <EntryPoint> and <Duration>v1.8.132215-markersCarl Hetherington
tags inside <MainMarkers>
2022-03-24Remove <EntryPoint> and <Duration> from <ReelMarkerAsset> tags.Carl Hetherington
They should not be there: "EntryPoint" ... "This element shall only be present when the Asset refers to an external resource such as a Track File". Fixes DoM bug #2215.
2022-03-20Nearly pretty-print subtitle XML (though not in <Text> nodes).v1.8.12Carl Hetherington
This is an attempt to fix DoM bug #2205.
2022-01-17Use optional for ReelAsset _annotation_text.v1.8.6Carl Hetherington
Not only is this tag optional in Interop and SMPTE, but it would appear that if it is present but empty a DCP will not play back on Sony SRX320 / LMT3000 systems (DoM bug #2124). Here we use optional<>, as seems to make sense, and also refuse to write empty tags (instead omitting the tag entirely).