libaurum: Delete class name in log 11/261011/1
authorWoochanlee <wc0917.lee@samsung.com>
Thu, 8 Jul 2021 09:10:16 +0000 (18:10 +0900)
committerWoochanlee <wc0917.lee@samsung.com>
Thu, 8 Jul 2021 09:10:16 +0000 (18:10 +0900)
class name will be added at the defined macro.

Change-Id: I960c109688832f5e97c530116afd69705dbdb592

libaurum/src/Until.cc
libaurum/src/Waiter.cc

index 987627a..8fb8d85 100644 (file)
@@ -4,7 +4,7 @@ std::function<bool(const ISearchable *)> Until::hasObject(
     const std::shared_ptr<UiSelector> selector)
 {
     return [=](const ISearchable *searchable) -> bool {
-        LOGI("Until::hasObject search:%p", searchable);
+        LOGI("hasObject search:%p", searchable);
         std::shared_ptr<UiObject> obj = searchable->findObject(selector);
         return obj.get() != nullptr;
     };
@@ -14,7 +14,7 @@ std::function<std::shared_ptr<UiObject>(const ISearchable *)> Until::findObject(
     const std::shared_ptr<UiSelector> selector)
 {
     return [=](const ISearchable *searchable) -> std::shared_ptr<UiObject> {
-        LOGI("Until::findObject search:%p", searchable);
+        LOGI("findObject search:%p", searchable);
         std::shared_ptr<UiObject> obj = searchable->findObject(selector);
         return obj;
     };
@@ -23,7 +23,7 @@ std::function<std::shared_ptr<UiObject>(const ISearchable *)> Until::findObject(
 std::function<bool(const UiObject *)> Until::checkable(const bool isCheckable)
 {
     return [=](const UiObject *object) -> bool {
-        LOGI("Until::checkable checkable:%d for obj %p", isCheckable, object);
+        LOGI("checkable checkable:%d for obj %p", isCheckable, object);
         return object->isClickable() == isCheckable;
     };
 }
index 05b4f63..1990895 100644 (file)
@@ -28,7 +28,7 @@ template bool Waiter::waitFor(
 template <typename R>
 R Waiter::waitFor(const std::function<R(const ISearchable *)> condition) const
 {
-    LOGI("Waiter::waitFor ISearchable");
+    LOGI("waitFor ISearchable");
     std::chrono::system_clock::time_point start =
         std::chrono::system_clock::now();
     R result = condition(mSearchableObject);
@@ -46,7 +46,7 @@ R Waiter::waitFor(const std::function<R(const ISearchable *)> condition) const
 template <typename R>
 R Waiter::waitFor(const std::function<R(const UiObject *)> condition) const
 {
-    LOGI("Waiter::waitFor UiObject");
+    LOGI("waitFor UiObject");
     if (mUiObject) {
         std::chrono::system_clock::time_point start =
             std::chrono::system_clock::now();