blob: 29698e9a7ff9ffd55dc360258d7a4a1396c658c0 (
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
25
26
27
28
|
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'efl/ecore_input'
#
describe Efl::EcoreInput do
#
before(:all) do
EcoreInput = Efl::EcoreInput
@init = EcoreInput.init
end
after(:all) do
EcoreInput.shutdown
end
#
it "should init" do
EcoreInput.init.should == @init+1
EcoreInput.init.should == @init+2
EcoreInput.init.should == @init+3
end
#
it "should shutdown" do
EcoreInput.shutdown.should == @init+2
EcoreInput.shutdown.should == @init+1
EcoreInput.shutdown.should == @init
end
#
end
|