Add fourth work package for REST API implementation
[anna.git] / source / testing / TestManager.cpp
index 280a198..c8c65e3 100644 (file)
@@ -300,7 +300,7 @@ bool TestManager::clearPool(std::string &result) throw() {
   result = "";
 
   if (!tests()) {
-    result = "there are not programmed test cases to be removed";
+    result = "There are not programmed test cases to be removed";
     return false;
   }
 
@@ -315,7 +315,7 @@ bool TestManager::clearPool(std::string &result) throw() {
   }
 
   if (unsafe > 0) {
-    result = "some test cases cannot be removed (";
+    result = "Some test cases cannot be removed (";
     result += anna::functions::asString(unsafe);
     result += "/";
     result += anna::functions::asString(total);
@@ -336,6 +336,7 @@ bool TestManager::clearPool(std::string &result) throw() {
   configureTTPS(0); // stop
   a_statSummary.clear();
 
+  result = "all the programmed test cases have been dropped";
   return true;
 }