summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-10Replace BOOST_TEST with an older BOOST_CHECK for Ubuntu 16.04.Carl Hetherington
2023-10-10Avoid full_name() so we can build on Ubuntu 16.04.Carl Hetherington
2023-10-10Avoid depends_on() so we can build on Ubuntu 16.04.Carl Hetherington
2023-10-10Implement weakly_canonical for boost versions without it (e.g. the one on ↵Carl Hetherington
Ubuntu 16.04).
2023-10-09Add wrappers around boost::filesystem methods that handle theCarl Hetherington
required mangling of long filenames on Windows. Also wrap lots of missing places (e.g. calls to asdcplib, libxml++, libcxml etc.) in dcp::filesystem::fix_long_path(). The idea is to keep paths un-mangled until they we call some filesystem-related API and mangle them at that point. Otherwise we end up serialising mangled names, which seems like it will not end well. Should fix DoM #2623.
2023-09-13Remove odd assertion stopping TZ minutes being more than 30 or less than -30 ↵v1.8.82Carl Hetherington
(DoM/GH #20).
2023-08-24Check for missing font files referred from Interop closed captions (as well ↵Carl Hetherington
as subs).
2023-08-22Accept any case for subtitle alignment specifiers (#2602).v1.8.78Carl Hetherington
SMPTE seems pretty clear to me that these should be lower case, but counterexamples have been seen in the wild and it seems to make sense to allow them. Perhaps the verifier should raise an error with non-lower-case examples.
2023-08-22Add some tests.Carl Hetherington
2023-08-15Fix dcp::LocalTime constructor to cope with longer fractional second parts ↵Carl Hetherington
(DoM #2597).
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-08-08Fix boost bind placeholder warnings.Carl Hetherington
2023-07-25Include trimming.Carl Hetherington
2023-07-25Cleanup: move EqualityOptions into its own file.Carl Hetherington
2023-06-29When reading a DCP set up asset hashes from the CPL/PKL, not by digesting ↵Carl Hetherington
the actual asset. Previously when reading a DCP we would recalculate asset hashes. This meant that corrupted DCPs could be loaded in and their hashes re-written (if nobody checked the new hashes against the ones in the PKL/CPL). It seems better to take the hashes from the metadata. Then if the assets are corrupted and the DCP is re-written the PKL/CPL hashes will be preserved, showing rather than hiding the corruption.
2023-06-27Fix tests that were writing assets with the same filename to different reels.Carl Hetherington
2023-06-27Cleanup: sorting.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-11Cleanup: ues BOOST_CHECK_EQUAL.v1.8.68Carl Hetherington
2023-05-11Remove some debugging prints.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-19Add missing operator case.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-21Remove now-redundant test.v1.8.65Carl Hetherington
2023-03-21Allow specification of channels that need a MCASubDescriptor.Carl Hetherington
2023-03-20Remove now-presumed-wrong 2.0 MCA sound field.Carl Hetherington
2023-03-20Use an enum instead of a bool in PictureAsset::start_write().Carl Hetherington
2023-03-20Remove the bools and default parameters from SoundAsset::start_write().Carl Hetherington
They were more confusing than they were worth.
2023-03-16Allow writing to sound assets with int32_t as well as float.Carl Hetherington
2023-03-16Specify number of channels in the data passed to SoundAssetWriter, and pad ↵Carl Hetherington
channels that aren't there.
2023-02-27Fix tests again on Windows.v1.8.63Carl Hetherington
2023-02-27Fix signed-ness warning on macOS.Carl Hetherington
2023-02-26Fix warning.Carl Hetherington
2023-02-26Fix tests with different library versions.Carl Hetherington
2023-02-26Fix test references after IssueDate change.v1.8.61Carl Hetherington
2023-02-18Be explicit about the version of SMPTE 428-7 that is used for subtitles,v1.8.602389-vposCarl Hetherington
and default to writing the 2014 namespace.
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.