From: Eduardo Ramos Testillano Date: Thu, 8 Oct 2015 00:48:00 +0000 (+0200) Subject: System testing manage DPA X-Git-Tag: REFACTORING_TESTING_LIBRARY~92 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=61535eaec506725cfd019750c6b8d1ed6cdf16fd;p=anna.git System testing manage DPA --- diff --git a/example/diameter/launcher/MyDiameterEntity.cpp b/example/diameter/launcher/MyDiameterEntity.cpp index 6c1244b..6dcf797 100644 --- a/example/diameter/launcher/MyDiameterEntity.cpp +++ b/example/diameter/launcher/MyDiameterEntity.cpp @@ -318,4 +318,7 @@ throw(anna::RuntimeException) { // Write reception if(my_node->logEnabled()) my_node->writeLogFile(message, "recvfe", clientSession->asString()); + + // Testing: + TestManager::instantiate().receiveMessage(message, my_node, clientSession); } diff --git a/example/diameter/launcher/MyLocalServer.cpp b/example/diameter/launcher/MyLocalServer.cpp index 110efdc..513cdb4 100644 --- a/example/diameter/launcher/MyLocalServer.cpp +++ b/example/diameter/launcher/MyLocalServer.cpp @@ -273,5 +273,9 @@ throw(anna::RuntimeException) { anna::Logger::debug(msg, ANNA_FILE_LOCATION); ); + // Write reception if(my_node->logEnabled()) my_node->writeLogFile(message, "recvfc", serverSession->asString()); + + // Testing: + TestManager::instantiate().receiveMessage(message, my_node, serverSession); }