projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New st-client deployment. Allow to load same stack id (accumulative services), ignori...
[anna.git]
/
example
/
diameter
/
launcher
/
testing
/
TestManager.cpp
diff --git
a/example/diameter/launcher/testing/TestManager.cpp
b/example/diameter/launcher/testing/TestManager.cpp
index
ee6be63
..
2c03b4d
100644
(file)
--- a/
example/diameter/launcher/testing/TestManager.cpp
+++ b/
example/diameter/launcher/testing/TestManager.cpp
@@
-279,14
+279,18
@@
bool TestManager::resetPool(bool hard) throw() {
bool TestManager::tick() throw() {
LOGDEBUG(anna::Logger::debug("New test clock tick !", ANNA_FILE_LOCATION));
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()) {
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:
return false;
}
// Synchronous sendings per tick:
- int count =
a_synchronousA
mount;
+ int count =
sync_a
mount;
while (count > 0) {
if (!nextTestCase()) return false; // stop the clock
count--;
while (count > 0) {
if (!nextTestCase()) return false; // stop the clock
count--;