Merge "If USER_INTERACTION_ENABLED is false, actor should not receive events." into...
[platform/core/uifw/dali-core.git] / automated-tests / src / dali / utc-Dali-GeoTouchProcessing.cpp
index 40f4afc..4ab68a7 100644 (file)
@@ -892,10 +892,9 @@ int UtcDaliGeoTouchEventActorBecomesUserInteractionDisabled(void)
   // Change actor to disable user interaction.
   actor.SetProperty(DevelActor::Property::USER_INTERACTION_ENABLED, false);
 
-  // Emit a motion signal, signalled with an interrupted
+  // Emit a motion signal, shouldn't receive a signal.
   application.ProcessEvent(GenerateSingleTouch(PointState::MOTION, Vector2(200.0f, 200.0f)));
-  DALI_TEST_EQUALS(true, data.functorCalled, TEST_LOCATION);
-  DALI_TEST_EQUALS(PointState::INTERRUPTED, data.receivedTouch.points[0].state, TEST_LOCATION);
+  DALI_TEST_EQUALS(false, data.functorCalled, TEST_LOCATION);
   data.Reset();
   END_TEST;
 }