comparison 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
comparison
equal deleted inserted replaced
53:86d8a699dfbe 54:314eea778b80
145 Test::Result 145 Test::Result
146 TestEmptyFields::testRecommended(string text, string desc) 146 TestEmptyFields::testRecommended(string text, string desc)
147 { 147 {
148 if (text == "") { 148 if (text == "") {
149 return warning(desc + " is empty"); 149 return warning(desc + " is empty");
150 } else if (text == "Licence information not available." ||
151 text == "VamPy Plugin." ||
152 text == "Not given. (Hint: Implement getDescription method.)" ||
153 text == "VamPy Plugin (Noname)") {
154 return warning(desc + " is missing (returns VamPy boilerplate text)");
150 } 155 }
151 return success(); 156 return success();
152 } 157 }
153 158
154 Test::Results 159 Test::Results