Sha256: bc856933c19d625218d93a36d0847e1080ee550321bea24b858bc15e0c1f26fe

Contents?: true

Size: 622 Bytes

Versions: 12

Compression:

Stored size: 622 Bytes

Contents

#!/usr/bin/env ruby

require 'TestSetup'
require 'test/unit'
#require 'rubygems'
require 'ibruby'

include IBRuby

class ServiceManagerTest < Test::Unit::TestCase
   def setup
      puts "#{self.class.name} started." if TEST_LOGGING
   end
   
   def teardown
      puts "#{self.class.name} finished." if TEST_LOGGING
   end
   
   def test01
      sm = ServiceManager.new('localhost')
      assert(sm.connected? == false)

      assert(sm.connect(DB_USER_NAME, DB_PASSWORD) == sm)
      assert(sm.connected?)

      assert(sm.disconnect == sm)
      assert(sm.connected? == false)
   end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ibruby-0.5.5-mswin32 test/ServiceManagerTest.rb
ibruby-0.5.5-i686-darwin8.9.1 test/ServiceManagerTest.rb
ibruby-0.5.5-i586-linux test/ServiceManagerTest.rb
ibruby-0.5.4-mswin32 test/ServiceManagerTest.rb
ibruby-0.5.4-i586-linux test/ServiceManagerTest.rb
ibruby-0.5.3-mswin32 test/ServiceManagerTest.rb
ibruby-0.5.3-i586-linux test/ServiceManagerTest.rb
ibruby-0.5.2-mswin32 test/ServiceManagerTest.rb
ibruby-0.5.2-i586-linux test/ServiceManagerTest.rb
ibruby-0.5.1-mswin32 test/ServiceManagerTest.rb
ibruby-0.5.1-i586-linux test/ServiceManagerTest.rb
ibruby-0.5.0-i586-linux test/ServiceManagerTest.rb