summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-09 21:20:03 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-09 21:20:03 +0200
commit2b46da8ca480abb4ce531043f69d1c12a6f1a755 (patch)
tree57dc63a2146f65fae286b209ac1bd60d122a2525 /spec
parente8e6c410e0f10cb7e76e59f21dcdc671aff88170 (diff)
downloadffi-efl-2b46da8ca480abb4ce531043f69d1c12a6f1a755.zip
ffi-efl-2b46da8ca480abb4ce531043f69d1c12a6f1a755.tar.gz
close ecore-3 : ecore_evas_spec, don't check y coordinate which is window manager specific
Diffstat (limited to 'spec')
-rw-r--r--spec/ecore_evas_spec.rb14
1 files changed, 10 insertions, 4 deletions
diff --git a/spec/ecore_evas_spec.rb b/spec/ecore_evas_spec.rb
index 5343498..94cde21 100644
--- a/spec/ecore_evas_spec.rb
+++ b/spec/ecore_evas_spec.rb
@@ -82,17 +82,23 @@ describe Efl::EcoreEvas do
it "move, resize move_resize and geometry_get (and check association)" do
@e.geometry_get.should == [10,10,100,120]
@bg.geometry_get.should == [0,0,100,120]
- @e.move 20, 17 # w+23 window bar height
+ @e.move 20, 20
ecore_loop 3
- @e.geometry_get.should == [20,40,100,120]
+ g = @e.geometry_get
+ g.delete_at 1
+ g.should == [20,100,120]
@bg.geometry_get.should == [0,0,100,120]
@e.resize 200,150
ecore_loop 3
- @e.geometry_get.should == [20,40,200,150]
+ g = @e.geometry_get
+ g.delete_at 1
+ g.should == [20,200,150]
@bg.geometry_get.should == [0,0,200,150]
@e.move_resize 10, 0, 130, 100
ecore_loop 3
- @e.geometry_get.should == [10,23,130,100]
+ g = @e.geometry_get
+ g.delete_at 1
+ g.should == [10,130,100]
@bg.geometry_get.should == [0,0,130,100]
g = @e.geometry_get
end