Sha256: cfc48440643b4c7760ef1ceb1542b2641bf25780dd513774aa8efbb154538c27

Contents?: true

Size: 430 Bytes

Versions: 18

Compression:

Stored size: 430 Bytes

Contents

#!/usr/local/env ruby -Ku
# encoding: utf-8

begin
  require 'rjb'
rescue LoadError 
  require 'rubygems' 
  require 'rjb'
end
require 'test/unit'

class JarTest < Test::Unit::TestCase
  include Rjb
  
  def setup
    Rjb::load()
  end
  
  def test_depends
    add_jar(File.expand_path('./jartest2.jar'))    
    add_jar(File.expand_path('./jartest.jar'))
    assert Rjb::import('jp.co.infoseek.hp.arton.rjb.JarTest2')
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rjb-1.7.3 test/jartest.rb
rjb-1.7.1 test/jartest.rb
rjb-1.7.0 test/jartest.rb
rjb-1.6.9 test/jartest.rb
rjb-1.6.8 test/jartest.rb
rjb-1.6.7 test/jartest.rb
rjb-1.6.6 test/jartest.rb
rjb-1.6.5 test/jartest.rb
rjb-1.6.4 test/jartest.rb
rjb-1.6.3 test/jartest.rb
rjb-1.6.2 test/jartest.rb
rjb-1.6.1 test/jartest.rb
rjb-1.6.0 test/jartest.rb
rjb-1.5.9 test/jartest.rb
rjb-1.5.8 test/jartest.rb
rjb-1.5.7 test/jartest.rb
rjb-1.5.6 test/jartest.rb
rjb-1.5.5 test/jartest.rb