summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-03-17Fix combining when two DCPs both contain copies of the same asset.Carl Hetherington
2021-03-15Fix various bugs in subtitle/ccap verification.Carl Hetherington
Check that subtitles don't overlap reel boundaries, and fix a few tests that trip this check. Fix confusion when calculating subtitle timings during verification where the picture asset frame rate was being used rather than the subtitle asset's edit rate. Do the subtitle timing verification for Interop as well as SMPTE subtitles. Take <StartTime> tags into account when checking subtitles, even though Bv2.1 says they should be set to 0. Rename Time::as_editable_units to Time::as_editable_units_ceil and add a _floor variant, then use that to round down when checking reel boundary overlaps.
2021-02-20Don't give a verification error if there are closed caption tracks with ↵Carl Hetherington
different languages (DoM bug #1907).
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-22Assorted c++11 cleanups.Carl Hetherington
2021-01-21Move all ostream operator<< into some test-only stream_operators.{cc,h} files.Carl Hetherington
2021-01-21Some more use of enum class.Carl Hetherington
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-20Cleanup: more test naming tweaks.Carl Hetherington
2021-01-20Tidy up some test names.Carl Hetherington
2021-01-19Tidy up parameters in VerificationNote.Carl Hetherington
2021-01-19Cleanup: now have using namespace boost::filesystem.Carl Hetherington
2021-01-19Fix tests to actually check the results in several cases.Carl Hetherington
2021-01-19Cleanup: tidy enum names for verification codes.Carl Hetherington
2021-01-19Cleanup: more use of prepare_directory().Carl Hetherington
2021-01-19Cleanup: more use of check_verify_result.Carl Hetherington
2021-01-19Bv2.1 10.1: if any asset is encrypted they all must be.Carl Hetherington
2021-01-19Rename encrypted() to any_encrypted() and add all_encrypted().Carl Hetherington
2021-01-19Bv2.1 9.2: PKL must be signed if it contains encrypted assets.Carl Hetherington
2021-01-18Bv2.1 9.1: PKL annotation text must match CPL ContentTitleText if there is ↵Carl Hetherington
only one CPL in the PKL.
2021-01-18Bv2.1 8.7: CPLs with encrypted content must be signed.Carl Hetherington
2021-01-18Bv2.1 8.6.3: <ExtensionMetadata> must be present and have precise contents.Carl 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-17Bv2.1 8.5: Features must have FFEC/FFMC markers.Carl Hetherington
2021-01-17Use feature not trailer for some tests to avoid verification errors about ↵Carl Hetherington
FFEC/FFMC.
2021-01-17Check that the Editor actually edits something.Carl Hetherington
2021-01-17Use an enum class for Marker.Carl Hetherington
2021-01-17Bv2.1 8.4 We must have <Hash>esCarl Hetherington
2021-01-17Bv2.1 8.3.2: text tracks must have <EntryPoint> and it must be zero.Carl Hetherington
2021-01-17Bv2.1 8.3.1: MainSubtitles must be in all reels (if they are there atCarl Hetherington
all) and ClosedCaptions must have the same count on all reels.
2021-01-17Bv2.1 8.2: all parts of a reel must have the same duration.Carl Hetherington
2021-01-17Bv2.1 8.1: CPL <AnnotationText> should be the same as <ContentTitleText>Carl Hetherington
2021-01-17Bv2.1 8.1: CPL must have <AnnotationText>.Carl Hetherington
2021-01-17Make CPL annotation_text optional.Carl Hetherington
2021-01-17Fix some directory paths for tests.Carl Hetherington
2021-01-17Bv2.1 7.3: audio sample rate must be 48kHz.Carl Hetherington
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