tizen 2.4 release
[framework/web/wrt-commons.git] / tests / core / test_thread.cpp
index 8eec1f0..1c76698 100644 (file)
@@ -21,7 +21,7 @@
  */
 #include <dpl/test/test_runner.h>
 #include <dpl/thread.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
 
 RUNNER_TEST_GROUP_INIT(DPL)
 
@@ -33,18 +33,18 @@ class Foo
     int id;
     Foo(int i = 0) : id(i)
     {
-        LogDebug("Foo: ctor: " << id);
+        WrtLogD("Foo: ctor: %i", id);
     }
 
     ~Foo()
     {
-        LogDebug("Foo: dtor: " << id);
+        WrtLogD("Foo: dtor: %i", id);
         g_wasFooDeleted = true;
     }
 
     void Bar()
     {
-        LogDebug("Foo: bar");
+        WrtLogD("Foo: bar");
     }
 };
 
@@ -57,7 +57,7 @@ class FooThread :
   protected:
     virtual int ThreadEntry()
     {
-        LogDebug("In thread");
+        WrtLogD("In thread");
 
         RUNNER_ASSERT(!g_foo);
         RUNNER_ASSERT(g_foo.IsNull());