summaryrefslogtreecommitdiffstats
path: root/spec/ecore/ecore_evas_spec.rb
blob: c380613695f213dd0258f12717072567ac6ada65 (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_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