summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-09 21:24:19 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-09 21:24:19 +0200
commit75e11040bbcde1c87a26d42ad96022eb27ec8ff1 (patch)
tree3272a01798f0b5b0fc547001921ad6ffb76c7e8c
parent2b46da8ca480abb4ce531043f69d1c12a6f1a755 (diff)
downloadffi-efl-75e11040bbcde1c87a26d42ad96022eb27ec8ff1.zip
ffi-efl-75e11040bbcde1c87a26d42ad96022eb27ec8ff1.tar.gz
tests cleanup
-rw-r--r--test/test_edje.rb7
-rw-r--r--test/test_elm_win.rb1
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test_edje.rb b/test/test_edje.rb
index 190336b..7da1353 100644
--- a/test/test_edje.rb
+++ b/test/test_edje.rb
@@ -5,9 +5,6 @@ require 'efl/ecore'
require 'efl/ecore_evas'
require 'efl/edje'
#
-Efl::EcoreEvas::init
-Efl::Edje::init
-#
WIDTH=320
HEIGHT=240
#
@@ -41,9 +38,13 @@ def create_my_group canvas, txt
end
#
def del_cb ecore_evas
+ puts "delete request callback"
Efl::Ecore.main_loop_quit
end
#
+Efl::EcoreEvas::init
+Efl::Edje::init
+#
window = Efl::EcoreEvas::REcoreEvas.new { |w|
w.resize WIDTH, HEIGHT
w.move 100, 100
diff --git a/test/test_elm_win.rb b/test/test_elm_win.rb
index ed6246a..0783441 100644
--- a/test/test_elm_win.rb
+++ b/test/test_elm_win.rb
@@ -42,7 +42,6 @@ win = MyWin.new "App name", "Window Title" do |w|
w.resize 200, 100
w.show
end
-win.show
#
Elm.run
Elm.shutdown