projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
KeyEvent class pimpling
[platform/core/uifw/dali-adaptor.git]
/
automated-tests
/
src
/
dali-adaptor
/
utc-Dali-Key.cpp
diff --git
a/automated-tests/src/dali-adaptor/utc-Dali-Key.cpp
b/automated-tests/src/dali-adaptor/utc-Dali-Key.cpp
index
9a2e7dc
..
27e5fb6
100644
(file)
--- a/
automated-tests/src/dali-adaptor/utc-Dali-Key.cpp
+++ b/
automated-tests/src/dali-adaptor/utc-Dali-Key.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 20
14
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
20
Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-24,6
+24,7
@@
#include <stdlib.h>
#include <iostream>
#include <dali.h>
#include <stdlib.h>
#include <iostream>
#include <dali.h>
+#include <dali/devel-api/events/key-event-devel.h>
#include <dali-test-suite-utils.h>
using namespace Dali;
#include <dali-test-suite-utils.h>
using namespace Dali;
@@
-97,8
+98,7
@@
const std::size_t KEY_LOOKUP_COUNT = (sizeof( KeyLookupTable))/ (sizeof(KeyLooku
// Generate a KeyPressEvent to send to Core
Dali::KeyEvent GenerateKeyPress( const std::string& keyName )
{
// Generate a KeyPressEvent to send to Core
Dali::KeyEvent GenerateKeyPress( const std::string& keyName )
{
- KeyEvent keyPress;
- keyPress.keyPressedName = keyName;
+ Dali::KeyEvent keyPress = DevelKeyEvent::New(keyName, "", "", -1, 0, 0lu, Dali::KeyEvent::Down, "", "", Device::Class::NONE, Device::Subclass::NONE); // set name to test, key string to i and modifier to shift
return keyPress;
}
return keyPress;
}