summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-01-08More c++11 tidying.Carl Hetherington
2021-01-08Remove use of xmldiff in tests.Carl Hetherington
2021-01-08std::shared_ptrCarl Hetherington
2021-01-08Fix test following previous commit.Carl Hetherington
2020-12-20Accept fonts as data blocks rather than files.Carl Hetherington
2020-11-29Fix terrible SoundAsset::equals() implementation.Carl Hetherington
It would check individual bytes of samples to see if they differed by more than the threshold. Not only is this almost useless, but the default threshold is 256 so with the default settings it would always say that two assets of the same length (and channels, etc.) were the same, even if the sample data was different.
2020-11-29Fix SoundFrame::get().Carl Hetherington
The old version did not deal with signed-ness correctly. I think this version is slightly dodgy in that it assumes 2s complement, but that's probably not so bad.
2020-11-22Seems like an oversight that MainSubtitleLanguageList had no namespace.Carl Hetherington
2020-11-22Add SMPTE Bv2.1 ExtensionMetadata.Carl Hetherington
2020-11-20Tidy up handling of language metadata for subtitles.Carl Hetherington
Tried to normalise the idea that subtitle languages are stored as strings but set as LanguageTags. This may be too defensive; perhaps SMPTE language metadata is always right, or perhaps even if it isn't we should throw errors.
2020-11-02Add Data class and change API to a raw pointer.Carl Hetherington
2020-11-02Rename Data -> ArrayData.Carl Hetherington
2020-10-28Move benchmark out of test/ into benchmark/Carl Hetherington
2020-10-23macOS / new boost build fixes.Carl Hetherington
2020-10-20Move a bind.hpp include out of a header.Carl Hetherington
2020-10-10Fix crash when loading DCPs whose ASSETMAP contains files that areCarl Hetherington
not mentioned in any PKL (#1855).
2020-10-06We should not carry on if files don't open in tests.Carl Hetherington
2020-09-27<ContentVersion> is optional in Interop so we can't assume it's there.Carl Hetherington
2020-09-27Load language tags from on-disk files rather than embedding themCarl Hetherington
into a .cc. The .cc method causes compile times (and memory requirements) increase enormously with some compilers.
2020-09-21Adapt for changes in parent branch, and test churn.Carl Hetherington
2020-09-21Add another test.Carl Hetherington
2020-09-21Support MCA sound channel tags in MXF/CPL.Carl Hetherington
2020-09-21Add some new verification tests.Carl Hetherington
2020-09-21Remove stdout noise from tests.Carl Hetherington
2020-09-21Support CPL metadata.Carl Hetherington
2020-09-21Allow LanguageTag to be constructed from a tag string.Carl Hetherington
2020-09-21Use vector for the Ratings list.Carl Hetherington
2020-09-21Use a vector<ContentVersion> instead of just one, to support theCarl Hetherington
new metadata.
2020-09-21Add ContentVersion class.Carl Hetherington
2020-09-20Add new LanguageTag class.Carl Hetherington
The scripts/update-language-subtags script will download the RFC 5646 registry and write it to src/language_tag_lists.cc. This may need to be re-run if the subtags change.
2020-09-20Remove XMLMetadata use from tests.Carl Hetherington
2020-09-20Remove XMLMetadata from DCP::write_xml and DCP::write_assetmap.Carl Hetherington
2020-09-20Stop using XMLMetadata in CPL. It's always felt a bit clumsy, andCarl Hetherington
with the CPL metadata extension having a method like set_metadata() in CPL will be confusing.
2020-09-17Add dcp::combine().Carl Hetherington
2020-09-09Move make_simple() into test.{cc,h}Carl Hetherington
2020-09-09Fix comment typo.Carl Hetherington
2020-09-09Use the <Id> read in when the Reel was created from XML (if appropriate)Carl Hetherington
when writing it out again, rather than creating a new one each time. Also there is the associated test churn here from removing a call to make_uuid().
2020-07-12Fix up some tests.Carl Hetherington
2020-07-12Move atmos_pcm.mxf in the test repo.Carl Hetherington
2020-07-11Allow creation of ATMOS sync on channel 14.Carl Hetherington
2020-07-11Hopefully make all tests stable enough to be run with --random,Carl Hetherington
stopping test reference churn.
2020-06-19Fix test now that Atmos asset ID is correctly read from the MXF.Carl Hetherington
2020-06-11Run verification tests with a space in the XSD path to trigger an old bug.Carl Hetherington
2020-05-12Make add_minutes() work correctly with milliseconds.Carl Hetherington
2020-05-12Move some tests and rename one set.Carl Hetherington
2020-05-12Add a proper implementation of add_months() and a test for theCarl Hetherington
case when it fails by giving erroneous dates like 30th February.
2020-05-12Add a note when verifying if the DCP refers to assetsCarl Hetherington
that are not mentioned in its ASSETMAP (i.e. a VF).
2020-05-09Verify the XML of subtitle files.Carl Hetherington
2020-05-08Make J2K frame size tests more robust.Carl Hetherington
2020-05-07Check that JPEG2000 frames aren't too big (i.e. tooCarl Hetherington
many bytes).