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-Popup.cpp;h=0b95d1f5ed5dee9db0e84ee50c3083e442fdcba8;hp=cd38bc380c55589d0e3391a16e487aaeed35b6e6;hb=6b496cacd2a596235a246c912a6b507a72d67ad4;hpb=634c6a6dcb36441536070057a000450c71b80f2e diff --git a/automated-tests/src/dali-toolkit/utc-Dali-Popup.cpp b/automated-tests/src/dali-toolkit/utc-Dali-Popup.cpp index cd38bc3..0b95d1f 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-Popup.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-Popup.cpp @@ -178,14 +178,21 @@ Integration::KeyEvent GenerateKey( const std::string& keyName, int keyCode, int keyModifier, unsigned long timeStamp, - const Integration::KeyEvent::State& keyState ) + const Integration::KeyEvent::State& keyState, + const std::string& deviceName = "", + const DevelDevice::Class::Type& deviceClass = DevelDevice::Class::NONE, + const DevelDevice::Subclass::Type& deviceSubclass = DevelDevice::Subclass::NONE + ) { return Integration::KeyEvent( keyName, keyString, keyCode, keyModifier, timeStamp, - keyState ); + keyState, + deviceName, + deviceClass, + deviceSubclass ); } } // Anonymous namespace @@ -1425,7 +1432,7 @@ int UtcDaliPopupOnKeyEvent(void) popup.SetKeyInputFocus(); - application.ProcessEvent( GenerateKey( "", "", DALI_KEY_ESCAPE, 0, 0, Integration::KeyEvent::Down ) ); + application.ProcessEvent( GenerateKey( "", "", DALI_KEY_ESCAPE, 0, 0, Integration::KeyEvent::Down, "", DevelDevice::Class::TOUCH, DevelDevice::Subclass::NONE ) ); application.SendNotification(); application.Render();