summaryrefslogtreecommitdiff
path: root/test/verify_test.cc
AgeCommit message (Collapse)Author
2025-12-20Derive verification note type from the code...v1.10.45Carl Hetherington
...rather than having to specify it each time.
2025-12-20Using some "usings" to trim verify_test.cc.Carl Hetherington
2025-10-20Remove ASDCPErrorSuspender.v1.10.34Carl Hetherington
I think it's not possible to do this thread-safely without quite noisy changes to asdcplib: DefaultLogSink() refers a reference which can be deleted by ASDCPErrorSuspender before it is used. DefaultLogSink() could return a shared_ptr but there's a lot of callsites.
2025-09-13Fix incorrect verify errors with multi-CPL DCPs.v1.10.27Carl Hetherington
We didn't reset the variables used to check for mismatched channel counts or subtitle languages.
2025-09-13Add a new method for checking verification results.Carl Hetherington
2025-05-08Only check hashes of each asset once (#3035).v1.10.21Carl Hetherington
2025-04-12Report zero- or negative-length subtitles as an error.v1.10.19Carl Hetherington
This is distinct from the Bv2.1 warning about subtitles being shorter than 15 frames. Also fix an assertion failure when negative-length subtitles are seen.
2025-03-24Read/write subtitle variable Z.v1.10.16Carl Hetherington
2025-02-23Make picture details checks optional.v1.10.12Carl Hetherington
2025-01-19Make MainSoundConfiguration behave "correctly" with badly-formatted strings.Carl Hetherington
Add some documentation for a design "principle" when handling malformatted data, and make MainSoundConfiguration adhere to that.
2025-01-01Replace raw_convert<string> with direct calls to fmt.v1.10.3Carl Hetherington
2024-12-30Don't give some inappropriate verification errors on encrypted assets (DoM ↵v1.10.2Carl Hetherington
#2916). We would give some errors about the XML even though we can't read the XML.
2024-12-30Sign DCPs made during verification tests.Carl Hetherington
2024-12-08Fix DCP Constraints Profile verification in the presence of other CPL ↵Carl Hetherington
metadata Properties.
2024-12-08Extract some stuff to verify_internal.hCarl Hetherington
2024-08-17Rename TextType::SUBTITLE -> OPEN_SUBTITLE and CAPTION -> CLOSED_CAPTION.Carl Hetherington
2024-08-17Subtitle{,String,Image} -> Text{,String,Image}.Carl Hetherington
2024-08-17{,Interop,SMPTE}SubtitleAsset -> {,Interop,SMPTE}TextAsset.Carl Hetherington
2024-08-17Merge ReelClosedCaptionAsset into ReelTextAsset.Carl Hetherington
2024-08-17Reel{,Interop,SMPTE}SubtitleAsset -> Reel{,Interop,SMPTE}TextAsset.Carl Hetherington
2024-08-17Merge remote-tracking branch 'origin/main' into v1.9.xv1.9.14Carl Hetherington
2024-08-15Fix test broken by previous commit.v1.8.103Carl Hetherington
2024-06-28Merge remote-tracking branch 'origin/main' into v1.9.xv1.9.10Carl Hetherington
2024-06-27Speculative fix for assertion failure (DoM #2839).v1.8.101Carl Hetherington
2024-05-24Check that DCPs have 24-bit audio.Carl Hetherington
2024-04-18Move Behaviour enum out of J2KPictureAsset.Carl Hetherington
2024-04-18Rename classes.Carl Hetherington
sed -i "s/\<PictureAsset/J2KPictureAsset/g" src/*.{cc,h} sed -i "s/\<dcp::PictureAsset/dcp::J2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<MonoPictureAsset/MonoJ2KPictureAsset/g" src/*.{cc,h} tools/*.cc test/*.{cc,h} sed -i "s/\<dcp::MonoPictureAsset/dcp::MonoJ2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<StereoPictureAsset/StereoJ2KPictureAsset/g" src/*.{cc,h} tools/*.cc sed -i "s/\<dcp::StereoPictureAsset/dcp::StereoJ2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<MonoPictureFrame/MonoJ2KPictureFrame/g" src/*.{cc,h} tools/*.cc test/*.{cc,h} sed -i "s/\<dcp::MonoPictureFrame/dcp::MonoJ2KPictureFrame/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<StereoPictureFrame/StereoJ2KPictureFrame/g" src/*.{cc,h} tools/*.cc sed -i "s/\<dcp::StereoPictureFrame/dcp::StereoJ2KPictureFrame/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc
2024-04-18Fix includes.Carl Hetherington
sed -i "s/#include \"stereo_picture_asset_writer.h\"/#include \"stereo_j2k_picture_asset_writer.h\""/g src/*.{cc,h} sed -i "s/#include \"mono_picture_asset_writer.h\"/#include \"mono_j2k_picture_asset_writer.h\""/g src/*.{cc,h} examples/*.cc sed -i "s/#include \"stereo_picture_asset_reader.h\"/#include \"stereo_j2k_picture_asset_reader.h\""/g src/*.{cc,h} sed -i "s/#include \"mono_picture_asset_reader.h\"/#include \"mono_j2k_picture_asset_reader.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"stereo_picture_asset.h\"/#include \"stereo_j2k_picture_asset.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"mono_picture_asset.h\"/#include \"mono_j2k_picture_asset.h\""/g src/*.{cc,h} examples/*.cc sed -i "s/#include \"picture_asset_writer.h\"/#include \"j2k_picture_asset_writer.h\""/g src/*.{cc,h} test/*.cc sed -i "s/#include \"mono_picture_asset_writer.h\"/#include \"mono_j2k_picture_asset_writer.h\""/g src/*.{cc,h} test/*.cc tools/*.cc sed -i "s/#include \"picture_asset.h\"/#include \"j2k_picture_asset.h\""/g src/*.{cc,h} tools/*.cc sed -i "s/#include \"mono_picture_asset.h\"/#include \"mono_j2k_picture_asset.h\""/g src/*.{cc,h} test/*.cc tools/*.cc sed -i "s/#include \"mono_picture_frame.h\"/#include \"mono_j2k_picture_frame.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"stereo_picture_frame.h\"/#include \"stereo_j2k_picture_frame.h\""/g src/*.{cc,h} sed -i "s/#include \"picture_asset_writer_common.cc\"/#include \"j2k_picture_asset_writer_common.cc\""/g src/*.{cc,h}
2024-04-15Add OK note when content version label text is valid.Carl Hetherington
2024-04-15Add OK note when <ContentKind> is valid.Carl Hetherington
2024-04-15Add OK note when PKL and CPL annotation texts match.Carl Hetherington
2024-04-15Add OK note when CPL has valid annotation text.Carl Hetherington
2024-04-15Add OK note when main picture active area is valid.Carl Hetherington
2024-04-15Add OK note when picture asset hashes are correct.Carl Hetherington
2024-04-15Add OK note when picture frame sizes are all OK.Carl Hetherington
2024-04-15Add OK note when the CPL hash in the PKL is right.Carl Hetherington
2024-04-15Add OK note when all or nothing is encrypted.Carl Hetherington
2024-04-15Add some helper functions.Carl Hetherington
2024-04-15Improve error reporting for _replace tests and check everything about the ↵Carl Hetherington
notes (not just the codes).
2024-04-14Move some methods higher up the file.Carl Hetherington
2024-04-14Improve debug output when verification tests fail.Carl Hetherington
2024-04-14Make verified DCPs available on the return from dcp::verify().Carl Hetherington
2024-04-14Store CPL ID in CPL-related verification notes.Carl Hetherington
2024-03-22Bump asdcplib to dcpomatic-2.13.0 branch.v1.9.4Carl Hetherington
2024-03-10Use openjpeg v2.5.2.v1.9.0Carl Hetherington
2024-01-13Fix test in previous.Carl Hetherington
2024-01-12Note correct/incorrect hashes when the verifier raises related errors.Carl Hetherington
2024-01-03Report every frame (with index) that is over (or nearly over) the size limit ↵v1.8.91Carl Hetherington
(DoM #2698).
2024-01-03Report every frame (with index) that has a JPEG2000 codestream error (DoM ↵Carl Hetherington
#2698).
2023-12-26Fix operator== to take everything in VerificationNote into account.Carl Hetherington