ASSERT_EQ(etRunner::get().verifyTC(testCaseName, testName), EINA_TRUE);
}
+TEST_F(etTestInput, seat_get)
+{
+ Ecore_Wl2_Window *wlwin = NULL;
+ Ecore_Wl2_Input *wl2_input = NULL;
+ struct wl_seat *seat = NULL;
+
+ etWin *tw = initNormalWin("TCWin_SeatGet", EINA_FALSE);
+ ASSERT_TRUE(tw != NULL) << "failed to init window";
+
+ showTCWin(tw);
+ ASSERT_VIS_ON(tw);
+
+ wlwin = (Ecore_Wl2_Window *)elm_win_wl_window_get(tw->elm_win);
+ EINA_SAFETY_ON_NULL_RETURN(wlwin);
+
+ wl2_input = ecore_wl2_window_input_get(wlwin);
+ EINA_SAFETY_ON_NULL_RETURN(wl2_input);
+
+ seat = ecore_wl2_input_seat_get(wl2_input);
+ ASSERT_NE(seat, nullptr);
+}
+
+TEST_F(etTestInput, seat_get_null_input)
+{
+ struct wl_seat *seat = NULL;
+
+ seat = ecore_wl2_input_seat_get(NULL);
+ ASSERT_EQ(seat, nullptr);
+}
+
TEST_F(etTestInput, seat_capabilities_get)
{
Ecore_Wl2_Window *wlwin = NULL;