tizen 2.4 release
[framework/web/wrt-commons.git] / tests / utils / bash_utils.cpp
index 7dac1fc..4c496b5 100644 (file)
@@ -20,7 +20,7 @@
  */
 #include <dpl/test/test_runner.h>
 #include <dpl/utils/bash_utils.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
 
 using namespace BashUtils;
 
@@ -36,16 +36,16 @@ RUNNER_TEST(Bash_Utils_escape_arg)
     RUNNER_ASSERT_MSG(escape_arg(std::string(
                                      "valid")) == "\"valid\"",
                       "Valid argument failed");
-    LogDebug("\"val\\!d\"" << " " << escape_arg(std::string("val!d")));
+    WrtLogD("\"val\\!d\" %s", escape_arg(std::string("val!d")).c_str());
     RUNNER_ASSERT_MSG(escape_arg(std::string(
                                      "val!d")) == "\"val\\!d\"",
                       "Single escaped character in argument failed");
-    LogDebug("\"v\\$l\\$\\$\"" << " " << escape_arg(std::string("v$l$$")));
+    WrtLogD("\"v\\$l\\$\\$\" %s", escape_arg(std::string("v$l$$")).c_str());
     RUNNER_ASSERT_MSG(escape_arg(std::string(
                                      "v$l$$")) == "\"v\\$l\\$\\$\"",
                       "Multiple occurences of single special character in argument failed");
-    LogDebug("\"v\\`\\$\\\"\\!d\\`\"" << " " <<
-             escape_arg(std::string("v`$\"!d`")));
+    WrtLogD("\"v\\`\\$\\\"\\!d\\`\" %s",
+             escape_arg(std::string("v`$\"!d`")).c_str());
     RUNNER_ASSERT_MSG(escape_arg(std::string(
                                      "v`$\"!d`")) == "\"v\\`\\$\\\"\\!d\\`\"",
                       "Multiple occurences of multiple special character in argument failed");