Revert "[Tizen] Appendix log for ttrace + Print keycode and timestamp"
[platform/core/uifw/dali-core.git] / automated-tests / src / dali / utc-Dali-PinchGestureDetector.cpp
index 8547f00..2c45979 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
@@ -131,7 +131,6 @@ int UtcDaliPinchGestureDetectorCopyConstructorP(void)
   TestApplication application;
 
   PinchGestureDetector detector = PinchGestureDetector::New();
-  ;
 
   PinchGestureDetector copy(detector);
   DALI_TEST_CHECK(detector);
@@ -143,7 +142,6 @@ int UtcDaliPinchGestureDetectorAssignmentOperatorP(void)
   TestApplication application;
 
   PinchGestureDetector detector = PinchGestureDetector::New();
-  ;
 
   PinchGestureDetector assign;
   assign = detector;
@@ -153,6 +151,34 @@ int UtcDaliPinchGestureDetectorAssignmentOperatorP(void)
   END_TEST;
 }
 
+int UtcDaliPinchGestureDetectorMoveConstructorP(void)
+{
+  TestApplication application;
+
+  PinchGestureDetector detector = PinchGestureDetector::New();
+  DALI_TEST_CHECK(detector);
+
+  PinchGestureDetector moved = std::move(detector);
+  DALI_TEST_CHECK(moved);
+  DALI_TEST_CHECK(!detector);
+  END_TEST;
+}
+
+int UtcDaliPinchGestureDetectorMoveAssignmentOperatorP(void)
+{
+  TestApplication application;
+
+  PinchGestureDetector detector;
+  detector = PinchGestureDetector::New();
+  DALI_TEST_CHECK(detector);
+
+  PinchGestureDetector moved;
+  moved = std::move(detector);
+  DALI_TEST_CHECK(moved);
+  DALI_TEST_CHECK(!detector);
+  END_TEST;
+}
+
 int UtcDaliPinchGestureDetectorNew(void)
 {
   TestApplication application;