+int UtcDaliConfirmationPopupTypeRegistryCreation(void)
+{
+ ToolkitTestApplication application;
+ tet_infoline( " UtcDaliConfirmationPopupTypeRegistryCreation" );
+
+ TypeInfo typeInfo = TypeRegistry::Get().GetTypeInfo( "ConfirmationPopup" );
+ DALI_TEST_CHECK( typeInfo )
+
+ BaseHandle baseHandle = typeInfo.CreateInstance();
+ DALI_TEST_CHECK( baseHandle )
+
+ Toolkit::Popup popup = Toolkit::Popup::DownCast( baseHandle );
+ popup.SetProperty( Popup::Property::ANIMATION_DURATION, 0.0f );
+
+ Stage::GetCurrent().Add( popup );
+ popup.SetDisplayState( Toolkit::Popup::SHOWN );
+
+ application.SendNotification();
+ application.Render();
+
+ // Check the popup is shown.
+ DALI_TEST_EQUALS( popup.GetDisplayState(), Popup::SHOWN, TEST_LOCATION );
+
+ END_TEST;
+}
+