summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-05-09Extract, test and slightly adjust the piecewise LUT for inverse gamma.Carl Hetherington
2022-05-06Another missing include.Carl Hetherington
2022-05-05Move fix_long_path tests over from DoM.Carl Hetherington
2022-05-05Allow LUTs to be created with a particular range.Carl Hetherington
2022-05-05Use std::vector for LUTs.Carl Hetherington
2022-05-05Add a new (failing) test which exposes inaccuracies in inverse gamma.Carl Hetherington
2022-05-05Tidying.Carl Hetherington
2022-05-04Missing finalize() on a writer in a test.Carl Hetherington
2022-05-04C++11 tidying.Carl Hetherington
2022-05-04Make some tests repeatable across platforms.Carl Hetherington
2022-05-04Tidying.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-25Add a test for reading, changing, then writing a DCP.Carl Hetherington
2022-04-22C++11 tidying.Carl Hetherington
2022-04-22Don't specify no-default-inline on clang as it's not supported.Carl Hetherington
2022-04-22Fix some macOS signed/unsigned warnings.Carl Hetherington
2022-04-21Fix unsigned/signed warning on macOS.Carl Hetherington
2022-04-20Add a test for DCP::add() for KDMs.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-03-07Tidy some includes.Carl Hetherington
2022-03-03Fix slightly extended libxml++ dependency.v1.8.10Carl Hetherington
2022-03-01Move Rating out to a separate file.Carl Hetherington
2022-02-25Add -x32/-x64 suffix to boost libraries when building for Windows.v1.8.8Carl Hetherington
2022-02-12Pass certificate validity length into the constructor.v1.8.7Carl Hetherington
2022-02-12Cleanup: use dcp::LocalTime for certificate validity times.Carl Hetherington
Before we were using struct tm but not filling it all in, which seems quite unpleasant.
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).
2021-11-09Fix off-by-one in verification of closed caption line length.v1.8.5Carl Hetherington
2021-10-24Order subtitles in the XML according to their vertical position (DoM bug #2106).v1.8.4Carl Hetherington
2021-10-24Allow specification of valign when writing verify tests.Carl Hetherington
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-10-03Make the former dcst namespace default for SMPTE subtitles.Carl Hetherington
In DoM bug #2061 it is reported that Easy DCP gives the error "XML Document has default root namespace prefix: dcst. Default namespace should not use prefix for root or root namespace child nodes." with SMPTE subtitle files written by DCP-o-matic, and that the correct fix is to make the former dcst: namespace the default and then remove the dcst: qualifiers from everything. I'm not sure I agree with the error; AFAICS the subtitle files written by previous versions did not have a default root namespace prefix, since it was specified by xmlns:dcst and not just xmlns alone, so I think they were valid. However, using a default NS also seems fine, slightly simplifies the code and produces more compact subtitle files, so we change that here. It should also stop Easy DCP complaining, which is always marginally preferable to sticking to our guns and getting the blame for it.
2021-08-11Improve message on verify test failure.Carl Hetherington
2021-08-11Add verify check for empty <Text> nodes in timed text.Carl Hetherington
2021-08-04Add support for writing CPL metadata about sign language video tracks (DoM ↵Carl Hetherington
#2062).
2021-08-04C++11 tidying.Carl Hetherington
2021-08-04Add a belt-and-braces check.Carl Hetherington
2021-08-04Fix tests after previous commit.Carl Hetherington
2021-07-14C++11 tidying.Carl Hetherington
2021-06-26C++11 cleanup.Carl Hetherington
2021-06-18Fix tests after changes to language tags.Carl Hetherington
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