summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-29 14:04:47 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-29 14:07:18 +0200
commitc2855a3809a9c76a94e4434efe7caecef27b8a35 (patch)
treeca19f60adb65382f587ab2bdce6575b791321196 /spec
parent308c072a8e809b5694225cb7fc29535f62bd6d3e (diff)
downloadffi-efl-c2855a3809a9c76a94e4434efe7caecef27b8a35.zip
ffi-efl-c2855a3809a9c76a94e4434efe7caecef27b8a35.tar.gz
update efl/ecore* and specs
Diffstat (limited to 'spec')
-rw-r--r--spec/ecore_evas_spec.rb (renamed from spec/ecore/ecore_evas_spec.rb)2
-rw-r--r--spec/ecore_getopt_spec.rb (renamed from spec/ecore/ecore_getopt_spec.rb)5
-rw-r--r--spec/ecore_input_spec.rb (renamed from spec/ecore/ecore_input_spec.rb)2
-rw-r--r--spec/ecore_spec.rb2
4 files changed, 5 insertions, 6 deletions
diff --git a/spec/ecore/ecore_evas_spec.rb b/spec/ecore_evas_spec.rb
index c380613..c4d2275 100644
--- a/spec/ecore/ecore_evas_spec.rb
+++ b/spec/ecore_evas_spec.rb
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/ecore/ecore_evas'
+require 'efl/ecore_evas'
#
describe Efl::EcoreEvas do
#
diff --git a/spec/ecore/ecore_getopt_spec.rb b/spec/ecore_getopt_spec.rb
index 155362e..7e6e5d9 100644
--- a/spec/ecore/ecore_getopt_spec.rb
+++ b/spec/ecore_getopt_spec.rb
@@ -1,15 +1,14 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/ecore'
-require 'efl/ecore/ecore_getopt'
+require 'efl/ecore_getopt'
#
describe Efl::EcoreGetopt do
#
before(:all) do
Efl::Ecore.init
#
- @p = Efl::EcoreGetopt::Parser.new :prog =>"Prog", :usage => "Usage", :version => "0.0.0", :copyright => "less", :license => "MIT", :description => "description", :strict => 1
+ @p = Efl::EcoreGetopt::REcoreGetopt.new :prog =>"Prog", :usage => "Usage", :version => "0.0.0", :copyright => "less", :license => "MIT", :description => "description", :strict => 1
@callback = Proc.new do |parser, desc, string, data, value|
parser.address.should eql @p.to_ptr.address
string.should eql "my_data"
diff --git a/spec/ecore/ecore_input_spec.rb b/spec/ecore_input_spec.rb
index 041f422..095d11a 100644
--- a/spec/ecore/ecore_input_spec.rb
+++ b/spec/ecore_input_spec.rb
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'efl/ecore/ecore_input'
+require 'efl/ecore_input'
#
describe Efl::EcoreInput do
#
diff --git a/spec/ecore_spec.rb b/spec/ecore_spec.rb
index 3fcf6fb..fb68c37 100644
--- a/spec/ecore_spec.rb
+++ b/spec/ecore_spec.rb
@@ -50,7 +50,7 @@ describe Efl::Ecore do
bytes.should eql 12
end
Ecore.init
- pipe = Ecore::EcorePipe.new cb, data
+ pipe = Ecore::REcorePipe.new cb, data
pipe.write("hello world").should be_true
Ecore.main_loop_iterate
pipe.read_close