summaryrefslogtreecommitdiffstats
path: root/spec/ecore/ecore_input_spec.rb
blob: 041f42267a282c0cb8b6d9cfd664c8b8d6d9258a (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/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