System testing manage DPA
authorEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Thu, 8 Oct 2015 00:48:00 +0000 (02:48 +0200)
committerEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Thu, 8 Oct 2015 00:48:00 +0000 (02:48 +0200)
example/diameter/launcher/MyDiameterEntity.cpp
example/diameter/launcher/MyLocalServer.cpp

index 6c1244b..6dcf797 100644 (file)
@@ -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);
 }
index 110efdc..513cdb4 100644 (file)
@@ -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);
 }