summaryrefslogtreecommitdiffstats
path: root/spec/edje_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-24 09:17:38 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-24 09:17:38 +0100
commitbfaac9fcf80c574e4c50290f3e07eb84377823e4 (patch)
treed43aae7ecf22e56ff670921a0f39fe7ff27e12fd /spec/edje_spec.rb
parent3963549fbac802a853c94861d1b308bd9c821dde (diff)
downloadffi-efl-bfaac9fcf80c574e4c50290f3e07eb84377823e4.zip
ffi-efl-bfaac9fcf80c574e4c50290f3e07eb84377823e4.tar.gz
update edje native and specs
Diffstat (limited to 'spec/edje_spec.rb')
-rw-r--r--spec/edje_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/edje_spec.rb b/spec/edje_spec.rb
index 94cdc18..5ba5b8c 100644
--- a/spec/edje_spec.rb
+++ b/spec/edje_spec.rb
@@ -42,6 +42,14 @@ describe "Efl::Edje #{Efl::Edje.version.full}" do
Edje.shutdown.should == @init
end
#
+ it "enum edje_external_param_flags should be correct" do
+ [ :edje_external_param_flags_none, :edje_external_param_flags_get,
+ :edje_external_param_flags_set, :edje_external_param_flags_state,
+ :edje_external_param_flags_constructor, :edje_external_param_flags_regular ].zip([0,1,2,4,8,7]) do |s,v|
+ Efl::Native.enum_value(s).should == v
+ end
+ end
+ #
it "frametime get/set " do
Edje.frametime_set 10
Edje.frametime_get.should == 10