From 14cdb54b5f9320aac9dd3c4dfe490952a40b0250 Mon Sep 17 00:00:00 2001 From: Joe Konno Date: Mon, 30 Jul 2012 12:32:05 -0700 Subject: [PATCH] EFL: tweak templated test cases, more visibility Signed-off-by: Joe Konno --- src/efl/templates.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/efl/templates.h b/src/efl/templates.h index 3f0d115..5863b2a 100644 --- a/src/efl/templates.h +++ b/src/efl/templates.h @@ -34,6 +34,10 @@ public: void setup() { + + window_.show(); + object_.show(); + std::vector::iterator width_it, height_it; for (width_it = width_.begin(); width_it != width_.end(); width_it++) for (height_it = height_.begin(); height_it != height_.end(); height_it++) @@ -71,11 +75,17 @@ public: y_.push_back(10); y_.push_back(50); y_.push_back(101); + + object_.setSize(50, 50); + return; } void setup() { + window_.show(); + object_.show(); + std::vector::iterator x_it, y_it; for (x_it = x_.begin(); x_it != x_.end(); x_it++) for (y_it = y_.begin(); y_it != y_.end(); y_it++) @@ -107,11 +117,16 @@ public: , window_("VisibleObjectTest", "Visibility Test") , object_(window_) { + object_.setSize(50, 50); + object_.setPosition(100, 100); + return; } void setup() { + window_.show(); + queueCallback( ModifyCheckCallback( boost::bind(&T::show, boost::ref(object_)), -- 2.7.4