Add MouseInOutEventSignal
[platform/core/uifw/dali-adaptor.git] / automated-tests / src / dali-adaptor / utc-Dali-Window.cpp
index 19100ce..b0d2bcf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -1592,3 +1592,18 @@ int UtcDaliWindowOrientationChangedSignalNegative(void)
   }
   END_TEST;
 }
+
+int UtcDaliWindowMouseInOutSignalNegative(void)
+{
+  Dali::Window instance;
+  try
+  {
+    DevelWindow::MouseInOutEventSignal(instance);
+    DALI_TEST_CHECK(false); // Should not get here
+  }
+  catch(...)
+  {
+    DALI_TEST_CHECK(true); // We expect an assert
+  }
+  END_TEST;
+}