summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-01-17Bv2.1 7.2.{6,7}: various limits on subtitle line and character counts.Carl Hetherington
2021-01-17Bv2.1 7.2.{4,5}: check that subtitles are not too short, too close orCarl Hetherington
too early in the first reel.
2021-01-17Give simple_{picture,sound} a length parameter and fix crazy implementation ↵Carl Hetherington
of simple_sound().
2021-01-17Change subtitle SubtitleAsset API to return const Subtitle pointers; add ↵Carl Hetherington
subtitles_in_reel().
2021-01-17Replace std::list with std::vector in the API.Carl Hetherington
2021-01-17c++11 and other tidying.Carl Hetherington
2021-01-17Stop tests failing when libdcp version changes.Carl Hetherington
2021-01-17Bv2.1 7.2.4: first subtitle should be at least 4s into the DCP.Carl Hetherington
2021-01-17Bv2.1 7.2.3: Check that subtitle <StartTime> exists and is 0.Carl Hetherington
2021-01-17Bv2.1 7.2.2: Check that subtitle languages are the same for all reels.Carl Hetherington
2021-01-17Remove unused variable.Carl Hetherington
2021-01-17Change the word 'disagree' to 'differ'.Carl Hetherington
2021-01-17Bv2.1 7.2.2: Check that subtitle Language tags are present.Carl Hetherington
2021-01-17Bv2.1 7.2.1: Check total size of all timed text fonts is not larger than 10MB.Carl Hetherington
I'm not sure if this is what Bv2.1 means, but hopefully it's close enough.
2021-01-17Bv2.1 7.2.1: Check size of timed text asset is not larger than 115MB.Carl Hetherington
2021-01-17Bv2.1 7.2.1: Check size of closed caption XML is not larger than 256KB.Carl Hetherington
2021-01-17Bv2.1 7.1: Check picture size and frame rate.Carl Hetherington
2021-01-17Extent black_image() to make images of any size.Carl Hetherington
2021-01-17Throw an exception on making a DCP with no reels.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-17Rename some notes to clarify places where size refers to bytes, not pixels.Carl Hetherington
2021-01-17Bv2.1 6.2.1: Check that release territory conforms to RFC 5646.Carl Hetherington
2021-01-17Bv2.1 6.2.1: Check that additional subtitle languages conform to RFC 5646.Carl Hetherington
2021-01-17Bv2.1 6.2.1: Check that closed caption reel and XML <Language> conform to ↵Carl Hetherington
RFC 5646.
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-17We can always dump notes where there are none expected.Carl Hetherington
2021-01-17LanguageTag strings should not care about case.Carl Hetherington
2021-01-17 Bv2.1 6.2.1: Check that subtitle XML <Language> conforms to RFC 5646.Carl Hetherington
2021-01-17Tiny cleanup of using prepare_directory.Carl Hetherington
2021-01-17Bv2.1 6.2.1: Check that subtitle reel <Language> conforms to RFC 5646.Carl Hetherington
2021-01-17Bv2.1 6.1: DCPs must be SMPTE.Carl Hetherington
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).