projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Automated Tests) Sync with core tests
[platform/core/uifw/dali-toolkit.git]
/
automated-tests
/
src
/
dali-toolkit
/
dali-toolkit-test-utils
/
toolkit-event-thread-callback.cpp
diff --git
a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-event-thread-callback.cpp
b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-event-thread-callback.cpp
index
e8ee062
..
f77cdde
100644
(file)
--- a/
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-event-thread-callback.cpp
+++ b/
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-event-thread-callback.cpp
@@
-21,6
+21,7
@@
#include <cstddef>
#include <semaphore.h>
#include <math.h>
#include <cstddef>
#include <semaphore.h>
#include <math.h>
+#include <climits>
namespace Dali
{
namespace Dali
{
@@
-43,7
+44,7
@@
EventThreadCallback::EventThreadCallback( CallbackBase* callback )
{
mImpl->callback = callback;
mImpl->triggeredCount = 0u;
{
mImpl->callback = callback;
mImpl->triggeredCount = 0u;
- mImpl->expectedCount =
INFINITY
;
+ mImpl->expectedCount =
UINT_MAX
;
sem_init( &(mImpl->mySemaphore), 0, 0 );
gEventThreadCallback = this;
}
sem_init( &(mImpl->mySemaphore), 0, 0 );
gEventThreadCallback = this;
}