summaryrefslogtreecommitdiffstats
path: root/spec/ecore
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-28 17:02:02 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-28 17:02:02 +0200
commitdffbf7522488feb15384649c41143bd866184cb4 (patch)
tree932971c0eb3cb1370b7149380c50411f8ef6b369 /spec/ecore
parentaa7ddc693a3bf6fed5c346f83b3aa7791ba83a8a (diff)
downloadffi-efl-dffbf7522488feb15384649c41143bd866184cb4.zip
ffi-efl-dffbf7522488feb15384649c41143bd866184cb4.tar.gz
fic efl/ffi/ecore_evas generation + minimal specs
Diffstat (limited to 'spec/ecore')
-rw-r--r--spec/ecore/ecore_evas_spec.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/ecore/ecore_evas_spec.rb b/spec/ecore/ecore_evas_spec.rb
new file mode 100644
index 0000000..c380613
--- /dev/null
+++ b/spec/ecore/ecore_evas_spec.rb
@@ -0,0 +1,24 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/ecore/ecore_evas'
+#
+describe Efl::EcoreEvas do
+ #
+ before(:all) do
+ EcoreEvas = Efl::EcoreEvas
+ end
+ #
+ it "should init" do
+ EcoreEvas.init.should eql 1
+ EcoreEvas.init.should eql 2
+ EcoreEvas.init.should eql 3
+ end
+ #
+ it "should shutdown" do
+ EcoreEvas.shutdown.should eql 2
+ EcoreEvas.shutdown.should eql 1
+ EcoreEvas.shutdown.should eql 0
+ end
+ #
+end