Sha256: 15f19ee8854311fba8a5c0886a4de55cd73c2249c7ac20d5732282f155ef700f
Contents?: true
Size: 656 Bytes
Versions: 23
Compression:
Stored size: 656 Bytes
Contents
require 'test/unit' class IBM_DBAdapterTest < Test::Unit::TestCase require 'pathname' # Fixture def driver_lib_path drv_path = Pathname.new(File.dirname(__FILE__)).parent + 'lib' drv_path += (RUBY_PLATFORM =~ /mswin32/) ? 'mswin32' : 'linux32' drv_path += 'ibm_db.so' end # Check IBM_DB Ruby driver for this platform: #{RUBY_PLATFORM} def test_driver_existence driver = driver_lib_path assert driver.file? end # Attempt loading IBM_DB Ruby driver for this platform: #{RUBY_PLATFORM} def test_driver_loading driver = driver_lib_path require "#{driver.to_s}" assert true end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
ibm_db-2.6.0-x86-mingw32 | test/ibm_db_test.rb |
ibm_db-2.6.0-x86_64-darwin-14 | test/ibm_db_test.rb |
ibm_db-2.6.0 | test/ibm_db_test.rb |