diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-03-22 01:10:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-03-22 01:10:22 +0100 |
| commit | 080e8995a771354381ecad46b83d5a95309d81de (patch) | |
| tree | 220e36d49ac4e40605bbfd8a115a9adfe7965f19 /test | |
| parent | 4700724da0aaf27aa43e4809d263c0fc00a8be9f (diff) | |
Clarify ID in verification note.
Diffstat (limited to 'test')
| -rw-r--r-- | test/verify_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/verify_test.cc b/test/verify_test.cc index 89981dbe..5472f38e 100644 --- a/test/verify_test.cc +++ b/test/verify_test.cc @@ -254,8 +254,8 @@ to_string(dcp::VerificationNote const& note) s += dcp::String::compose( "%1 %2 %3 %4 %5]\n", - note.id().get_value_or("<none>"), - note.other_id().get_value_or("<none>"), + note.asset_id().get_value_or("<none>"), + note.other_asset_id().get_value_or("<none>"), note.cpl_id().get_value_or("<none>"), note.reference_hash().get_value_or("<none>"), note.calculated_hash().get_value_or("<none>") @@ -5605,7 +5605,7 @@ BOOST_AUTO_TEST_CASE(verify_missing_load_font_for_font) note(VC::VALID_CONTENT_KIND, string{"trailer"}, cpl), note(VC::VALID_CONTENT_VERSION_LABEL_TEXT, cpl->content_version()->label_text, cpl), { VC::INVALID_STANDARD }, - VN(VC::MISSING_LOAD_FONT_FOR_FONT).set_id("theFontId").set_cpl_id(cpl->id()) + VN(VC::MISSING_LOAD_FONT_FOR_FONT).set_load_font_id("theFontId").set_cpl_id(cpl->id()) }); } @@ -5670,7 +5670,7 @@ BOOST_AUTO_TEST_CASE(verify_missing_load_font) note(VC::VALID_CONTENT_VERSION_LABEL_TEXT, cpl->content_version()->label_text, cpl), note(VC::CORRECT_PICTURE_HASH, canonical(dir / "video.mxf"), cpl).set_reel_index(0), note(VC::VALID_PICTURE_FRAME_SIZES_IN_BYTES, canonical(dir / "video.mxf"), cpl).set_reel_index(0), - VN(VC::MISSING_LOAD_FONT).set_id(reel_subs->id()).set_cpl_id(cpl->id()).set_reel_index(0) + VN(VC::MISSING_LOAD_FONT).set_asset_id(reel_subs->id()).set_cpl_id(cpl->id()).set_reel_index(0) }); } @@ -5711,7 +5711,7 @@ BOOST_AUTO_TEST_CASE(verify_spots_wrong_asset) note(VC::VALID_CONTENT_KIND, string{"trailer"}, cpl), note(VC::VALID_CPL_ANNOTATION_TEXT, string{"A Test DCP"}, cpl), note(VC::VALID_CONTENT_VERSION_LABEL_TEXT, cpl->content_version()->label_text, cpl), - VN(VC::MISMATCHED_ASSET_MAP_ID).set_id(asset_1).set_other_id(asset_2) + VN(VC::MISMATCHED_ASSET_MAP_ID).set_asset_id(asset_1).set_other_asset_id(asset_2) }); } |
