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