class TestMinitestGuard

Public Instance Methods

test_jruby_eh() click to toggle source
# File minitest-5.13.0/test/minitest/test_minitest_test.rb, line 921
def test_jruby_eh
  assert self.class.jruby? "java"
  assert self.jruby? "java"
end
test_maglev_eh() click to toggle source
# File minitest-5.13.0/test/minitest/test_minitest_test.rb, line 935
def test_maglev_eh
  assert_output "", /DEPRECATED/ do
    assert self.class.maglev? "maglev"
  end
  assert_output "", /DEPRECATED/ do
    assert self.maglev? "maglev"
  end
end
test_mri_eh() click to toggle source
# File minitest-5.13.0/test/minitest/test_minitest_test.rb, line 916
def test_mri_eh
  assert self.class.mri? "ruby blah"
  assert self.mri? "ruby blah"
end
test_osx_eh() click to toggle source
# File minitest-5.13.0/test/minitest/test_minitest_test.rb, line 944
def test_osx_eh
  assert self.class.osx? "darwin"
  assert self.osx? "darwin"
end
test_rubinius_eh() click to toggle source
# File minitest-5.13.0/test/minitest/test_minitest_test.rb, line 926
def test_rubinius_eh
  assert_output "", /DEPRECATED/ do
    assert self.class.rubinius? "rbx"
  end
  assert_output "", /DEPRECATED/ do
    assert self.rubinius? "rbx"
  end
end
test_windows_eh() click to toggle source
# File minitest-5.13.0/test/minitest/test_minitest_test.rb, line 949
def test_windows_eh
  assert self.class.windows? "mswin"
  assert self.windows? "mswin"
end