summaryrefslogtreecommitdiffstats
path: root/spec/ecore_input_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ecore_input_spec.rb')
-rw-r--r--spec/ecore_input_spec.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/ecore_input_spec.rb b/spec/ecore_input_spec.rb
new file mode 100644
index 0000000..095d11a
--- /dev/null
+++ b/spec/ecore_input_spec.rb
@@ -0,0 +1,24 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/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