diff TestStaticData.cpp @ 54:314eea778b80

Check for VamPy boilerplate text and report it if found
author Chris Cannam
date Mon, 17 Nov 2014 12:54:22 +0000
parents f1e8e14e9c96
children 69e7d4e1e68c
line wrap: on
line diff
--- a/TestStaticData.cpp	Fri Sep 12 21:58:45 2014 +0100
+++ b/TestStaticData.cpp	Mon Nov 17 12:54:22 2014 +0000
@@ -147,6 +147,11 @@
 {
     if (text == "") {
         return warning(desc + " is empty");
+    } else if (text == "Licence information not available." ||
+               text == "VamPy Plugin." ||
+               text == "Not given. (Hint: Implement getDescription method.)" ||
+               text == "VamPy Plugin (Noname)") {
+        return warning(desc + " is missing (returns VamPy boilerplate text)");
     }
     return success();
 }