summaryrefslogtreecommitdiffstats
path: root/spec/ecore_input_spec.rb
blob: 095d11aedf21de926f1c2c5b3928f8bbcc8b99ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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