Sha256: 69a1c9e1302d6db70eefafa2743e3e882ec31d033ba0f92e704719af7e793c53

Contents?: true

Size: 433 Bytes

Versions: 9

Compression:

Stored size: 433 Bytes

Contents

#!/usr/bin/env ruby

require 'TestSetup'
require 'test/unit'
require 'rubygems'
require_gem 'fireruby'

include FireRuby

class ServiceManagerTest < Test::Unit::TestCase
   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

9 entries across 9 versions & 1 rubygems

Version Path
fireruby-0.3.2-powerpc-darwin test/ServiceManagerTest.rb
fireruby-0.3.2-mswin32 test/ServiceManagerTest.rb
fireruby-0.3.2-i586-linux test/ServiceManagerTest.rb
fireruby-0.3.1-powerpc-darwin test/ServiceManagerTest.rb
fireruby-0.3.1-mswin32 test/ServiceManagerTest.rb
fireruby-0.3.1-i586-linux test/ServiceManagerTest.rb
fireruby-0.3.0-powerpc-darwin test/ServiceManagerTest.rb
fireruby-0.3.0-mswin32 test/ServiceManagerTest.rb
fireruby-0.3.0-i586-linux test/ServiceManagerTest.rb