+ if (id == -1) {
+ return testManager.clearPool(response);
+ }
+
+ if (!testManager.findTestCase(id)) {
+ response += "cannot found test id (";
+ response += anna::functions::asString(id);
+ response += ")";
+ return false;
+ }
+
+ return testManager.clearTestCase(response, id);