diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 17:00:26 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 17:00:26 +0200 |
commit | aa7ddc693a3bf6fed5c346f83b3aa7791ba83a8a (patch) | |
tree | 610ef37319d2a32ef587bbf3c34ca2048e971bde /spec/ecore | |
parent | 35eceb0f17b46aeb56dcbd72569a42676cf63923 (diff) | |
download | ffi-efl-aa7ddc693a3bf6fed5c346f83b3aa7791ba83a8a.zip ffi-efl-aa7ddc693a3bf6fed5c346f83b3aa7791ba83a8a.tar.gz |
fix efl/ffi/ecore_input generation, add specs
Diffstat (limited to 'spec/ecore')
-rw-r--r-- | spec/ecore/ecore_input_spec.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/ecore/ecore_input_spec.rb b/spec/ecore/ecore_input_spec.rb new file mode 100644 index 0000000..041f422 --- /dev/null +++ b/spec/ecore/ecore_input_spec.rb @@ -0,0 +1,24 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/ecore/ecore_input' +# +describe Efl::EcoreInput do + # + before(:all) do + EcoreInput = Efl::EcoreInput + end + # + it "should init" do + EcoreInput.init.should eql 1 + EcoreInput.init.should eql 2 + EcoreInput.init.should eql 3 + end + # + it "should shutdown" do + EcoreInput.shutdown.should eql 2 + EcoreInput.shutdown.should eql 1 + EcoreInput.shutdown.should eql 0 + end + # +end |