X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Futc-Dali-ConfirmationPopup.cpp;h=8bdddfe2270437bc83a391f5828c3f828d224df9;hp=8da9eae4dc574adf3eed758a572c2b2e5ecb166a;hb=32d9c82fd183da60e3c54584d888388e73b92d34;hpb=6d4347e7eff8ab62127a60984af2f1cdf156716c diff --git a/automated-tests/src/dali-toolkit/utc-Dali-ConfirmationPopup.cpp b/automated-tests/src/dali-toolkit/utc-Dali-ConfirmationPopup.cpp index 8da9eae..8bdddfe 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-ConfirmationPopup.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-ConfirmationPopup.cpp @@ -108,7 +108,7 @@ int UtcDaliConfirmationPopupNewP( void ) DALI_TEST_CHECK( popup2 == popup ); // Additional check to ensure object is created by checking if it's registered. - ObjectRegistry registry = Stage::GetCurrent().GetObjectRegistry(); + ObjectRegistry registry = application.GetCore().GetObjectRegistry(); DALI_TEST_CHECK( registry ); gObjectCreatedCallBackCalled = false; @@ -172,11 +172,11 @@ int UtcDaliConfirmationPopupDynamicSignalGenerationP(void) popup.SetFooter( footerActor ); - // Tell the confirmation popup to connect to the signal in our button called "onStage". - popup.SetProperty( Toolkit::ConfirmationPopup::Property::CONNECT_SIGNAL_OK_SELECTED, "onStage" ); + // Tell the confirmation popup to connect to the signal in our button called "onScene". + popup.SetProperty( Toolkit::ConfirmationPopup::Property::CONNECT_SIGNAL_OK_SELECTED, "onScene" ); std::string resultProperty; DALI_TEST_CHECK( popup.GetProperty( Toolkit::ConfirmationPopup::Property::CONNECT_SIGNAL_OK_SELECTED ).Get( resultProperty ) ); - DALI_TEST_EQUALS( resultProperty, "onStage", TEST_LOCATION ); + DALI_TEST_EQUALS( resultProperty, "onScene", TEST_LOCATION ); // Connect to the confirmation popup's OK signal. This signal is dynamically created upon connection. gSignalReceivedOK = false; @@ -197,9 +197,9 @@ int UtcDaliConfirmationPopupDynamicSignalGenerationP(void) // Remove the popup from the stage, and connect the cancel signal. popup.Unparent(); - popup.SetProperty( Toolkit::ConfirmationPopup::Property::CONNECT_SIGNAL_CANCEL_SELECTED, "onStage" ); + popup.SetProperty( Toolkit::ConfirmationPopup::Property::CONNECT_SIGNAL_CANCEL_SELECTED, "onScene" ); DALI_TEST_CHECK( popup.GetProperty( Toolkit::ConfirmationPopup::Property::CONNECT_SIGNAL_CANCEL_SELECTED ).Get( resultProperty ) ); - DALI_TEST_EQUALS( resultProperty, "onStage", TEST_LOCATION ); + DALI_TEST_EQUALS( resultProperty, "onScene", TEST_LOCATION ); popup.ConnectSignal( testTracker, "controlSignalCancel", ConfirmationPopupCancelTestFunctor() ); @@ -236,8 +236,8 @@ int UtcDaliConfirmationPopupDynamicSignalGenerationN(void) buttonOK.SetProperty( Dali::Actor::Property::NAME, "controlOkMisnamed" ); popup.SetFooter( buttonOK ); - // Tell the confirmation popup to connect to the signal in our button called "onStage". - popup.SetProperty( Toolkit::ConfirmationPopup::Property::CONNECT_SIGNAL_OK_SELECTED, "onStage" ); + // Tell the confirmation popup to connect to the signal in our button called "onScene". + popup.SetProperty( Toolkit::ConfirmationPopup::Property::CONNECT_SIGNAL_OK_SELECTED, "onScene" ); // Connect to the confirmation popup's OK signal. gSignalReceivedOK = false;