bool TestManager::tick() throw() {
LOGDEBUG(anna::Logger::debug("New test clock tick !", ANNA_FILE_LOCATION));
+ return execTestCases(a_synchronousAmount);
+}
+
+bool TestManager::execTestCases(int sync_amount) throw() {
if (!tests()) {
- LOGWARNING(anna::Logger::warning("Testing pool is empty. You need programming. Stopping test clock", ANNA_FILE_LOCATION));
+ LOGWARNING(anna::Logger::warning("Testing pool is empty. You need programming", ANNA_FILE_LOCATION));
return false;
}
// Synchronous sendings per tick:
- int count = a_synchronousAmount;
+ int count = sync_amount;
while (count > 0) {
if (!nextTestCase()) return false; // stop the clock
count--;