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
Revert to tizen branch.
[platform/core/uifw/dali-toolkit.git]
/
automated-tests
/
src
/
dali-toolkit
/
utc-Dali-Control.cpp
diff --git
a/automated-tests/src/dali-toolkit/utc-Dali-Control.cpp
b/automated-tests/src/dali-toolkit/utc-Dali-Control.cpp
index
aa9e46c
..
beeb619
100644
(file)
--- a/
automated-tests/src/dali-toolkit/utc-Dali-Control.cpp
+++ b/
automated-tests/src/dali-toolkit/utc-Dali-Control.cpp
@@
-328,6
+328,12
@@
int UtcDaliControlTestParameters(void)
DummyControl test = DummyControl::New();
test.SetSize( 0.7f, 0.7f, 0.7f );
DummyControl test = DummyControl::New();
test.SetSize( 0.7f, 0.7f, 0.7f );
+
+ Stage::GetCurrent().Add( test );
+
+ application.SendNotification();
+ application.Render();
+
float width = 640.0f;
float height = test.GetHeightForWidth( width );
DALI_TEST_CHECK( test.GetWidthForHeight( height ) == width );
float width = 640.0f;
float height = test.GetHeightForWidth( width );
DALI_TEST_CHECK( test.GetWidthForHeight( height ) == width );