summaryrefslogtreecommitdiffstats
path: root/spec/edje_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:48:45 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:48:45 +0100
commitef44077310b4ebf8d3cb31ccb57d15b96a94c9d3 (patch)
treec2bb690ccc1be37c03f6dcdcf892fbf3e17f5067 /spec/edje_spec.rb
parentdbb2c5713e11489dfaeb318a82785017f1794dde (diff)
parentb030c490265bb13ee98a650da419a033495042ed (diff)
downloadffi-efl-ef44077310b4ebf8d3cb31ccb57d15b96a94c9d3.zip
ffi-efl-ef44077310b4ebf8d3cb31ccb57d15b96a94c9d3.tar.gz
Merge branch 'wip'
Conflicts: tools/genruby.rb
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