summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-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