Sha256: 8acef3ff1e11b9d0f104bec10d466d4a9faa828733aa0cf7e8f8e13589ff7925

Contents?: true

Size: 625 Bytes

Versions: 13

Compression:

Stored size: 625 Bytes

Contents

#!/usr/bin/env ruby

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

include FireRuby

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

13 entries across 13 versions & 2 rubygems

Version Path
rubyfb-0.5.4-x86-mswin32-60 test/ServiceManagerTest.rb
rubyfb-0.5.4-x86-linux test/ServiceManagerTest.rb
rubyfb-0.5.4 test/ServiceManagerTest.rb
rubyfb-0.5.3-x86-mswin32-60 test/ServiceManagerTest.rb
rubyfb-0.5.3-x86-linux test/ServiceManagerTest.rb
rubyfb-0.5.3 test/ServiceManagerTest.rb
rubyfb-0.5.2-x86-mswin32-60 test/ServiceManagerTest.rb
rubyfb-0.5.2-x86-linux test/ServiceManagerTest.rb
rubyfb-0.5.2 test/ServiceManagerTest.rb
fireruby-0.4.3-mswin32 test/ServiceManagerTest.rb
fireruby-0.4.3-i586-linux test/ServiceManagerTest.rb
fireruby-0.4.2-mswin32 test/ServiceManagerTest.rb
fireruby-0.4.2-i586-linux test/ServiceManagerTest.rb