summaryrefslogtreecommitdiffstats
path: root/spec/ecore_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-11 23:07:16 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-11 23:07:16 +0200
commit846ea53d8844b42ac85bcf3a4c8307212c2c5075 (patch)
tree1d4f651bc309726be5573b4f7f16e2e6a25fc0bb /spec/ecore_spec.rb
parent9c39aee51c91457ee9177fabca8a6689a8d8d05a (diff)
downloadffi-efl-846ea53d8844b42ac85bcf3a4c8307212c2c5075.zip
ffi-efl-846ea53d8844b42ac85bcf3a4c8307212c2c5075.tar.gz
add main_loop function to ecore
Diffstat (limited to 'spec/ecore_spec.rb')
-rw-r--r--spec/ecore_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/ecore_spec.rb b/spec/ecore_spec.rb
index a2ae2fd..e1260fc 100644
--- a/spec/ecore_spec.rb
+++ b/spec/ecore_spec.rb
@@ -19,4 +19,9 @@ describe EFL::ECORE do
ECORE.shutdown.should eql 0
end
#
+ it "should run a single iteration of the mainloop" do
+ ECORE.init.should eql 1
+ ECORE.main_loop_iterate
+ ECORE.shutdown.should eql 0
+ end
end