summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-29 22:30:40 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-01 23:43:00 +0200
commit60827711476f31920a1c8d7045907512abe2085d (patch)
treebff3b5daceafef0c5a9fdc04a08dc5054c86f01a /test
parentc8720ce0fe32088df1c1d50c42c2e7434b142a68 (diff)
INVALID_EXTENSION_METADATA: note -> error.
Diffstat (limited to 'test')
-rw-r--r--test/verify_test.cc18
1 files changed, 5 insertions, 13 deletions
diff --git a/test/verify_test.cc b/test/verify_test.cc
index e7d4f5ef..bdb8041c 100644
--- a/test/verify_test.cc
+++ b/test/verify_test.cc
@@ -4369,7 +4369,7 @@ BOOST_AUTO_TEST_CASE (verify_invalid_extension_metadata1)
VN(
VC::MISMATCHED_CPL_HASHES, cpl->file().get()
).set_cpl_id(cpl->id()).set_reference_hash(calc.old_hash()).set_calculated_hash(calc.new_hash()),
- VN(VC::INVALID_EXTENSION_METADATA, string("<Name> should be 'Application'"), cpl->file().get()).set_cpl_id(cpl->id())
+ VN(VC::INVALID_EXTENSION_METADATA, cpl->file().get()).set_cpl_id(cpl->id()).set_error("<Name> should be 'Application'"),
});
}
@@ -4413,9 +4413,7 @@ BOOST_AUTO_TEST_CASE (verify_invalid_extension_metadata2)
VN(
VC::MISMATCHED_CPL_HASHES, cpl->file().get()
).set_cpl_id(cpl->id()).set_reference_hash(calc.old_hash()).set_calculated_hash(calc.new_hash()),
- VN(
- VC::INVALID_EXTENSION_METADATA, string("No correctly-formed DCP Constraints Profile found"), cpl->file().get()
- ).set_cpl_id(cpl->id())
+ VN(VC::INVALID_EXTENSION_METADATA, cpl->file().get()).set_cpl_id(cpl->id()).set_error("No correctly-formed DCP Constraints Profile found"),
});
}
@@ -4462,9 +4460,7 @@ BOOST_AUTO_TEST_CASE (verify_invalid_xml_cpl_extension_metadata6)
VN(
VC::MISMATCHED_CPL_HASHES, cpl->file().get()
).set_cpl_id(cpl->id()).set_reference_hash(calc.old_hash()).set_calculated_hash(calc.new_hash()),
- VN(
- VC::INVALID_EXTENSION_METADATA, string("No correctly-formed DCP Constraints Profile found"), cpl->file().get()
- ).set_cpl_id(cpl->id())
+ VN(VC::INVALID_EXTENSION_METADATA, cpl->file().get()).set_cpl_id(cpl->id()).set_error("No correctly-formed DCP Constraints Profile found"),
});
}
@@ -4508,9 +4504,7 @@ BOOST_AUTO_TEST_CASE (verify_invalid_xml_cpl_extension_metadata7)
VN(
VC::MISMATCHED_CPL_HASHES, cpl->file().get()
).set_cpl_id(cpl->id()).set_reference_hash(calc.old_hash()).set_calculated_hash(calc.new_hash()),
- VN(
- VC::INVALID_EXTENSION_METADATA, string("No correctly-formed DCP Constraints Profile found"), cpl->file().get()
- ).set_cpl_id(cpl->id())
+ VN(VC::INVALID_EXTENSION_METADATA, cpl->file().get()).set_cpl_id(cpl->id()).set_error("No correctly-formed DCP Constraints Profile found"),
});
}
@@ -4553,9 +4547,7 @@ BOOST_AUTO_TEST_CASE (verify_invalid_xml_cpl_extension_metadata8)
VN(
VC::MISMATCHED_CPL_HASHES, cpl->file().get()
).set_cpl_id(cpl->id()).set_reference_hash(calc.old_hash()).set_calculated_hash(calc.new_hash()),
- VN(
- VC::INVALID_EXTENSION_METADATA, string("No correctly-formed DCP Constraints Profile found"), cpl->file().get()
- ).set_cpl_id(cpl->id())
+ VN(VC::INVALID_EXTENSION_METADATA, cpl->file().get()).set_cpl_id(cpl->id()).set_error("No correctly-formed DCP Constraints Profile found"),
});
}