summaryrefslogtreecommitdiffstats
path: root/spec/edje_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/edje_spec.rb')
-rw-r--r--spec/edje_spec.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/spec/edje_spec.rb b/spec/edje_spec.rb
index 896c6bc..5ba5b8c 100644
--- a/spec/edje_spec.rb
+++ b/spec/edje_spec.rb
@@ -17,7 +17,6 @@ else
end
#
require 'efl/eina_list'
-require 'efl/evas'
require 'efl/edje'
require './spec/helper'
#
@@ -43,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