summaryrefslogtreecommitdiffstats
path: root/spec/ecore_input_spec.rb
blob: 51f23a81532ffaf0328c7023a2e0ca8b7af36ee8 (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 == 1
        EcoreInput.init.should == 2
        EcoreInput.init.should == 3
    end
    #
    it "should shutdown" do
        EcoreInput.shutdown.should == 2
        EcoreInput.shutdown.should == 1
        EcoreInput.shutdown.should == 0
    end
    #
end