From: Eduardo Ramos Testillano Date: Fri, 2 Oct 2015 00:52:20 +0000 (+0200) Subject: Simplify command (no parameter field, all inside command). Interactive mode. X-Git-Tag: REFACTORING_TESTING_LIBRARY~104 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=687b0fa0b7c8440f71837334b0b29c28dfae2dca;p=anna.git Simplify command (no parameter field, all inside command). Interactive mode. --- diff --git a/example/diameter/batchConverter/main.cpp b/example/diameter/batchConverter/main.cpp index f909d89..0e7eff4 100644 --- a/example/diameter/batchConverter/main.cpp +++ b/example/diameter/batchConverter/main.cpp @@ -70,7 +70,7 @@ void _exit(const std::string &message, int resultCode = 1) { // Decodes a diameter message coming from a datablock void decodeDataBlock(const anna::DataBlock &db/*, unsigned int & detectedApplicationId*/) throw() { try { - G_codecMsg.clear(); // perhaps we will need another codec engine ... + G_codecMsg.setEngine(NULL); // perhaps we will need another codec engine ... G_codecMsg.decode(db); } catch(RuntimeException &ex) { _exit(ex.asString()); diff --git a/example/diameter/launcher/Launcher.cpp b/example/diameter/launcher/Launcher.cpp index f7921e7..eac8b26 100644 --- a/example/diameter/launcher/Launcher.cpp +++ b/example/diameter/launcher/Launcher.cpp @@ -1159,30 +1159,29 @@ std::string Launcher::help() const throw() { result += "\n received from entity (waitfe) or from client (waitfc)."; result += "\n"; result += "\n wait-regexp|"; - result += "\n Wait condition, from entity (waitfe-regexp) or client (waitfc-regexp)"; + result += "\n Wait condition, from entity (waitfe-regexp) or client (waitfc-regexp)"; result += "\n to match the serialized xml content for received messages. CPU cost"; result += "\n is bigger than the former ones because the whole message must be"; result += "\n decoded and converted to xml instead of doing a direct hexadecimal"; result += "\n buffer search. The main advantage is the great flexibility to identify"; result += "\n any content with a regular expression."; result += "\n"; - result += "\n sh-command|