Hey ari. How's life? Finally made the shift to jruby. Are the tests in midi-jruby known to pass?
jruby -v
jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-19 00c8c98) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_31) [darwin-x86_64-java]
uname -a
Darwin Michaels-MacBook-Air.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
Running tests:
sending: [240, 65, 16, 66, 18, 64, 0, 127, 0, 65, 247]
Esending: [240, 65, 16, 66, 18, 64, 0, 127, 0, 65, 247]
Esending: "F04110421240007F0041F7"
E
Finished tests in 6.061000s, 0.4950 tests/s, 0.0000 assertions/s.
-
Error:
test_input_buffer(InputBufferTest):
RangeError: too big for byte: 240
org/jruby/java/addons/KernelJavaAddons.java:68:in to_java' /Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/output.rb:34:in
puts_bytes'
/Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/output.rb:45:in puts' /Users/mgarriss/develop/midi-jruby/test/test_input_buffer.rb:23:in
test_input_buffer'
org/jruby/RubyArray.java:1611:in each' /Users/mgarriss/develop/midi-jruby/test/test_input_buffer.rb:19:in
test_input_buffer'
org/jruby/RubyProc.java:257:in call' /Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/input.rb:105:in
enable'
/Users/mgarriss/develop/midi-jruby/test/test_input_buffer.rb:17:in test_input_buffer' org/jruby/RubyProc.java:257:in
call'
/Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/output.rb:58:in enable' /Users/mgarriss/develop/midi-jruby/test/test_input_buffer.rb:16:in
test_input_buffer'
org/jruby/RubyBasicObject.java:1786:in `send'
-
Error:
test_full_io(IoTest):
RangeError: too big for byte: 240
org/jruby/java/addons/KernelJavaAddons.java:68:in to_java' /Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/output.rb:34:in
puts_bytes'
/Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/output.rb:45:in puts' /Users/mgarriss/develop/midi-jruby/test/test_io.rb:25:in
test_full_io'
org/jruby/RubyArray.java:1611:in each' /Users/mgarriss/develop/midi-jruby/test/test_io.rb:21:in
test_full_io'
org/jruby/RubyProc.java:257:in call' /Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/input.rb:105:in
enable'
/Users/mgarriss/develop/midi-jruby/test/test_io.rb:19:in test_full_io' org/jruby/RubyProc.java:257:in
call'
/Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/output.rb:58:in enable' /Users/mgarriss/develop/midi-jruby/test/test_io.rb:18:in
test_full_io'
org/jruby/RubyBasicObject.java:1786:in `send'
-
Error:
test_full_io_bytestr(IoTest):
RangeError: too big for byte: 240
org/jruby/java/addons/KernelJavaAddons.java:68:in to_java' /Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/output.rb:34:in
puts_bytes'
/Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/output.rb:25:in puts_s' /Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/output.rb:47:in
puts'
/Users/mgarriss/develop/midi-jruby/test/test_io.rb:62:in test_full_io_bytestr' org/jruby/RubyArray.java:1611:in
each'
/Users/mgarriss/develop/midi-jruby/test/test_io.rb:58:in test_full_io_bytestr' org/jruby/RubyProc.java:257:in
call'
/Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/input.rb:105:in enable' /Users/mgarriss/develop/midi-jruby/test/test_io.rb:56:in
test_full_io_bytestr'
org/jruby/RubyProc.java:257:in call' /Users/mgarriss/develop/midi-jruby/test/../lib/midi-jruby/output.rb:58:in
enable'
/Users/mgarriss/develop/midi-jruby/test/test_io.rb:55:in test_full_io_bytestr' org/jruby/RubyBasicObject.java:1786:in
send'
3 tests, 0 assertions, 0 failures, 3 errors, 0 skips
rake aborted!
Command failed with status (3): [/usr/local/jruby/bin/jruby -I"lib:test" -I...]
Tasks: TOP => test
(See full trace by running task with --trace)