summaryrefslogtreecommitdiffstats
path: root/spec/ecore_spec.rb
blob: a2ae2fd8b52c28a049b6bd24a83d1df408525837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'efl/ecore'
#
describe EFL::ECORE do
    #
    include EFL
    #
    it "should init" do
        ECORE.init.should eql 1
        ECORE.init.should eql 2
        ECORE.init.should eql 3
    end
    #
    it "should shutdown" do
        ECORE.shutdown.should eql 2
        ECORE.shutdown.should eql 1
        ECORE.shutdown.should eql 0
    end
    #
end