test/openssl/test_cipher.rb in jruby-openssl-0.2.3 vs test/openssl/test_cipher.rb in jruby-openssl-0.3

- old
+ new

@@ -1,4 +1,11 @@ +if defined?(JRUBY_VERSION) + require "java" + base = File.join(File.dirname(__FILE__), '..', '..') + $CLASSPATH << File.join(base, 'pkg', 'classes') + $CLASSPATH << File.join(base, 'lib', 'bcprov-jdk14-139.jar') +end + begin require "openssl" rescue LoadError end require "test/unit"