summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/verify.cc4
-rw-r--r--src/verify.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc
index e5959f23..14433451 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -1597,6 +1597,8 @@ verify_cpl(Context& context, shared_ptr<const CPL> cpl)
if (version.label_text.empty()) {
context.warning(VerificationNote::Code::EMPTY_CONTENT_VERSION_LABEL_TEXT, cpl->file().get());
break;
+ } else {
+ context.ok(VerificationNote::Code::VALID_CONTENT_VERSION_LABEL_TEXT, version.label_text);
}
}
@@ -2192,6 +2194,8 @@ dcp::note_to_string (VerificationNote note)
return String::compose("The asset with ID %1 in the asset map actually has an id of %2", note.id().get(), note.other_id().get());
case VerificationNote::Code::EMPTY_CONTENT_VERSION_LABEL_TEXT:
return String::compose("The <LabelText> in a <ContentVersion> in CPL %1 is empty", note.cpl_id().get());
+ case VerificationNote::Code::VALID_CONTENT_VERSION_LABEL_TEXT:
+ return String::compose("CPL has valid <ContentVersion> %1", note.note().get());
}
return "";
diff --git a/src/verify.h b/src/verify.h
index 071a3e0c..081007c9 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -491,6 +491,7 @@ public:
* file contains the CPL filename
*/
EMPTY_CONTENT_VERSION_LABEL_TEXT,
+ VALID_CONTENT_VERSION_LABEL_TEXT,
};
VerificationNote (Type type, Code code)