DSEventLoop: add testEmitIdleEntererFuncs() for test cases 69/243469/1
authorDuna Oh <duna.oh@samsung.com>
Thu, 3 Sep 2020 02:04:32 +0000 (11:04 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Mon, 7 Sep 2020 10:36:18 +0000 (19:36 +0900)
Change-Id: I70d59b678e53d1bc3f696001a37a57f5f82637d8

src/DSEventLoop/DSEventLoop.cpp
src/DSEventLoop/DSEventLoop.h

index 26fdf07..f79af6d 100644 (file)
@@ -126,4 +126,12 @@ Eina_Bool DSEventLoop::__emitIdleEntererFuncs(void *data)
        return EINA_TRUE;
 }
 
+// for test cases only
+Eina_Bool DSEventLoop::testEmitIdleEntererFuncs(void *data)
+{
+       __idleEntererSignal.emit(data);
+
+       return EINA_TRUE;
+}
+
 } // namespace display_server
index c2ea27d..1cc365b 100644 (file)
@@ -47,6 +47,8 @@ public:
        // register callback functions
        void registerCallbackIdleEnterer(DSObject *slot, std::function<void(void *data)> func);
 
+       static Eina_Bool testEmitIdleEntererFuncs(void *data); // for test cases only
+
 private:
        DSEventLoop(); // private constructor
        ~DSEventLoop(); // private desctructor