summaryrefslogtreecommitdiff
path: root/test/test.cc
AgeCommit message (Collapse)Author
2022-08-10Fix undefined memory warning during tests.Carl Hetherington
2022-05-04C++11 tidying.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-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.
2021-10-13Basic implementation of <Space> tag in subtitles.v1.8.3Carl Hetherington
2021-10-08Fix problems when adding KDMs to a VF, before adding the OV.v1.8.2Carl Hetherington
If we have a KDM which contains keys for all the assets referred to by a VF (even the ones in the OV) we would previously throw an exception because we tried to give the KDM to the resolved assets when it was given to the Reel. Here we change things so that the addition of KDMs to assets can be deferred if the asset is not yet resolved.
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-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-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-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-21Use enum class for the things in types.hCarl Hetherington
2021-01-18Bv2.1 8.6.{1.2}: CompositionMetadataAsset must exist and it must have some ↵Carl Hetherington
<VersionNumber>.
2021-01-18Bv2.1 8.5: FFOC and LFOC should be present and have particular values.Carl Hetherington
2021-01-17Use feature not trailer for some tests to avoid verification errors about ↵Carl Hetherington
FFEC/FFMC.
2021-01-17Bv2.1 8.2: all parts of a reel must have the same duration.Carl Hetherington
2021-01-17Bv2.1 7.3: audio sample rate must be 48kHz.Carl Hetherington
2021-01-17Give simple_{picture,sound} a length parameter and fix crazy implementation ↵Carl Hetherington
of simple_sound().
2021-01-17Replace std::list with std::vector in the API.Carl Hetherington
2021-01-17Stop tests failing when libdcp version changes.Carl Hetherington
2021-01-17Bv2.1 7.2.3: Check that subtitle <StartTime> exists and is 0.Carl Hetherington
2021-01-17Remove unused variable.Carl Hetherington
2021-01-17Bv2.1 7.2.2: Check that subtitle Language tags are present.Carl Hetherington
2021-01-17Extent black_image() to make images of any size.Carl Hetherington
2021-01-17Replace dcp::File with dcp::ArrayData.Carl Hetherington
2021-01-17Remove 32x32 test image.Carl Hetherington
2021-01-17Use a valid frame size for simple_picture().Carl Hetherington
2021-01-17Bv2.1 6.2.1: Check that the sound MXF Language tag conforms to RFC 5646.Carl Hetherington
2021-01-17Extract simple_sound() method.Carl Hetherington
2021-01-08Remove use of xmldiff in tests.Carl Hetherington
2021-01-08std::shared_ptrCarl Hetherington
2020-12-20Accept fonts as data blocks rather than files.Carl Hetherington
2020-11-02Add Data class and change API to a raw pointer.Carl Hetherington
2020-11-02Rename Data -> ArrayData.Carl Hetherington
2020-10-06We should not carry on if files don't open in tests.Carl Hetherington
2020-09-21Adapt for changes in parent branch, and test churn.Carl Hetherington
2020-09-21Support MCA sound channel tags in MXF/CPL.Carl Hetherington
2020-09-21Support CPL metadata.Carl Hetherington
2020-09-17Add dcp::combine().Carl Hetherington
2020-09-09Move make_simple() into test.{cc,h}Carl Hetherington
2020-07-11Hopefully make all tests stable enough to be run with --random,Carl Hetherington
stopping test reference churn.
2020-06-11Run verification tests with a space in the XSD path to trigger an old bug.Carl Hetherington
2019-03-16Fix some GPL boilerplate.Carl Hetherington
2016-11-09Fix tests for changes to subtitle whitespace.Carl Hetherington
2016-10-07Rework subtitle writing to fix incorrect output withCarl Hetherington
in-line font changes (#952).