class RiceTest
Constants
- EXEEXT
- RUBY
- VERBOSE
TODO: probably a better way to find this out…
Public Instance Methods
run_external_test(executable)
click to toggle source
# File test/test_rice.rb, line 29 def run_external_test(executable) if VERBOSE then system(executable) else result = %x`#{executable}` if $? != 0 then puts result end end raise "Error: $?" if $? != 0 end
test_multiple_extensions()
click to toggle source
# File test/test_rice.rb, line 17 def test_multiple_extensions run_external_test("#{RUBY} test_multiple_extensions.rb") end
test_multiple_extensions_same_class()
click to toggle source
# File test/test_rice.rb, line 25 def test_multiple_extensions_same_class run_external_test("#{RUBY} test_multiple_extensions_same_class.rb") end
test_multiple_extensions_with_inheritance()
click to toggle source
# File test/test_rice.rb, line 21 def test_multiple_extensions_with_inheritance run_external_test("#{RUBY} test_multiple_extensions_with_inheritance.rb") end
test_unittest()
click to toggle source
# File test/test_rice.rb, line 13 def test_unittest run_external_test("./unittest#{EXEEXT}") end