Remove redundant Core::SendEvent() & NotificationEvent
[platform/core/uifw/dali-toolkit.git] / automated-tests / dali-test-suite / popup / utc-Dali-Popup.cpp
index e5fa8af..5e33985 100644 (file)
@@ -185,7 +185,7 @@ static void UtcDaliPopoupSetProperty()
 
   //Test properties
   std::string testString = "Hello World";
-  popup.SetProperty(popup.GetPropertyIndex(Popup::PROPERTY_TITLE), testString);
+  popup.SetProperty(popup.GetPropertyIndex("title"), testString);
   DALI_TEST_EQUALS( testString, popup.GetTitle().GetText(), TEST_LOCATION );
 }
 
@@ -454,14 +454,14 @@ static void UtcDaliPopupOnTouchedOutside()
 
   event = Dali::Integration::TouchEvent();
   event.AddPoint( pointDownOutside );
-  application.GetCore().SendEvent( event );
+  application.ProcessEvent( event );
 
   application.SendNotification();
   application.Render();
 
   event = Dali::Integration::TouchEvent();
   event.AddPoint( pointUpOutside );
-  application.GetCore().SendEvent( event );
+  application.ProcessEvent( event );
 
   application.SendNotification();
   application.Render();